Max Question

MrData

Active Member
Joined
May 4, 2003
Messages
324
I have two columns of data. The column B contains the day of the week, whilst column E has a value.

I'm trying to get the Max value for a specific day (Tue) the day can appear any number of times.

Could someone oblige woth a formula?
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
I have two columns of data. The column B contains the day of the week, whilst column E has a value.

I'm trying to get the Max value for a specific day (Tue) the day can appear any number of times.

Could someone oblige woth a formula?

If month and year are of no interest...

And if days in column B are given just as text...

Control+shift+enter, not just enter:

=MAX(IF($B$2:$B$100="Tue",$E$2:$E$100))

If column B contains true dates...

Control+shift+enter, not just enter:

=MAX(IF(WEEKDAY($B$2:$B$100)=3,$E$2:$E$100))
 
Upvote 0

Forum statistics

Threads
1,191,287
Messages
5,985,760
Members
439,981
Latest member
ofori francis

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
Top