Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 45
Default Ignoring Cells through IF Functions

In cell A1 i have 200, in cell A2 I have 250

In cell A3 I have an if function =if(a1<0,A1,"")&if(A2<0,A2,"")

My question is, can I make a formula to say that if A2 is 0 then it would
ignore cell A1... So if A2 is blank, then my output would be blank???
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 192
Default Ignoring Cells through IF Functions

should work:

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


"Hamed parhizkar" wrote:

In cell A1 i have 200, in cell A2 I have 250

In cell A3 I have an if function =if(a1<0,A1,"")&if(A2<0,A2,"")

My question is, can I make a formula to say that if A2 is 0 then it would
ignore cell A1... So if A2 is blank, then my output would be blank???

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
Sum ignoring cells with error JRD Excel Worksheet Functions 1 December 12th 07 05:27 PM
Ignoring blank cells Neil Excel Discussion (Misc queries) 3 September 14th 07 04:07 PM
Statistical Functions ignoring errors excelBRISKbaby Excel Discussion (Misc queries) 1 June 7th 07 08:35 PM
Ignoring Formulas within cells jimswinder Excel Worksheet Functions 8 July 21st 06 02:52 PM
Ignoring cells with no value louis2112[_4_] Excel Programming 3 April 23rd 04 11:34 PM


All times are GMT +1. The time now is 06:50 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"