If Cell Blank don't Count but if array >= Cell then count

Barbz

New Member
Joined
Jan 14, 2019
Messages
4
Hi All, I currently have a top X formula going on.
I142 is whatever number I want to put in, for example 10.
I143: =IFERROR(LARGE($N$2:$N$126, $I142),"0")
I144: =IFERROR(COUNTIF($N$2:$N126,">="&$I143)," ")

I would like to change I144 so that when it looks at I143 and it is zero (based on the formula in 142) then it either does not perform the count or displays as blank or zero (if that is easier).

Essentially, if we don't have a top x and i142 is blank or zero (again I'm good with either) then I don't want to see anything in I144.

I hope that makes sense, and I really appreciate the help.
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
A couple things I would like to point out. You shouldn't put the 0 in quotes, that makes it text. You should also return "" not " " to return blank, otherwise it returns a space.

I143: =IFERROR(LARGE($N$2:$N$126,$I142),0)
I144: =IF(I143=0,"",COUNTIF($N2:$N126,">="&$I143))
 
Upvote 0
Thanks so much Scott. I'm obviously a bit of a beginner when it comes to properly understanding formulas. I really appreciate the formulas and the info. It helps a great deal. Thanks again!
 
Upvote 0

Forum statistics

Threads
1,215,467
Messages
6,124,984
Members
449,201
Latest member
Lunzwe73

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