New to countif & struggling

AllyOops

New Member
Joined
Feb 25, 2009
Messages
30
Hi I got some great help on countif a few weeks back! I tried to build on that advice and I am stuck. I would like to better understand why this isnt working:

=IF(AG3="Modify",COUNTIF($AA$2:$AA$100000,AA2),"")>1,"Escalate","SomethingElse")

so I tried to simplify with this

=COUNTIF(($AA$2:$AA$100000,AA2)>1,"Escalate","SomethingElse")

And I am still getting an error....I am missing something here and would like to better understand.

I am trying to look at AG=Modify only and return the word escalate if I have multiple hits in column AA!

Thanks!
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Try:
=IF(AND(AG3="Modify",COUNTIF($AA$2:$AA$100000,AA2)>1),"Escalate","SomethingElse")
or
=IF(AG3="Modify",IF(COUNTIF($AA$2:$AA$100000,AA2)>1,"Escalate","SomethingElse"))
 
Upvote 0
Hi,

Can anyone help me on counting this?: I want to count as given below the value should be displayed only once rest should show 0.

Location</SPAN>Count</SPAN>
Adoni - Spoke</SPAN>3</SPAN>
Adoni - Spoke</SPAN>0</SPAN>
Adoni - Spoke</SPAN>0</SPAN>
Agra - Sanjay Place</SPAN>4</SPAN>
Agra - Sanjay Place</SPAN>0</SPAN>
Agra - Sanjay Place</SPAN>0</SPAN>
Agra - Sanjay Place</SPAN>0</SPAN>
Agra - Sanjay Place</SPAN>0</SPAN>
Agra - Sanjay Place



Many thanks in advace....

Arvind Kushik</SPAN>
0</SPAN>

<TBODY>
</TBODY><COLGROUP><COL><COL></COLGROUP>
 
Upvote 0
ADVERTISEMENT
Hi Robert,

Please suggest me on this...Also Last two values pasted by mistake (these are only 4 times.."Agra - Sanjay Place"...

Thanks,
Arvnd
 
Upvote 0
ADVERTISEMENT
Hi Arvind,

I think the correct value for Agra - Sanjay Place is 6, not 4

If so, try this in B2
=COUNTIF($A$2:$A$10,A2)*(COUNTIF($A$2:$A2,A2)=1)
copy down

M.
 
Upvote 0
Excel 2010
AB
1Location Count
2Adoni - Spoke 3
3Adoni - Spoke 0
4Adoni - Spoke 0
5Agra - Sanjay Place6
6Agra - Sanjay Place0
7Agra - Sanjay Place0
8Agra - Sanjay Place0
9Agra - Sanjay Place0
10Agra - Sanjay Place0

<colgroup><col style="width: 25pxpx"><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
B2=IF(COUNTIF($A$2:A2,A2)=1,COUNTIF($A$2:$A$10,A2),0)

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,196,409
Messages
6,015,104
Members
441,870
Latest member
kojack

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top