Using an IF statement with the FREQUENCY function

Scott Fergus

New Member
Joined
Apr 22, 2009
Messages
24
Hi,
Slight problem in trying to figure out if I can use an IF statement in a FREQUENCY array formula, something along the lines of (and I know this doesn't work :smile: ):

{=if(c1:c100>0),frequency(b1:b100,a1:a10)}

I have no idea if this is even possible. Can't find anything online anywhere.

Any guidance is appreciated.
Thanks
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
So, you want to calculate the frequency of B1:B100 (which have corresponding C > 0 )in A1:A10 right ?
 
Upvote 0
Try this :
=FREQUENCY(IF(C1:C100>0,B1:B100),A1:A10)
Ctrl Shift Enter
But this will return an array, you already know that, right?
 
Upvote 0

Forum statistics

Threads
1,224,167
Messages
6,176,852
Members
452,749
Latest member
Ben_Toye

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