Search Row For Date And Give Header Name

benntw

Board Regular
Joined
Feb 17, 2014
Messages
222
Office Version
  1. 365
Platform
  1. Windows
I have a table that we have 15 different columns that track completions dates. What I am looking for is a formula that in each row will search the range from F to W and when it finds the latest date populated to give the header name. My rows start on 3 and the Header is row 2. The further away from column F is the closer you get to the finish of the process. Column W is the last column for the final update. Is there a formula that would look for this ?
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
trythis:
Excel Formula:
=INDEX(F$2:W$2,1,MATCH(MAX(F3:W3),F3:W3,0))
 
Upvote 0
trythis:
Excel Formula:
=INDEX(F$2:W$2,1,MATCH(MAX(F3:W3),F3:W3,0))
Thank you. It works except if there is a column with the same date it will take the first column the same date is in. Is there a way to choose the furthest right column that has the same date ?
 
Upvote 0
How about
Excel Formula:
=INDEX(F$2:W$2,1,XMATCH(MAX(F3:W3),F3:W3,0,-1))
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,924
Messages
6,122,294
Members
449,077
Latest member
Rkmenon

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