Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27
Default How do I eliminate negative values in a spreadsheet ?

I would like calcualed vales in cells to =zero if the calculation result is
negative/blow zero. In other words a threshold that values below zero are not
produced.
  #2   Report Post  
Posted to microsoft.public.excel.misc
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default How do I eliminate negative values in a spreadsheet ?

For example:
=MAX(0, SUM(A1:A10))


"grant" wrote:

I would like calcualed vales in cells to =zero if the calculation result is
negative/blow zero. In other words a threshold that values below zero are not
produced.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 611
Default How do I eliminate negative values in a spreadsheet ?

Grant,

You can make cells yielding negatives appear as 0 with formatting. Format -
Cells - Number - Custom tab:

General;"0";0

Or nothing:

General;;0

This is for display only; the formula will still be yielding a negative
value, and any formulas referring to the cell will not get 0, but the true
(negative) value. In that case, modify the formula to not yield a negative
value, as per JMB's post.
--
Earl Kiosterud
www.smokeylake.com
-----------------------------------------------------------------------
"grant" wrote in message
...
I would like calcualed vales in cells to =zero if the calculation result is
negative/blow zero. In other words a threshold that values below zero are
not
produced.



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 negative values in excel ccarolla Excel Discussion (Misc queries) 3 December 14th 05 12:09 AM
Negative or zero values cannot be plotted correctly on log charts NTE Charts and Charting in Excel 6 December 11th 05 05:27 AM
Get Excel to accept negative values using time-format Marcus Ahlbäck Excel Discussion (Misc queries) 1 November 9th 05 11:19 AM
Formula to make Negative Values Positive & Positive Values Negative? mustard Excel Discussion (Misc queries) 4 September 26th 05 10:05 PM
Need formula to find and sum values in a different spreadsheet Watercolor artist Excel Worksheet Functions 3 June 13th 05 03:41 PM


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