Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Pat
 
Posts: n/a
Default Return lowest quantity

Example:

J16 = 174
L16 = 26
O16 = 30

Formula:
=J16-L16
returns 148

If O16 were to be included in the above formula and the value in O16 is less
than 148 then return 30 to the cell.
In the other hand if the result from the formula =J16-L16 were return less
than 30 then O16 would not return 30

I hope you can make sense to what I wish to accomplish. If not please let me
know.

Pat




  #2   Report Post  
Steve R
 
Posts: n/a
Default

Pat

If my interpretation of your question is OK:

=MIN(O16,J16-L16)

HTH
Steve


"Pat" wrote in message
...
Example:

J16 = 174
L16 = 26
O16 = 30

Formula:
=J16-L16
returns 148

If O16 were to be included in the above formula and the value in O16 is
less
than 148 then return 30 to the cell.
In the other hand if the result from the formula =J16-L16 were return less
than 30 then O16 would not return 30

I hope you can make sense to what I wish to accomplish. If not please let
me
know.

Pat






  #3   Report Post  
Pat
 
Posts: n/a
Default

Steve,
Your interpretation is correct.

Many Thanks
Pat


"Steve R" wrote in message
...
Pat

If my interpretation of your question is OK:

=MIN(O16,J16-L16)

HTH
Steve


"Pat" wrote in message
...
Example:

J16 = 174
L16 = 26
O16 = 30

Formula:
=J16-L16
returns 148

If O16 were to be included in the above formula and the value in O16 is
less
than 148 then return 30 to the cell.
In the other hand if the result from the formula =J16-L16 were return

less
than 30 then O16 would not return 30

I hope you can make sense to what I wish to accomplish. If not please

let
me
know.

Pat








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
RETURN intersecting value with known horizotal & vertical?? || cypher || Excel Worksheet Functions 4 February 2nd 05 09:27 PM
Pivot Table Zero Value jcliquidtension Excel Discussion (Misc queries) 12 January 13th 05 04:21 AM
Can VLOOKUP return multiple answers based on several identical lo. jddtct Excel Worksheet Functions 3 January 11th 05 07:03 AM
Return the smallest value Donkey Excel Worksheet Functions 2 December 24th 04 10:10 PM
How can I get the lowest price, second lowest etc. from a range o. Robin Excel Worksheet Functions 2 November 9th 04 12:23 PM


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