# Interchangeable price

#### mmdmalta

##### New Member
Hi, I'm trying to figure out how to automatically change a cell to a price according to a specific sizes. Below is my excel sheet of what i'm trying to accomplish. i.e. under the size, if the item is a 2XL, then the price is 49.95. If it is XL it is 42.72. I want the excel sheet to be able to automacally change the price according to size. Below is the form i'm trying to use this formula on. The size is in column C, the price is in column E, and i'm trying to have the value (Total) in Column F by mulitply the qty by the specific price. The form is below. Please help.

### Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

#### alansidman

##### Well-known Member
You will need to create a lookup table that has three columns
Description
Size
Price

Then using Index/Match formula for two variables in the price column. Look at this link for a tutorial

#### mmdmalta

##### New Member
OK, I'll give it a try. Looks complicated. Thank you!
You will need to create a lookup table that has three columns
Description
Size
Price

Then using Index/Match formula for two variables in the price column. Look at this link for a tutorial

Replies
10
Views
651
Replies
1
Views
635
Replies
3
Views
437
Replies
3
Views
183
Replies
4
Views
4K

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,152,579
Messages
5,770,960
Members
425,653
Latest member
UNSING

### 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.

### Which adblocker are you using?

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