Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Formula help for choosing from a set of values

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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default Formula help for choosing from a set of values

If data in columns A, B, and C then

=if(isblank(c1)=false,c1,if(isblank(b1)=false,b1,a 1))

Mike Anas
http://mikeanas.googlepages.com/
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Formula help for choosing from a set of values

=MAX(INDEX((A1:C1<"")*COLUMN(A1:C1),0))


"ccclwilson" wrote:

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

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Formula help for choosing from a set of values

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



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Formula help for choosing from a set of values

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






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
choosing off various lists sa Excel Worksheet Functions 6 July 11th 06 12:25 PM
Excel formula(?) for choosing only 1 cell.. cjtj4700 Excel Discussion (Misc queries) 1 November 24th 05 10:36 AM
Choosing a formula to used based on a codition fulfilled The Big Dog Excel Discussion (Misc queries) 1 October 12th 05 04:16 PM
Choosing a value from a row with more than one condition Yossi Excel Discussion (Misc queries) 4 April 19th 05 12:27 PM
Choosing a date Dawn Excel Worksheet Functions 4 February 28th 05 10:46 PM


All times are GMT +1. The time now is 08:42 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"