Max with criteria

toony

Board Regular
Joined
Mar 20, 2014
Messages
91
Office Version
  1. 365
Hi. I have the below issue.

I have the below formula that works;
=MAX(IF(AD:AD="office supplies",AP:AP))

Then I have this othee formula which gives me 0 for the Furniture criteria......but the highest is not 0....
It's just the same formula but different criteria. I checked the spellling and all but can't just see why it woul give me 0 value. Any ideas?
=MAX(IF(AD:AD="Furniture",AP:AP))
 
How do I verify that if gives 7? Not sure how or what you mean sorry. I did verify one of the Furniture criteria cells and it gave TRUE.
 
Upvote 0

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
You said that the 7 was wrong and should be 3. I'm just asking how you actually verified that? I can't see how that formula would come up with 7 if there isn't a 7 for furniture.
 
Upvote 0
Hi Rory. Actually you are correct really apologies. The max value for the Furniture criteria is actually 7 so that's correct.

The array formula =MAX(IF([Product Category]="Furniture",[Days to Ship using DATEDIF])) works brilliant :)

Thanks again to everybody you all are brilliant!
 
Upvote 0

Forum statistics

Threads
1,214,584
Messages
6,120,385
Members
448,956
Latest member
JPav

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