Trouble with Countif using MAX

jmkelly1988

New Member
Joined
Dec 7, 2016
Messages
19
Code:
=IF(SUMPRODUCT(COUNTIF(F2:F7,"*"&'GraphData'!BP2:DR2&"*"))>0,COUNTIF(MAX(IF(H2:H7=H2,I2:I7)),">115"),0)

The above code is what I'm having problems with. I have blank cells including:

H3:H7, I6,I7

Any help greatly appreciated.
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Code:
=IF(SUMPRODUCT(COUNTIF(F2:F7,"*"&'GraphData'!BP2:DR2&"*"))>0,COUNTIF([COLOR=#ff0000]MAX(IF(H2:H7=H2,I2:I7))[/COLOR],">115"),0)

The above code is what I'm having problems with. I have blank cells including:

H3:H7, I6,I7

Any help greatly appreciated.
1) What are trying to achieve?
2) MAX(IF(H2:H7=H2,I2:I7)) is number, not a range or array.
 
Upvote 0
Basically want to use the countif(Max(I2:I7)"<115"

But like you said its not a range once you use the Max function. So I don't know how to right it where it will work.
 
Upvote 0

Forum statistics

Threads
1,216,100
Messages
6,128,830
Members
449,471
Latest member
lachbee

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