Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Mamarita
 
Posts: n/a
Default How do I hide zero values but keep currency format in P.O. form?

I'm creating a purchase order for our company and am having trouble
formatting some cells. I need a currency value in the Total section only if
there is a value in the Quantity and Unit Price section. I formatted the
Total cells to Currency. But if there are no values in Quantity or Unit
Price, zero values appear in the Total cells. How do I format the total cells
to only show price values when there are values in Quantity and Unit Price?
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Sloth
 
Posts: n/a
Default How do I hide zero values but keep currency format in P.O. form?

When you format a cell as currency you get a custom format like this
(depending on the otpions you chose)...
$#,##0.00;[Red]$#,##0.00
Choose the type of currency format you want, and then click on custom. You
should see the format like the one above.
if you want 0 values to be hidden, all you have to do is add a semicolon on
the end, like this
$#,##0.00;[Red]$#,##0.00;

"Mamarita" wrote:

I'm creating a purchase order for our company and am having trouble
formatting some cells. I need a currency value in the Total section only if
there is a value in the Quantity and Unit Price section. I formatted the
Total cells to Currency. But if there are no values in Quantity or Unit
Price, zero values appear in the Total cells. How do I format the total cells
to only show price values when there are values in Quantity and Unit Price?

  #3   Report Post  
Posted to microsoft.public.excel.newusers
Niek Otten
 
Posts: n/a
Default How do I hide zero values but keep currency format in P.O. form?

ToolsOptionsView, uncheck Zero values

--
Kind regards,

Niek Otten

"Mamarita" wrote in message
...
I'm creating a purchase order for our company and am having trouble
formatting some cells. I need a currency value in the Total section only
if
there is a value in the Quantity and Unit Price section. I formatted the
Total cells to Currency. But if there are no values in Quantity or Unit
Price, zero values appear in the Total cells. How do I format the total
cells
to only show price values when there are values in Quantity and Unit
Price?



  #4   Report Post  
Posted to microsoft.public.excel.newusers
Dave Peterson
 
Posts: n/a
Default How do I hide zero values but keep currency format in P.O. form?

I'd just check for numbers upfront:
=if(count(c2,e2)<2,"",c2*e2)

But you could hide all the 0's:
tools|options|view tab|uncheck zero values

or you could give those cells a custom format:
Format|cells|number tab|custom category:
General;-General;





Mamarita wrote:

I'm creating a purchase order for our company and am having trouble
formatting some cells. I need a currency value in the Total section only if
there is a value in the Quantity and Unit Price section. I formatted the
Total cells to Currency. But if there are no values in Quantity or Unit
Price, zero values appear in the Total cells. How do I format the total cells
to only show price values when there are values in Quantity and Unit Price?


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.newusers
John Read
 
Posts: n/a
Default How do I hide zero values but keep currency format in P.O. form?

On Thu, 09 Feb 2006 18:30:01 +0100, Niek Otten wrote:

ToolsOptionsView, uncheck Zero values

You might like to try:

=IF(C60,C12," ")


This simply says that if the value in, say the quantity cell (say c6) is
non-zero then display the value (e.g. C12) otherwise display nothing
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
How do I hide 0 values in line charts Stephan Charts and Charting in Excel 5 August 12th 09 03:07 PM
format cells for currency 2450 and have it format to $24.50? Karen C Excel Worksheet Functions 0 October 13th 05 03:21 PM
format column for unique values only JohnLute Excel Worksheet Functions 2 September 13th 05 01:06 PM
CONVERT DATA TO CURRENCY FORMAT roy in sunbury Excel Discussion (Misc queries) 1 January 12th 05 03:12 AM
Format cells to display truncated values? Mike Excel Discussion (Misc queries) 2 December 7th 04 10:13 PM


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