Find a date same row in multiple coulmns

lbrut

New Member
Joined
Apr 10, 2016
Messages
2
Thought I was a reasonable user but have read lots of posts but cant work out this one which I am guessing is going to be embarrassingly simple.

Could someone please advise how to search along same row but over multiple columns to find a date. There will only ever be one date across the columns - the rest of the cells will have the word "false" in them.

need search result copied here false false false 01/01/2016 false false

Many thanks - Roger
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Assuming you paste the the formula in Cell A1 and your Data starts from B1 to Z1 you may paste the below formula in Cell A1:

Note: The below formula will work in Excel 2010 or later

Code:
=INDEX(B1:AZ1,AGGREGATE(14,6,--ISNUMBER(B1:AZ1)*(COLUMN(B1:AZ1)-COLUMN(A1)),1))


For Previous versions use this formula

Code:
=INDEX(B1:AZ1,LARGE(--ISNUMBER(B1:AZ1)*(COLUMN(B1:AZ1)-COLUMN(A1)),1))

and also you need to use Ctrl + shift + Enter for the second formula only enter won't do the trick
 
Last edited:
Upvote 0
You can try this one as well.

Code:
=INDEX($B$1:$AZ$1,MATCH(1,ISNUMBER(B1:AZ1)*1,0))

with Ctrl+Shft+Enter
 
Upvote 0
Thought I was a reasonable user but have read lots of posts but cant work out this one which I am guessing is going to be embarrassingly simple.

Could someone please advise how to search along same row but over multiple columns to find a date. There will only ever be one date across the columns - the rest of the cells will have the word "false" in them.

need search result copied here false false false 01/01/2016 false false

Many thanks - Roger

Many thanks to all - speedy response very much appreciated - perfect - will now teach myself how each formula works
Roger
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,915
Members
452,366
Latest member
TePunaBloke

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