HI All, wondering if I can get some help?
I'm trying to create a excel sheet which will automatically return a price based on a given width and drop value. Currently, I calculate the price manually by looking in a price book which has plenty of rows and columns and prices. I want to simplify this by simply entering the dimensions so it automatically calculates price based on the dimensions entered.
Below is the start of my worksheet. If I choose the exact sizes shown on the table, it will return a price, however if I choose a size that is not listed, I get an #N/A. Eg. If I choose 780 x 1500, it will return the price $179, but if I choose for instance 775 x 1490, it only returns #N/A, when I want it to still return the price $179.
My formula in K3 is
=IF(AND($I$3>0,$J$3>0),INDEX($A$3:$F$8,MATCh(J3,$A$3:$A$8,0),MATCH(I3,$A$3:$F$3,0)))
Can anyone help?
Thanks.
Excel 2010
I'm trying to create a excel sheet which will automatically return a price based on a given width and drop value. Currently, I calculate the price manually by looking in a price book which has plenty of rows and columns and prices. I want to simplify this by simply entering the dimensions so it automatically calculates price based on the dimensions entered.
Below is the start of my worksheet. If I choose the exact sizes shown on the table, it will return a price, however if I choose a size that is not listed, I get an #N/A. Eg. If I choose 780 x 1500, it will return the price $179, but if I choose for instance 775 x 1490, it only returns #N/A, when I want it to still return the price $179.
My formula in K3 is
=IF(AND($I$3>0,$J$3>0),INDEX($A$3:$F$8,MATCh(J3,$A$3:$A$8,0),MATCH(I3,$A$3:$F$3,0)))
Can anyone help?
Thanks.
Excel Workbook | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | |||
1 | |||||||||||||
2 | Item | Width | Height | Price | |||||||||
3 | mm | 630 | 780 | 930 | 1080 | 1230 | 1 | 975 | 1821 | #N/A | |||
4 | 900 | 158 | 168 | 179 | 189 | 199 | 2 | ||||||
5 | 1200 | 162 | 174 | 185 | 195 | 208 | 3 | ||||||
6 | 1500 | 166 | 179 | 191 | 203 | 216 | |||||||
7 | 1800 | 170 | 185 | 197 | 210 | 222 | |||||||
8 | 2100 | 174 | 189 | 203 | 216 | 231 | |||||||
9 | 2400 | 179 | 193 | 208 | 224 | 239 | |||||||
10 | 2700 | 185 | 201 | 218 | 233 | 249 | |||||||
11 | |||||||||||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
K3 | =IF(AND($I$3>0,$J$3>0),INDEX($A$3:$F$8,MATCH(J3,$A$3:$A$8,0),MATCH(I3,$A$3:$F$3,0))) |