if formula..

madgrrl100

New Member
Joined
Jan 27, 2005
Messages
1
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

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

Scott Huish

MrExcel MVP
Joined
Mar 17, 2004
Messages
19,958
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
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
 

Forum statistics

Threads
1,148,053
Messages
5,744,534
Members
423,881
Latest member
Nguyen Vu

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
Top