Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 74
Default Cell empty if value is 0?????

I have the following formula in cell "F160"
=IF($C160,C160,0)

If I wish cell "F160" to be empty if cell "C160" = 0
How do add to the formula
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,069
Default Cell empty if value is 0?????

Try this in F160:

=IF(C160=0,"",C160)

Hope this helps,

Hutch

"hoyos" wrote:

I have the following formula in cell "F160"
=IF($C160,C160,0)

If I wish cell "F160" to be empty if cell "C160" = 0
How do add to the formula

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 55
Default Cell empty if value is 0?????

Try:
If($C160="0","",C160)

"hoyos" wrote:

I have the following formula in cell "F160"
=IF($C160,C160,0)

If I wish cell "F160" to be empty if cell "C160" = 0
How do add to the formula

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default Cell empty if value is 0?????

If you have a formula in F160 then it can't be empty (=ISBLANK(F160) returns
FALSE).

=IF(C160=0;"";C160) in F160 will display nothing.

Regards,
Stefi

€˛hoyos€¯ ezt Ć*rta:

I have the following formula in cell "F160"
=IF($C160,C160,0)

If I wish cell "F160" to be empty if cell "C160" = 0
How do add to the formula

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Cell empty if value is 0?????

Hi,
=if($c160=0,"",$c160)

"hoyos" wrote:

I have the following formula in cell "F160"
=IF($C160,C160,0)

If I wish cell "F160" to be empty if cell "C160" = 0
How do add to the formula



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Cell empty if value is 0?????

=IF($C160,C160,"")

--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"hoyos" wrote:

I have the following formula in cell "F160"
=IF($C160,C160,0)

If I wish cell "F160" to be empty if cell "C160" = 0
How do add to the formula

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 74
Default Cell empty if value is 0?????

Thank you all for replying. PhilosophersSage worked the best.

"Luke M" wrote:

=IF($C160,C160,"")

--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"hoyos" wrote:

I have the following formula in cell "F160"
=IF($C160,C160,0)

If I wish cell "F160" to be empty if cell "C160" = 0
How do add to the formula

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Cell empty if value is 0?????

I'd keep an eye out on that formula.


hoyos wrote:

Thank you all for replying. PhilosophersSage worked the best.

"Luke M" wrote:

=IF($C160,C160,"")

--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"hoyos" wrote:

I have the following formula in cell "F160"
=IF($C160,C160,0)

If I wish cell "F160" to be empty if cell "C160" = 0
How do add to the formula


--

Dave Peterson
  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Cell empty if value is 0?????

PhilosophersSage's formula will work if you are testing for the text string
"0".
Most other contributors to the thread assumed that by 0 you meant the number
0.
  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Cell empty if value is 0?????

F160 can never be empty (since it contains the formula). But you can make it
look blank.

=if($c160=0,"",c160)

or maybe...

=if($c160="","",c160)

Is there a reason you used that $ in one portion, but not the other???

hoyos wrote:

I have the following formula in cell "F160"
=IF($C160,C160,0)

If I wish cell "F160" to be empty if cell "C160" = 0
How do add to the formula


--

Dave Peterson


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
When is a cell empty and how do I empty it. C Brandt Excel Discussion (Misc queries) 5 August 13th 07 05:37 PM
find first empty cell in column and start transpose next row in that cell ali Excel Discussion (Misc queries) 6 July 21st 07 11:55 PM
format a cell with a formula so an empty reference cell shows blan M2 Excel Discussion (Misc queries) 3 November 7th 06 10:42 PM
Leaving an empty cell empty GRL Excel Discussion (Misc queries) 4 April 22nd 06 05:47 PM
why a reference to an empty cell is not considered empty Nicoscot Excel Discussion (Misc queries) 10 March 10th 06 05:36 AM


All times are GMT +1. The time now is 02:38 PM.

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"