#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default If sum

I have a spread sheet that has a safety stock quantity(Colum D4) and a
quantity on handColum C4). I would like to have the next colum (E4) state: if
quantity on hand is less than D4 then = C4-D4, but if C4 is equal or greater
than D4 then return with 0.
Thank you
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 284
Default If sum

Debsdad

If I understand correctly: =IF(C4<D4,C4-D4,0)

Mike Rogers

"Debsdad" wrote:

I have a spread sheet that has a safety stock quantity(Colum D4) and a
quantity on handColum C4). I would like to have the next colum (E4) state: if
quantity on hand is less than D4 then = C4-D4, but if C4 is equal or greater
than D4 then return with 0.
Thank you

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,311
Default If sum

Try this:

=IF(C4<D4,C4-D4,0)

HTH,
Paul

--

"Debsdad" wrote in message
...
I have a spread sheet that has a safety stock quantity(Colum D4) and a
quantity on handColum C4). I would like to have the next colum (E4) state:
if
quantity on hand is less than D4 then = C4-D4, but if C4 is equal or
greater
than D4 then return with 0.
Thank you



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default If sum

Thanks mike this worked!

"Mike Rogers" wrote:

Debsdad

If I understand correctly: =IF(C4<D4,C4-D4,0)

Mike Rogers

"Debsdad" wrote:

I have a spread sheet that has a safety stock quantity(Colum D4) and a
quantity on handColum C4). I would like to have the next colum (E4) state: if
quantity on hand is less than D4 then = C4-D4, but if C4 is equal or greater
than D4 then return with 0.
Thank you

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 284
Default If sum

Debsdad

Glad you got it sorted out!! You had most of the answer in you post. You
could have figured it out, you were almost there. Keep working at it and
things do start to make sense. Thanks for the post back.

Mike Rogers

"Debsdad" wrote:

Thanks mike this worked!

"Mike Rogers" wrote:

Debsdad

If I understand correctly: =IF(C4<D4,C4-D4,0)

Mike Rogers

"Debsdad" wrote:

I have a spread sheet that has a safety stock quantity(Colum D4) and a
quantity on handColum C4). I would like to have the next colum (E4) state: if
quantity on hand is less than D4 then = C4-D4, but if C4 is equal or greater
than D4 then return with 0.
Thank you



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default If sum

.... or =MIN(C4-D4,0)
--
David Biddulph

"Mike Rogers" <Mike060349@NoxSpamxAOLDOTcom wrote in message
...
Debsdad

If I understand correctly: =IF(C4<D4,C4-D4,0)

Mike Rogers

"Debsdad" wrote:

I have a spread sheet that has a safety stock quantity(Colum D4) and a
quantity on handColum C4). I would like to have the next colum (E4)
state: if
quantity on hand is less than D4 then = C4-D4, but if C4 is equal or
greater
than D4 then return with 0.
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



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