if formula..

New Member
I've created a spreadsheet that will act as a price matrix so that me and my colleagues can compile a product price using a variety of options.

The spreadsheet has 11 sections with about half a dozen options in each section. For example section 6 contains 4 case options, of basic £30, mid range £50, high detail £75 and ultra edition £95.

In the cells below, next to cases, I want to be able to input 1, 2, 3, or 4 and for the cell next to it return the relevant price, ie £30, £50 etc. I can then use a formula to reckon up all of the options to give a total product price.
ie

c5= case, c6= option, c7= option cost

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Scott Huish

MrExcel MVP
Hi, welcome to the board!

Have a look at the VLOOKUP function.

In this example a table is set up in L3:N6 with your options.

Formula in D6: =VLOOKUP(\$D\$5,\$L\$3:\$N\$6,2,0)
Formula in D7: =VLOOKUP(\$D\$5,\$L\$3:\$N\$6,3,0)
Book2
CDEFGHIJKLMN
1
2Section6
31Basic30
42MidRange50
5Case13HighDetail75
6OptionBasic4UltraEdition95
7OptionCost30
Sheet1

Replies
6
Views
414
Replies
8
Views
883
Replies
0
Views
1K
Replies
1
Views
202
Replies
4
Views
454

1,181,623
Messages
5,931,015
Members
436,771
Latest member
kwicol

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.

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

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