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

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
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,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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