Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
I'm currently trying to find a way to return a numeric value from a list of betweens. For example, the costs relating to transport cost x amount if less than 100kg, y if between 100 and 200, z if between 200 and 300 and so on. Is there a way to do this in excel, without doing a very lengthy if formula? If not, I'm not sure how to go about the IF formula, as it contains too many values for excel - I have about 20 possible results. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Create a table with the breakpoints in the first column and the associated
costs in the second: 0 x 100 y 200 z Suppose this is in Sheet2, cells A1:B3 Then, if your shipping weight is in cell A1, the shipping cost would be =vlookup(a1,sheet2!$A$1:$B$3,2). If you have a series of items to ship, with weights continuing in column A, you could enter this formula in B1 then just copy from B1 down through column B; each cell in column B would indicate the shipping cost given the weight in the cell to the left. (Note that this will show the cost as y for anything weighing = 100kg and <200kg; the breakpoints are 'inclusive'). HTH. --Bruce "tinagi" wrote: Hi, I'm currently trying to find a way to return a numeric value from a list of betweens. For example, the costs relating to transport cost x amount if less than 100kg, y if between 100 and 200, z if between 200 and 300 and so on. Is there a way to do this in excel, without doing a very lengthy if formula? If not, I'm not sure how to go about the IF formula, as it contains too many values for excel - I have about 20 possible results. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
ranking query | Excel Discussion (Misc queries) | |||
Inserting a new line when external data changes | Excel Discussion (Misc queries) | |||
How to create a chart based on a 2 dim data range dynamical in 1 d | Charts and Charting in Excel | |||
data range | Excel Discussion (Misc queries) | |||
Data range properties | Excel Discussion (Misc queries) |