Assign a cell a specific value

i8ur4re

Board Regular
Joined
Mar 1, 2015
Messages
97
Hi,

I'm not sure if i have the correct title on this thread, here is what i am trying to achieve.

I have 4 shipping templates.

1. Flat Rate Envelopes
2. Small Box
3. Medium Box
4. Large Box

I also have an excel sheet that has products, each product has one of those shipping methods above.

Ex:

Blue stripped socks > Flat Rate Envelope
Blue Stripped Shoes > Medium Box
etc
etc..

For Flat rate envelope, shipping costs 6.95
Small Box = 7.80
Medium Box = 11.20
Large Box = 17.90

How do i assign the value so in a separate cell, it will give me the price?

[TABLE="width: 500"]
<tbody>[TR]
[TD]SKU[/TD]
[TD]Product[/TD]
[TD]Shipping Template[/TD]
[TD]Shipping price[/TD]
[/TR]
[TR]
[TD]1234[/TD]
[TD]ABC[/TD]
[TD]Small Box[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5678[/TD]
[TD]DEF[/TD]
[TD]Medium Box[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


I would like shipping price to be auto filled when shipping template specifies a value
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
If I understand you correctly, this is a VLOOKUP. From the below, you can decide where you want the rates and the product listings.


Excel 2010
ABCD
1Flat Rate6.95
2Small Box7.80
3Medium Box11.20
4Large Box17.90
5
6
7SKUPRODUCTShipping TemplateShipping Price
81234ABCSmall Box7.80
95678DEFMedium Box11.20
Sheet2
Cell Formulas
RangeFormula
D8=VLOOKUP(C8,$A$1:$B$4,2,FALSE)
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,151
Members
453,021
Latest member
Justyna P

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