need help finding a formula

akiwal

New Member
Joined
Jul 28, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi,
I need help finding a formula to put into column G, to figure out the prices per item, as the price depends on the quantity in column F. look in row 5 where it's stated the different quantity's amounts.
of course, I can do four times the if formula, but I want to know if there is any shorter formula.
Thank you


help2.xlsx
ABCDEFGHI
1
2
3Wholesale Stationery Supplies
4ItemUnit price for quantities less than or equal to:Quantity orderedPrice per itemQuantity x Price
5102050100
6Pencil0.30.250.190.1443
7Ball Pen1.231.120.980.6750
8Eraser0.230.170.140.129
9Paper Clips(box)1.761.561.170.9920
10Drawing Pins1.891.761.541.2346
11Pencil Sharpener3.673.5432.1244
12Refill A4 Lined8.566.895.67599
13Ream A4 Photocopy7.6676.545.1227
14Ruler1.341.1310.7747
15Compass2.562.442.10.8997
16Protractor0.980.780.560.396
17Sellotape4.343.562.341.4715
18
19Total
20
21
22
Sheet1
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Try
Book3
ABCDEFGH
1
2
3Wholesale Stationery Supplies
4ItemUnit price for quantities less than or equal to:Quantity orderedPrice per itemQuantity x Price
5102050100
6Pencil0.30.250.190.14430.2510.75
7Ball Pen1.231.120.980.67500.9849.00
8Eraser0.230.170.140.1290.232.07
9Paper Clips(box)1.761.561.170.99201.5631.20
10Drawing Pins1.891.761.541.23461.7680.96
11Pencil Sharpener3.673.5432.12443.54155.76
12Refill A4 Lined8.566.895.675995.67561.33
13Ream A4 Photocopy7.6676.545.12277.00189.00
14Ruler1.341.1310.77471.1353.11
15Compass2.562.442.10.89972.10203.70
16Protractor0.980.780.560.3960.985.88
17Sellotape4.343.562.341.47154.3465.10
18
19Total1,407.86
Sheet1
Cell Formulas
RangeFormula
G6:G17G6=XLOOKUP(F6,$B$5:$E$5,B6:E6,B6,-1)
H6:H17H6=F6*G6
H19H19=SUM(H6:H17)
 
Upvote 0
Solution

Forum statistics

Threads
1,214,590
Messages
6,120,421
Members
448,961
Latest member
nzskater

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