Assistance with Array formula

dramos

New Member
Joined
Nov 29, 2005
Messages
3
Hello...I was wondering if someone could assist with what I think is an array formula. I would like to write a formula that returns the non-FALSE value from three columns. I've surmised that this should be done with an array formula and not an IF statement, but am not sure how to write it out. Help screens and various searches haven't produced much help. Any assistance would be greatly appreciated. Thank you!
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Absolutely, here you go:

Column A, row 2 = FALSE
Column B, row 2 = FALSE
Column C, row 2 = 2:00:01 (data is in time format)
Column D (where formula will go) = 2:00:01

So basically I'm trying to write a formula that will read columns A, B, and C and return the non-FALSE field.
 
Upvote 0
Try...

=INDEX(A2:C2,MATCH(TRUE,INDEX(ISNUMBER(A2:C2),0),0))

Note that if your range contains more than one Non-FALSE value, the formula will return the first occurrence.

Hope this helps!
 
Upvote 0
Perhaps you could use

=LOOKUP(9.99999999999999E+307,A2:C2)

although if there is more than one numeric value this will return the last
 
Upvote 0

Forum statistics

Threads
1,226,220
Messages
6,189,697
Members
453,565
Latest member
Mukundan

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