Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default "If, Then" Formulas for multiple cells

I am trying to compose a formula that will look at a series of cells. If the
first is blank (or zero), then it goes to the next. If the next is blank, it
goes to the third. So, if A3 has a value, use it, if not, go to A2. If A2
has a value and not A3, use it and if not, go to and use whatever is in cell
A1.

Someone please help. Thanks to all!!!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default "If, Then" Formulas for multiple cells

What if A1 is blank or 0?

=IF(A3<0,A3,IF(A2<0,A2,IF(A1<0,A1,"")))

Biff

"readystate" wrote in message
...
I am trying to compose a formula that will look at a series of cells. If
the
first is blank (or zero), then it goes to the next. If the next is blank,
it
goes to the third. So, if A3 has a value, use it, if not, go to A2. If
A2
has a value and not A3, use it and if not, go to and use whatever is in
cell
A1.

Someone please help. Thanks to all!!!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 37
Default "If, Then" Formulas for multiple cells

try:
=IF(ISNUMBER(A3),A3,IF(ISNUMBER(A2),A2,IF(ISNUMBER (A1),A1,A3)))

--
Regards,

Sebation.G
"readystate" ...
I am trying to compose a formula that will look at a series of cells. If
the
first is blank (or zero), then it goes to the next. If the next is blank,
it
goes to the third. So, if A3 has a value, use it, if not, go to A2. If
A2
has a value and not A3, use it and if not, go to and use whatever is in
cell
A1.

Someone please help. Thanks to all!!!



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default "If, Then" Formulas for multiple cells

=INDEX(A1:A3,MAX((A1:A3<0)*ROW(A1:A3)))

ctrl+shift+enter, not just enter


"readystate" wrote:

I am trying to compose a formula that will look at a series of cells. If the
first is blank (or zero), then it goes to the next. If the next is blank, it
goes to the third. So, if A3 has a value, use it, if not, go to A2. If A2
has a value and not A3, use it and if not, go to and use whatever is in cell
A1.

Someone please help. Thanks to all!!!

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
Combine logical formulas "if", "and", "or" pscu Excel Discussion (Misc queries) 5 November 2nd 06 07:43 PM
Combining formulas, "and" & "or" to verify content of multiple cel Shu of AZ Excel Discussion (Misc queries) 15 October 15th 06 11:22 PM
"Control" plus "click" doesn't allow me to select multiple cells Ken Cooke New Users to Excel 0 September 25th 06 04:46 PM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
freeze window creates multiple "views" suffixed with ":n" dgaex001 Excel Discussion (Misc queries) 5 March 22nd 06 05:28 PM


All times are GMT +1. The time now is 09:55 AM.

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

About Us

"It's about Microsoft Excel"