dear ramesh,this is because u are dragging the cell downward for using same
formula...
if u want to drag the cell downwards without changing the data range pls
make use of "$" sign eg- =COUNTIF(B$2:B$11,"F")
hope ur doubt is clear..
MANOJ N KARATE.
Sub Engineer (Roads) W.S.
Municipal Corporation of Greater Mumbai.
Mobile No: - 0993096220


On Sun, Jun 7, 2009 at 5:24 PM, Ramesh Katta <kr.sap...@gmail.com> wrote:

> Dear Members,
>
> My question seems to be very simple, please don't laugh at me.
>
> I have 2 columns that are A1 contains Names and B1 contains Sex of
> employee.  When finding no. of males and females using countif()
> function. When I copied the function I am getting range difference.
>
> For ex:
>
> =countif(a2:a10,"M") when I copied this range to below cell and
> changed criteria to "F" but it taking range from a3:a10.
>
> Please clarify this doubt.  This was asked in interview.
>
> I attached excel sheet with this mail.
>
> Thanks&Regards
> Ramesh
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
-------------------------------------------------------------------------------------
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com
-------------------------------------------------------------------------------------
-~----------~----~----~----~------~----~------~--~---

Reply via email to