Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
india0693
 
Posts: n/a
Default make negative number value to zero


6
8
-2.00


Can someone tell me instead of the negative -2.
How do I make the value equal to 0.


--
india0693
------------------------------------------------------------------------
india0693's Profile: http://www.excelforum.com/member.php...o&userid=25663
View this thread: http://www.excelforum.com/showthread...hreadid=390804

  #2   Report Post  
olasa
 
Posts: n/a
Default


If your numbers are in A1 to A3, put the below formula in B1 and copy
down...
=IF(A1<0,0,A1)

HTH
Ola Sandström


--
olasa
------------------------------------------------------------------------
olasa's Profile: http://www.excelforum.com/member.php...o&userid=17760
View this thread: http://www.excelforum.com/showthread...hreadid=390804

  #3   Report Post  
india0693
 
Posts: n/a
Default


when I enter that function in cell A3....it gave me the wrong answer.
In cell A3, it gave me (3) as the answer.....I used this formula:

If your numbers are in A1=3 to A2=8,
=IF(A1<0,0,A1)

-I am looking for a way to calculate only zero instead of going below
0.-

example:

3
8
-5 (instead of -5, I am looking for a way to make it calculate to the
number zero)

However, if switch around the correct answer will be positive 5...

???But how do I make the answer show the number zero if it becomes
(-5)????


--
india0693
------------------------------------------------------------------------
india0693's Profile: http://www.excelforum.com/member.php...o&userid=25663
View this thread: http://www.excelforum.com/showthread...hreadid=390804

  #4   Report Post  
Ragdyer
 
Posts: n/a
Default

=MAX(your formula,0)

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"india0693" wrote
in message ...

6
8
-2.00


Can someone tell me instead of the negative -2.
How do I make the value equal to 0.


--
india0693
------------------------------------------------------------------------
india0693's Profile:

http://www.excelforum.com/member.php...o&userid=25663
View this thread: http://www.excelforum.com/showthread...hreadid=390804


  #5   Report Post  
olasa
 
Posts: n/a
Default


Sorry, I misunderstood your question.

This is one way: =IF(A1-A2<0,0,A1-A2)

Ola Sandström


Here's a short video of the IF-function:
http://www.auditexcel.co.za/docs2/IF.wmv


--
olasa
------------------------------------------------------------------------
olasa's Profile: http://www.excelforum.com/member.php...o&userid=17760
View this thread: http://www.excelforum.com/showthread...hreadid=390804

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 can I make a cell a certain color dependent on number value? Sue Excel Discussion (Misc queries) 1 June 2nd 05 06:41 PM
How can I make a number e.g. "14" appear as a word e.g. "fourteen. Gil Excel Worksheet Functions 4 May 25th 05 10:21 PM
Defining a number in a cell by text then subtracting it by the tex Crowraine Excel Worksheet Functions 1 December 16th 04 07:49 AM
Formatting a cell as "text" in the number catagory. Ed Excel Worksheet Functions 3 December 7th 04 07:12 PM
How can I make autofilter show the filtered number of rows bsell123 Excel Worksheet Functions 1 October 28th 04 06:12 PM


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