What is the best formula?

autotim

New Member
Joined
Jul 30, 2007
Messages
2
Rows 2-100 in Cols A to G contain numbers from 0-10. Row 1 in Cols A to G contains dates. I want a formula that looks along the row to see when any number last occured and then reports the date on which that number occured. Thanks in advance.
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.

mikerickson

MrExcel MVP
Joined
Jan 15, 2007
Messages
24,318
Assuming that today is in A1 and six days ago is in G1:

=MATCH(A2:G2,1,0) will return the most recent entry of 1 in row 2
 

autotim

New Member
Joined
Jul 30, 2007
Messages
2
01.01.07 08.01.07 13.01.07 27.01.07 03.02.07 Result
1 2 2 - - 13.0107

I want the formula to look in row 1 and determine that 13.01.07 was the last time a cell was filled and display that date in as the result.
 

Forum statistics

Threads
1,181,648
Messages
5,931,212
Members
436,784
Latest member
amuljono

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