Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Dede
 
Posts: n/a
Default Converting negative numbers in a range of cells to zero

Greetings!

How do I create a function that will change a range of cells that are
all negative numbers to zero? I want to keep the orginal negative
numbers as well. Thank you!!!

  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

Use a help column and a formula like

=MAX(0,A1)

copy down/across, then copy and paste special as values in place


Regards,

Peo Sjoblom

"Dede" wrote:

Greetings!

How do I create a function that will change a range of cells that are
all negative numbers to zero? I want to keep the orginal negative
numbers as well. Thank you!!!


  #3   Report Post  
tjtjjtjt
 
Posts: n/a
Default

In another range use:
=MAX(0,A1), where A1 is the first cell in the original range.
Copy as needed.

tj

"Dede" wrote:

Greetings!

How do I create a function that will change a range of cells that are
all negative numbers to zero? I want to keep the orginal negative
numbers as well. Thank you!!!


  #4   Report Post  
Myrna Larson
 
Posts: n/a
Default

You need a formula in a 2nd column: =MAX(A1,0)


On 14 Jan 2005 10:10:42 -0800, "Dede" wrote:

Greetings!

How do I create a function that will change a range of cells that are
all negative numbers to zero? I want to keep the orginal negative
numbers as well. Thank you!!!


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
To safety merge cells without data destroyed, and smart unmerge! Kevin Excel Discussion (Misc queries) 0 December 30th 04 08:17 AM
Heps to design Locked/Unlocked cells in protected worksheet Kevin Excel Discussion (Misc queries) 0 December 30th 04 08:09 AM
Finding Numbers with Cells that also contain letters Adam Excel Discussion (Misc queries) 7 December 29th 04 03:41 PM
Converting text to numbers Scott Excel Discussion (Misc queries) 3 November 26th 04 10:17 PM
Negative Numbers Glenda Excel Discussion (Misc queries) 3 November 26th 04 03:06 PM


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