#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default cell value condtions

If I have a cell with a sum value, say 100, can I get a second cell to show a
value up to but not to exceed 50 based on the first cell? Can I then get a
third cell to show the remainder of anything over the 50 but less than say
125, based on the value of the first cell?
e.g I have 100 wigets.
the first 50 widgets cost $X;
51-125 widgets cost $Y;
over 125 widgets cost $Z
Thanks for any help
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 269
Default cell value condtions

A B C D
1 100 50 50 0
2 225 50 75 100
3 45 45 0 0

For B1 Use =MIN(A1,50)
for C1 Use =MIN (A1-B1,75)
for D1 use =A1-(B1+C1)
--
If this helps, please remember to click yes.


"WaterSmith" wrote:

If I have a cell with a sum value, say 100, can I get a second cell to show a
value up to but not to exceed 50 based on the first cell? Can I then get a
third cell to show the remainder of anything over the 50 but less than say
125, based on the value of the first cell?
e.g I have 100 wigets.
the first 50 widgets cost $X;
51-125 widgets cost $Y;
over 125 widgets cost $Z
Thanks for any help

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
Code to copy the formulae of one cell to all the cell in the rangewith the specific cell and columnnumber changing Options Yuvraj Excel Discussion (Misc queries) 0 June 29th 09 11:20 AM
Code to copy the formulae of one cell to all the cell in the rangewith the specific cell and columnnumber changing Yuvraj Excel Discussion (Misc queries) 0 June 26th 09 06:01 PM
Populate a cell if values in cell 1 and cell 2 match cell 3 and 4 [email protected] Excel Worksheet Functions 1 August 22nd 08 02:04 AM
How to create/run "cell A equals Cell B put Cell C info in Cell D abmb161 Excel Discussion (Misc queries) 5 January 26th 06 06:36 PM
Formula with mulitple condtions Lee Excel Worksheet Functions 2 September 23rd 05 02:42 AM


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