View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default Formula help for choosing from a set of values

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"ccclwilson" wrote in message
...
Wonderful, it works. Thanks.

"T. Valko" wrote:

To return the *last numeric* value from a range:

=IF(COUNT(A1:C1),LOOKUP(1E100,A1:C1),"")

Copy down as needed.

--
Biff
Microsoft Excel MVP


"ccclwilson" wrote in message
...
I am looking for help for a formula that will look at a set of values in
three columns and return the value of the last cell with data. Example
below. Hope this is not too vague.

col1 col2 col3 Result
1 1
1 2 2
1 3 3

If col1=1, return 1
If col1=1 and col2=2, return 2
If col1=1, col2=0 and col3=3, return 3