#1   Report Post  
Posted to microsoft.public.excel.newusers
Vi Vi is offline
external usenet poster
 
Posts: 15
Default Formulas

When I put in a formula for a total, how do I make it show up as blank
instead of a zero if there is only one variable listed. For example, I want
to put a mileage rate in as a constant and I want the total cell to be blank
instead of zero if there is no mileage number in the first cell.
I'm using Excel 2003.
Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 22,906
Default Formulas

=IF(A1="","",rest of formula)


Gord Dibben MS Excel MVP

On Wed, 20 Jun 2007 15:29:38 -0700, Vi wrote:

When I put in a formula for a total, how do I make it show up as blank
instead of a zero if there is only one variable listed. For example, I want
to put a mileage rate in as a constant and I want the total cell to be blank
instead of zero if there is no mileage number in the first cell.
I'm using Excel 2003.
Thanks.


  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 252
Default Formulas

Here are two options...

I. Change your formula to look like this
=IF(formula=0,"",formula)
for example if your formula as it is now is this...
=4*B1^2
then change it to this
=IF(4*B1^2=0,"",4*B1^2)
note that you can also use this...
IF(B1=0,"",4*B1^2)

II. Change the format of the cell containing the formula to something like
this...
General;-General;

If you need more help, then please be more specific. Provide an example of
cell values and the results you would like.
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
CELLS NOT CALC FORMULAS - VALUES STAY SME FORMULAS CORRECT?? HELP Sherberg Excel Worksheet Functions 4 September 11th 07 01:34 AM
automatically copy formulas down columns or copy formulas all the HowlingBlue Excel Worksheet Functions 1 March 16th 07 11:11 PM
Formulas not evaluated, Formulas treated as strings Bob Sullentrup Excel Discussion (Misc queries) 0 November 27th 06 08:01 PM
formulas Cowboy Excel Discussion (Misc queries) 1 October 26th 06 01:00 AM
formulas for changing formulas? creativeops Excel Discussion (Misc queries) 4 January 26th 06 03:07 AM


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