Count if Results

Brew

Well-known Member
Joined
Sep 29, 2003
Messages
1,569
How do I count the number of time the record result is greater than 20 in the list t4:t1003?
 
Glenn, I Inserted the function and the formula and now my result is 1000, rather than 2. What do I do now?
 
Upvote 0

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Can you show the contents of, say, the first 4 cells, as they appear in the formula bar, of the range you are testing, please?
 
Upvote 0
My apologizes, the range is u4:u1003 and not in the T column.
Also, when I change the formula to =countformulaegt(U4:U1003,20)
the function code gave a result of 230, the desired result should be 5.
Below are the cell contents in the formula bar:

cell contents
u4==IF(T4="Y","x",IF((T4="N")*(T2="Y"),1,U2+1))
u5==IF(T5="Y","x",IF((T5="N")*(T4="Y"),1,U4+1))
u6==IF(T6="Y","x",IF((T6="N")*(T5="Y"),1,U5+1))
u7==IF(T7="Y","x",IF((T7="N")*(T6="Y"),1,U6+1))
 
Upvote 0
So, you are saying that only 5 of the formulae in the range U4:U1003 have results greater than 20?
 
Upvote 0
I will send you a Private Message with my email address on it, 'cos I can't think of a reason for why this wouldn't work. Send me the workbook, and I'll have a look and see what's going on.
 
Upvote 0

Forum statistics

Threads
1,214,957
Messages
6,122,472
Members
449,087
Latest member
RExcelSearch

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