Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
duugg
 
Posts: n/a
Default Hiding the value of a formula if 1 cell has a value of zero.


I have a spreadsheet set up and would like to hide the value of a
formula if one cell has a zero value.

for example...

A1, value is 0
A2, value is 22

A3 (formula) is A1 + A2

But if A1 is zero, I want A3 to show nothing, how do I do this?

thanks in advance


--
duugg
------------------------------------------------------------------------
duugg's Profile: http://www.excelforum.com/member.php...o&userid=33372
View this thread: http://www.excelforum.com/showthread...hreadid=531995

  #2   Report Post  
Posted to microsoft.public.excel.misc
Toppers
 
Posts: n/a
Default Hiding the value of a formula if 1 cell has a value of zero.



=if(A1=0,0,A1+A2)

"duugg" wrote:


I have a spreadsheet set up and would like to hide the value of a
formula if one cell has a zero value.

for example...

A1, value is 0
A2, value is 22

A3 (formula) is A1 + A2

But if A1 is zero, I want A3 to show nothing, how do I do this?

thanks in advance


--
duugg
------------------------------------------------------------------------
duugg's Profile: http://www.excelforum.com/member.php...o&userid=33372
View this thread: http://www.excelforum.com/showthread...hreadid=531995


  #3   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default Hiding the value of a formula if 1 cell has a value of zero.

=IF(A1=0,"",A1+A2)
--
Gary''s Student


"duugg" wrote:


I have a spreadsheet set up and would like to hide the value of a
formula if one cell has a zero value.

for example...

A1, value is 0
A2, value is 22

A3 (formula) is A1 + A2

But if A1 is zero, I want A3 to show nothing, how do I do this?

thanks in advance


--
duugg
------------------------------------------------------------------------
duugg's Profile: http://www.excelforum.com/member.php...o&userid=33372
View this thread: http://www.excelforum.com/showthread...hreadid=531995


  #4   Report Post  
Posted to microsoft.public.excel.misc
neda5
 
Posts: n/a
Default Hiding the value of a formula if 1 cell has a value of zero.

You could probably use an if statement :
=if(A1=0,"",A1+A2)

or you could use conditional formatting, depending on what you want to do
exactly.

Neda

"duugg" wrote:


I have a spreadsheet set up and would like to hide the value of a
formula if one cell has a zero value.

for example...

A1, value is 0
A2, value is 22

A3 (formula) is A1 + A2

But if A1 is zero, I want A3 to show nothing, how do I do this?

thanks in advance


--
duugg
------------------------------------------------------------------------
duugg's Profile: http://www.excelforum.com/member.php...o&userid=33372
View this thread: http://www.excelforum.com/showthread...hreadid=531995


  #5   Report Post  
Posted to microsoft.public.excel.misc
Bondi
 
Posts: n/a
Default Hiding the value of a formula if 1 cell has a value of zero.

Hi,
In A3,

=IF(A1=0,"",A1+A2)

Regards,
Bondi



  #6   Report Post  
Posted to microsoft.public.excel.misc
duugg
 
Posts: n/a
Default Hiding the value of a formula if 1 cell has a value of zero.


If I'm using this formula...

=IF(F24="","",F22+F24)

In cell F26


and this formula

=IF(F20="","",F18+F20)

is in cell F22

and

1

is in cell F24

I got a #value! error

Why is this the case when there is indeed a number 1 in cell
F24?


--
duugg
------------------------------------------------------------------------
duugg's Profile: http://www.excelforum.com/member.php...o&userid=33372
View this thread: http://www.excelforum.com/showthread...hreadid=531995

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
Urgent date/scheduling calc needed jct Excel Worksheet Functions 3 February 24th 06 01:36 AM
How do I set a cell value based on a formula in another cell? dingy101 Excel Discussion (Misc queries) 1 November 21st 05 08:51 AM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
Creating a check mark box MarthaSue Setting up and Configuration of Excel 18 April 28th 05 12:31 AM
looking for a formula Amanda Excel Worksheet Functions 5 January 5th 05 07:37 AM


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