Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 184
Default returning blank cell in an if statement

Example of what I am working with

=IF('[Scorecard test export.xls]Scorecard Final Query
Table'!$A$2="AEAL",'[Scorecard test export.xls]Scorecard Final Query
Table'!B52,"")

I want this formula to leave the cell blank if the condition is false. My
goal is to eliminate any zeros from the sheet?

can someone please enlighten?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 175
Default returning blank cell in an if statement

Try this

=IF('[Scorecard test export.xls]Scorecard Final Query
Table'!$A$2="AEAL",IF(OR('[Scorecard test export.xls]Scorecard Final Query
Table'!$B$52="",'[Scorecard test export.xls]Scorecard Final Query
Table'!$B$52=0),"",'[Scorecard test export.xls]Scorecard Final Query
Table'!$B$52),"")

I have included if cell B52 = 0, it will also return a blank
--
Hope this is helpful

Pls click the Yes button below if this post provide answer you have asked

I am an ordinary user trying to assist another

Thank You

cheers, francis



"Jeremy" wrote:

Example of what I am working with

=IF('[Scorecard test export.xls]Scorecard Final Query
Table'!$A$2="AEAL",'[Scorecard test export.xls]Scorecard Final Query
Table'!B52,"")

I want this formula to leave the cell blank if the condition is false. My
goal is to eliminate any zeros from the sheet?

can someone please enlighten?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 117
Default returning blank cell in an if statement

Try this:
=IF(EXACT('[Scorecard test export.xls]Scorecard Final Query
Table'!$A$2,"AEAL"),'[Scorecard test export.xls]Scorecard Final Query
Table'!B52,"")
The text is case sensitive and must match exactly.

If you want to use upper or lower case try:
=IF(CELL("CONTENTS",'[Scorecard test export.xls]Scorecard Final Query
Table'!$A$2)="AEAL"),'[Scorecard test export.xls]Scorecard Final Query
Table'!B52,"")


"Jeremy" wrote in message
...
Example of what I am working with

=IF('[Scorecard test export.xls]Scorecard Final Query
Table'!$A$2="AEAL",'[Scorecard test export.xls]Scorecard Final Query
Table'!B52,"")

I want this formula to leave the cell blank if the condition is false. My
goal is to eliminate any zeros from the sheet?

can someone please enlighten?



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
returning blank when reference cell is blank mslylan2u Excel Worksheet Functions 4 June 6th 08 09:09 PM
IF statement not returning a blank so a chart line won't gap mikekaf Charts and Charting in Excel 3 January 2nd 08 09:36 PM
"If" statement returning blank gives downstream formula errors. Johnboy Excel Discussion (Misc queries) 2 February 26th 07 05:26 PM
Returning Specific Cell Content using IF Statement weeclaire Excel Discussion (Misc queries) 0 February 17th 06 09:25 AM
returning blank cell sbigelow Excel Worksheet Functions 2 October 9th 05 03:53 PM


All times are GMT +1. The time now is 06:13 PM.

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"