LOOKUP to calculate cubic metreage

wirra

New Member
Joined
Aug 20, 2006
Messages
23
Hello,

I am endeavouring to come up with a formula in column M to calculate the cubic meterage for a range of furniture products. I have included the answer I need in column M. Cells B1:K1 represent the number of units while column L is the amount of stock. Some products are stackable in different configurations while others are not. If there is more than 10 in stock (column L) then the calculation will be the number 10's x column K plus the value for the remainder. For example, the calculation for product P298569 in row 3 would be (16 x 6)+4.2=100.2 cubic metres.

I have tried to use nestable IF statements with some success but I believe a lookup statement might be better but I can't find a solution.

Hope someone can help.

Thanks

Bob
Cubic Meterage Test.xls
ABCDEFGHIJKLM
1ProductCode12345678910StockonHandCubicMeterage
2P2985760.250.50.7511.251.51.7522.252.5205
3P2985690.61.21.82.433.64.24.85.46167100.2
4P2984570.050.10.150.20.250.30.350.40.450.560.3
5P2890980.010.020.030.040.050.060.070.080.090.1240.24
6P2886010.20.40.60.811.21.41.61.8224048
7P2885590.040.040.080.080.120.120.160.160.20.2180.36
8P2883350.850.851.71.72.552.553.43.44.254.254720.4
Sheet1
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Hi Bob

See the following - formula in M2 is copied down as far as required.

Excel Workbook
ABCDEFGHIJKLM
1ProductCode12345678910StockonHandCubicMeterage
2P2985760.250.50.7511.251.51.7522.252.5205
3P2985690.61.21.82.433.64.24.85.46167100.2
4P2984570.050.10.150.20.250.30.350.40.450.560.3
5P2890980.010.020.030.040.050.060.070.080.090.1240.24
6P2886010.20.40.60.811.21.41.61.8224048
7P2885590.040.040.080.080.120.120.160.160.20.2180.36
8P2883350.850.851.71.72.552.553.43.44.254.254720.4
Sheet1
 
Upvote 0

Forum statistics

Threads
1,214,945
Messages
6,122,397
Members
449,081
Latest member
JAMES KECULAH

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top