#NAME Error on a MAX with multiple variables

suds4333

New Member
Joined
Apr 30, 2014
Messages
2
I have tried 2 different ways to find the Max value in a column based on 2 variables. You can see in example 2, I even tried to hard code the variable name instead of using the cell reference just to make sure it was not an issue with my validate fields in A@ and G2.

=MAX((Data!$U$2:$U$130599=$G2)*(Data!$E$2:$E$130599=$A$2),Data!$L$2:$L$130599)

=MAX(IF((Data!$E$2:$E$130599="Atlanta")*(Data!$U$2:$U$130599="All Towing & Recovery"),Data!$L$2:$L$130599))

Thanks for your help

Greg
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Hi Greg
Welcome to the board

Did you check that there is no Name error values in columns E,U,L?
 
Upvote 0
That was the problem! someone entered in column E a name that started with something excel thought was a formula

Thanks!

Hi Greg
Welcome to the board

Did you check that there is no Name error values in columns E,U,L?
 
Upvote 0

Forum statistics

Threads
1,223,275
Messages
6,171,127
Members
452,381
Latest member
Nova88

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