#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Show - in cell

I have some formulas in a couple of cells but I don't want them to calculate
yet. Some other cells are dependant on it and I would like it to show a - in
the cell. The situation is that it deals with inventory for a place that
sells vehicles. I don't want trade in cars to calculate until they are sold
because it shows a loss. Or maybe I'm doing the calculation wrong. I don't
think it should be that I need to delete the formulas until that vehicle is
sold because then I have to input them again later and it is a hassel. How
do I make the cells dependant on more than just the ones in the formula?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default Show - in cell

Hi

Assuming Purchase in A1, Sale in B1 and Margin in C1
Enter in C1
=IF(B1="","",B1-A1)
which is saying if B1 is empty (no sale has taken place) so show nothing
in the cell with the formula, otherwise show the result of subtracting
the value in A1 from the value in B1
--
Regards

Roger Govier


"ambermw15" wrote in message
...
I have some formulas in a couple of cells but I don't want them to
calculate
yet. Some other cells are dependant on it and I would like it to show
a - in
the cell. The situation is that it deals with inventory for a place
that
sells vehicles. I don't want trade in cars to calculate until they are
sold
because it shows a loss. Or maybe I'm doing the calculation wrong. I
don't
think it should be that I need to delete the formulas until that
vehicle is
sold because then I have to input them again later and it is a hassel.
How
do I make the cells dependant on more than just the ones in the
formula?



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
Conditional Formating a cell .. to Show Nothing .. if True monir Excel Worksheet Functions 4 March 30th 06 09:33 AM
=IF cell needs to show blank if blank Boethius1 Excel Discussion (Misc queries) 5 March 1st 06 05:36 PM
Urgent date/scheduling calc needed jct Excel Worksheet Functions 3 February 24th 06 01:36 AM
Want #VALUE! to show as blank cell JoeyW Excel Worksheet Functions 2 November 4th 05 09:24 AM
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM


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