Formula help. Find the correct price based on weight range.

gcnick1977

New Member
Joined
Nov 21, 2017
Messages
2
[FONT=&quot]I'm stuck on a formula with the below set up.[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]I need to find the correct price based on the unit weight using weight ranges. [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[TABLE="class: jiveBorder, width: 915"]
<thead style="box-sizing: border-box; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-family: inherit; vertical-align: baseline;">[TR]
[TH="class: header, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=6690BC]#6690BC[/URL] , align: center"]Unit Weight[/TH]
[TH="class: header, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=6690BC]#6690BC[/URL] , align: center"]Weight Ranges[/TH]
[TH="class: header, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=6690BC]#6690BC[/URL] , align: center"]Price[/TH]
[/TR]
</thead><tbody style="box-sizing: border-box; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-family: inherit; vertical-align: baseline;">[TR]
[TD="align: center"]2.2kg[/TD]
[TD="align: center"]0-1kg
[/TD]
[TD="align: center"]$10[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[TD="align: center"]1-2kg[/TD]
[TD="align: center"]$20[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[TD="align: center"]2-3kg[/TD]
[TD="align: center"]$30[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[TD="align: center"]3-4kg[/TD]
[TD="align: center"]$40[/TD]
[/TR]
</tbody>[/TABLE]
[FONT=&quot]
[/FONT]

[FONT=&quot]Example Answers.[/FONT]
[FONT=&quot]Unit Weight <1kg = $10[/FONT]
[FONT=&quot]Unit Weight >1kg & <2kg = $20[/FONT]
[FONT=&quot]Unit Weight >2kg & <3kg = $30[/FONT]
[FONT=&quot]Unit Weight >3kg & <4kg = $40[/FONT]
[FONT=&quot]
Thanks.[/FONT]
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Based on your current set up try:
Also it's unclear if 2kg should be $20 or $30 (same with 1 and 3 kg, which range should they fall in?).
Excel Workbook
ABC
1Unit WeightWeight RangesPrice
22.2kg0-1kg$10
3$301-2kg$20
42-3kg$30
53-4kg$40
Sheet
 
Upvote 0
Your changes to the setup are a lot better than what you were using at first. Also, will be a lot easier to change rates in the future.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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