Count or Frequency formula needed

Optimus_Primed036

New Member
Joined
Sep 20, 2012
Messages
9
Hi all,

Wondering if anyone can help. I want to count how many times an event occurs. Each event has an individual ID but it can appear many times.
Once established i only want to include those with "IP" in the same row.

For example:

A2=100
A3=100
A4=200

B2=IP
B3=IP
B4=PE

The answer to this should be "1" as there is only one ID (100) with "IP" in same row even though it appears twice.

Hope that made sense.
 
Thanks to all who responded - Aladin your formula works fine. I must have a really slow computer because it was taking around 5 minutes to process the formula, and i thought it wasn't working.

Fazza thanks for the heads up on that approach - food for thought...
 
Upvote 0

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Yes, on a large data table the formula approach may take five minutes (and bog down the whole spreadsheet every time calculations are done unless you used VBA to only update that formula as required. But it would still take minutes any time it was done): the query approach should be a fraction of a second.
 
Upvote 0
Thanks to all who responded - Aladin your formula works fine. I must have a really slow computer because it was taking around 5 minutes to process the formula, and i thought it wasn't working.

Fazza thanks for the heads up on that approach - food for thought...

The range to process is too large. Hence the time it needs.
 
Upvote 0

Forum statistics

Threads
1,214,644
Messages
6,120,709
Members
448,983
Latest member
Joaquim_Baptista

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