# Max Question

#### MrData

##### Active Member
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.

#### njimack

##### Well-known Member
=MAX(IF(B1:B6="Tue",E1:E6))

Enter with Ctrl+Shift+Enter

##### MrExcel MVP
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))

Replies
1
Views
130
Replies
10
Views
263
Replies
5
Views
157
Replies
3
Views
402
Replies
22
Views
466

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.

### Which adblocker are you using?

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

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