Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 119
Default output negative result will show zero value

hi community

how can i create a formula that show this output....


worksheet A

worksheet B

worksheet C

worksheet A - worksheet B, if output is negative, worksheet C will show zero
value

but

worksheet A - worksheet B, if output is positive, worksheet C will show its
value as usual


can anybody kindly guide me on this...



thanks community for the assistance


:)
--
oldLearner57
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,059
Default output negative result will show zero value

I wonder if the following is what you are looking for. In C1:

=max(0, A1 - B1)


On Apr 22, 5:09*pm, oldLearner57
wrote:
hi community

how can i create a formula that show this output....

worksheet A

worksheet B

worksheet C

worksheet A - worksheet B, if output is negative, worksheet C will show zero
value

but

worksheet A - worksheet B, if output is positive, worksheet C will show its
value as usual

can anybody kindly guide me on this...

thanks community for the assistance

:)
--
oldLearner57


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default output negative result will show zero value

My best guess...

=MAX(Sheet1!A1-Sheet2!A1,0)

--
Biff
Microsoft Excel MVP


"oldLearner57" wrote in message
...
hi community

how can i create a formula that show this output....


worksheet A

worksheet B

worksheet C

worksheet A - worksheet B, if output is negative, worksheet C will show
zero
value

but

worksheet A - worksheet B, if output is positive, worksheet C will show
its
value as usual


can anybody kindly guide me on this...



thanks community for the assistance


:)
--
oldLearner57



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default output negative result will show zero value

On Tue, 22 Apr 2008 18:09:00 -0700, oldLearner57
wrote:

hi community

how can i create a formula that show this output....


worksheet A

worksheet B

worksheet C

worksheet A - worksheet B, if output is negative, worksheet C will show zero
value

but

worksheet A - worksheet B, if output is positive, worksheet C will show its
value as usual


can anybody kindly guide me on this...



thanks community for the assistance


:)


When you write "show", I am assuming you mean "display", but that you still
want the correct result stored in the cell.

That being the case, custom format the cell something like:

General;\0;General

The second section is for negative numbers, and the format will have it display
a literal "0" if the number is negative. The true result will still be in the
cell, however.

To custom format, right click on the cell and select "Format Cells" from the
drop down menu. Then select the Number tab; Custom and Type: the above
--ron
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default output negative result will show zero value

it can be done like this =if(worksheet A - worksheet B < 0,0,worksheet A -
worksheet B)

"oldLearner57" wrote:

hi community

how can i create a formula that show this output....


worksheet A

worksheet B

worksheet C

worksheet A - worksheet B, if output is negative, worksheet C will show zero
value

but

worksheet A - worksheet B, if output is positive, worksheet C will show its
value as usual


can anybody kindly guide me on this...



thanks community for the assistance


:)
--
oldLearner57

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 output result of formula to another cell? Francois Excel Discussion (Misc queries) 3 November 24th 06 03:02 PM
Advanced formula - Return result & Show Cell Reference of result Irv Excel Worksheet Functions 7 May 6th 06 03:36 AM
How do you get a conditional output to show in color Luke Excel Discussion (Misc queries) 1 November 4th 05 11:06 PM
with formulas that show negative results I want to show zero inste brit64 Excel Discussion (Misc queries) 6 August 29th 05 11:12 PM
HOW CAN I SHOW OUTPUT IN FEET INCH FORMAT rich New Users to Excel 2 May 8th 05 06:01 AM


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