Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default replace a negative result with a zero?

I have my formula entered but need it to return a zero if the result is
negative. Any help is greatly appreciated.
--
Pam
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default replace a negative result with a zero?

Well, what is the formula that you are using?

You could try this:

=MAX(your_formula,0)

to replace your_formula.

Hope this helps.

Pete

On Apr 19, 5:17*pm, Pam2277 wrote:
I have my formula entered but need it to return a zero if the result is
negative. *Any help is greatly appreciated.
--
Pam


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default replace a negative result with a zero?

Hi,

=if(your formula<0,0,your formula)

"Pam2277" wrote:

I have my formula entered but need it to return a zero if the result is
negative. Any help is greatly appreciated.
--
Pam

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
IF NEGATIVE VALUE REPLACE WITH POSITIVE veena Excel Discussion (Misc queries) 2 July 21st 08 09:45 PM
How do I replace negative numbers with zero in Excel. A Blaylock Excel Worksheet Functions 0 March 16th 06 09:08 PM
Using Replace to Format Negative Numbers Denise H. via OfficeKB.com Excel Discussion (Misc queries) 4 August 11th 05 04:59 PM
How do I replace a negative number with zero Laura@Gage Excel Worksheet Functions 4 March 9th 05 02:05 AM
How do I replace a negative number at the end of a formula with a. dealn2 Excel Discussion (Misc queries) 5 December 23rd 04 07:47 PM


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