Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 211
Default How to Hide Negative Numbers

Hello,

I have a formula in Column C which subtracts a number in the previous sheet
plust a number in the current sheet. When I copy the formula I get negative
numbers because some of the cells in the current sheet are not yet populated.


Is there a way to hide the negatives numbers displaying in the column and
have the results show up once I populate the numbers in the cells the formula
is using?

Thanks,
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default How to Hide Negative Numbers

=IF(A2-B2<0,"",A2-B2)

replace A2 and B2 with the cells you are using

you can also use a custom number format like

0.00;;

If there will never be any negative numbers when both cells have values


--


Regards,


Peo Sjoblom




"Marilyn" wrote in message
...
Hello,

I have a formula in Column C which subtracts a number in the previous
sheet
plust a number in the current sheet. When I copy the formula I get
negative
numbers because some of the cells in the current sheet are not yet
populated.


Is there a way to hide the negatives numbers displaying in the column and
have the results show up once I populate the numbers in the cells the
formula
is using?

Thanks,



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default How to Hide Negative Numbers

hi
here's a commonly used trick.
=if(B7<0,"",B6+c6)
the cell addresses are made up but it illistrated the point. if the cell in
question is negative, the if formula will hide the results until positive.
adjust the cell references to suit your data.

regards
FSt1

"Marilyn" wrote:

Hello,

I have a formula in Column C which subtracts a number in the previous sheet
plust a number in the current sheet. When I copy the formula I get negative
numbers because some of the cells in the current sheet are not yet populated.


Is there a way to hide the negatives numbers displaying in the column and
have the results show up once I populate the numbers in the cells the formula
is using?

Thanks,

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default How to Hide Negative Numbers

0.00;

might be better since the other format hides zero as well

--


Regards,


Peo Sjoblom


"Peo Sjoblom" wrote in message
...
=IF(A2-B2<0,"",A2-B2)

replace A2 and B2 with the cells you are using

you can also use a custom number format like

0.00;;

If there will never be any negative numbers when both cells have values


--


Regards,


Peo Sjoblom




"Marilyn" wrote in message
...
Hello,

I have a formula in Column C which subtracts a number in the previous
sheet
plust a number in the current sheet. When I copy the formula I get
negative
numbers because some of the cells in the current sheet are not yet
populated.


Is there a way to hide the negatives numbers displaying in the column and
have the results show up once I populate the numbers in the cells the
formula
is using?

Thanks,





  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 211
Default How to Hide Negative Numbers

Thank you ALL for the quick response. It worked out perfectly.

Have a Great Weekend.

"Peo Sjoblom" wrote:

0.00;

might be better since the other format hides zero as well

--


Regards,


Peo Sjoblom


"Peo Sjoblom" wrote in message
...
=IF(A2-B2<0,"",A2-B2)

replace A2 and B2 with the cells you are using

you can also use a custom number format like

0.00;;

If there will never be any negative numbers when both cells have values


--


Regards,


Peo Sjoblom




"Marilyn" wrote in message
...
Hello,

I have a formula in Column C which subtracts a number in the previous
sheet
plust a number in the current sheet. When I copy the formula I get
negative
numbers because some of the cells in the current sheet are not yet
populated.


Is there a way to hide the negatives numbers displaying in the column and
have the results show up once I populate the numbers in the cells the
formula
is using?

Thanks,






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
Hide Negative Numbers or Display as Zero Me Excel Worksheet Functions 8 October 24th 07 05:37 PM
How to hide negative value view (eg: #######) Dags Excel Discussion (Misc queries) 2 July 16th 07 08:46 AM
Set negative numbers to zero. Do not calculate with negative valu Excel Headache Excel Discussion (Misc queries) 4 September 14th 06 08:56 PM
Hide negative numbers in Excel James Excel Discussion (Misc queries) 4 August 21st 06 10:30 PM
how do i hide negative values in excel ccarolla Excel Discussion (Misc queries) 3 December 14th 05 12:09 AM


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