Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default hopefully easy one to answer !!


I have 6 sheets on a spread sheet with sheet 1 being a "master" and
referenceing sheets 2,3,4,5 & 6

At the moment cell "P3" shows the total number of items that need to be
ordered and is coded as follows:

=D3*5-E3-G3-I3-K3-M3-O3

on some of the items in "P3" it shows a minus value (as we already have
some in stock) is there a way to code this to show zero when the sum
equals a minus value

Hopefully this is explained well and would appriciate any help that you
can offer

Many thanks

Paul


--
Paul Cooke
------------------------------------------------------------------------
Paul Cooke's Profile: http://www.excelforum.com/member.php...o&userid=29268
View this thread: http://www.excelforum.com/showthread...hreadid=545796

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default hopefully easy one to answer !!


Paul

You can use a simple IF formula:

=IF((D3*5-E3-G3-I3-K3-M3-O3)<0,0,D3*5-E3-G3-I3-K3-M3-O3)

in cell P3.

Hope this helps!

Richard


--
RichardSchollar
------------------------------------------------------------------------
RichardSchollar's Profile: http://www.excelforum.com/member.php...o&userid=34698
View this thread: http://www.excelforum.com/showthread...hreadid=545796

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default hopefully easy one to answer !!

Hi Paul,

One way:

=MAX(D3*5-E3-G3-I3-K3-M3-O3, 0)

---
Regards,
Norman


"Paul Cooke" wrote
in message ...

I have 6 sheets on a spread sheet with sheet 1 being a "master" and
referenceing sheets 2,3,4,5 & 6

At the moment cell "P3" shows the total number of items that need to be
ordered and is coded as follows:

=D3*5-E3-G3-I3-K3-M3-O3

on some of the items in "P3" it shows a minus value (as we already have
some in stock) is there a way to code this to show zero when the sum
equals a minus value

Hopefully this is explained well and would appriciate any help that you
can offer

Many thanks

Paul


--
Paul Cooke
------------------------------------------------------------------------
Paul Cooke's Profile:
http://www.excelforum.com/member.php...o&userid=29268
View this thread: http://www.excelforum.com/showthread...hreadid=545796



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default hopefully easy one to answer !!


Many thanks Richard - works perfectly :)

Thanks again

Pau

--
Paul Cook
-----------------------------------------------------------------------
Paul Cooke's Profile: http://www.excelforum.com/member.php...fo&userid=2926
View this thread: http://www.excelforum.com/showthread.php?threadid=54579

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 244
Default hopefully easy one to answer !!

=max(0,D3*5-E3-G3-I3-K3-M3-O3 )

will do it for 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
Calculator Answer Doesn't Match Excel Answer GwenH Excel Discussion (Misc queries) 3 October 20th 08 10:17 AM
An easy answer I'm sure, so why am I stuck? Dan the Man[_2_] Excel Discussion (Misc queries) 5 September 21st 08 05:25 PM
This should be easy, but can't find an answer...requesting your in Lisa Excel Worksheet Functions 1 January 23rd 08 06:02 AM
new user with easy question? not easy for me speakeztruth New Users to Excel 5 June 3rd 05 09:40 PM
Could one of you experts answer an easy question... Bryan[_5_] Excel Programming 2 September 9th 03 07:19 PM


All times are GMT +1. The time now is 05:09 AM.

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"