Give a price dependig on the pieces and the name of the product

EVELYN QUIROZ

New Member
Joined
Nov 1, 2022
Messages
6
Office Version
  1. 365
Platform
  1. Web
Hi, I'd love to receive some feedback about have the right formula for this problem, I'm getting crazy so bad because I understand what I need but regardless I can't find the right formula.
I explain what I am looking for:
I have this first table, Column where the RATE is have to show the price depending the pieces in the column QTY, if they are in the average depending on the table 2.
#DESCRIPTION OF THE PRODUCT (Table 1)SKUQTYRATEAMOUNT (USD)
1Amador Training Size 3, Orange/Black/Yellow/Grey -SFT1006-3OR11 $ -
2Amador Training Size 3, Orange/Black/Yellow/Grey -SFT1006-3OR9 $ -
3Amador Training Size 3, Orange/Black/Yellow/Grey -SFT1006-3OR10 $ -
4Amador Training Size 3, Orange/Black/Yellow/Grey -SFT1006-3OR49 $ -
5Amador Training Size 3, Orange/Black/Yellow/Grey -SFT1006-3OR50 $ -
6Amador Training Size 3, Orange/Black/Yellow/Grey -SFT1006-3OR99 $ -
7Amador Training Size 3, Orange/Black/Yellow/Grey -SFT1006-3OR100 $ -
8Amador Training Size 3, Orange/Black/Yellow/Grey -SFT1006-3OR149 $ -
9Amador Training Size 3, Orange/Black/Yellow/Grey -SFT1006-3OR150 $ -
10Amador Training Size 3, Orange/Black/Yellow/Grey -SFT1006-3OR249 $ -
11Amador Training Size 3, Orange/Black/Yellow/Grey -SFT1006-3OR250 $ -
12Amador Training Size 3, Orange/Black/Yellow/Grey -SFT1006-3OR251 $ -
13Amador Training Size 3, Orange/Black/Yellow/Grey -SFT1006-3OR $ -
14Amador Training Size 3, Orange/Black/Yellow/Grey -SFT1006-3OR3 $ -
15Amador Training Size 3, Orange/Black/Yellow/Grey -SFT1006-3OR15 $ -
16Amador Training Size 3, Orange/Black/Yellow/Grey -SFT1006-3OR55 $ -
17Amador Training Size 3, Orange/Black/Yellow/Grey -SFT1006-3OR110 $ -
18Amador Training Size 3, Orange/Black/Yellow/Grey -SFT1006-3OR170 $ -
19Amador Training Size 3, Orange/Black/Yellow/Grey -SFT1006-3OR280 $ -
20Amador Training Size 3, Orange/Black/Yellow/Grey -SFT1006-3OR300 $ -

SKU (table 2)1-9 PIECES10-4950-99100-149150-199200-249250+
SKURetail20%25%30%35%40%50%
SFT1006-3OR$24.99$19.99$18.74$17.49$16.24$14.99$12.50
SFT1006-4OR$24.99$19.99$18.74$17.49$16.24$14.99$12.50
SFT1006-5OR$24.99$19.99$18.74$17.49$16.24$14.99$12.50
SFT1006-3YL$24.99$19.99$18.74$17.49$16.24$14.99$12.50
SFT1006-4YL$24.99$19.99$18.74$17.49$16.24$14.99$12.50
SFT1006-5YL$24.99$19.99$18.74$17.49$16.24$14.99$12.50
SFT1006-3WT$24.99$19.99$18.74$17.49$16.24$14.99$12.50
SFT1006-4WT$24.99$19.99$18.74$17.49$16.24$14.99$12.50
SFT1006-5WT$24.99$19.99$18.74$17.49$16.24$14.99$12.50
SFT1002-5OR$39.99$31.99$29.99$27.99$25.99$23.99$20.00
SFT1005-5GD$99.99$79.99$74.99$69.99$64.99$59.99$50.00
SFT1009-2OR$24.99$19.99$18.74$17.49$16.24$14.99$12.50
SFT1009-3OR$24.99$19.99$18.74$17.49$16.24$14.99$12.50
SFT1009-4OR$24.99$19.99$18.74$17.49$16.24$14.99$12.50
SFT1009-2YL$24.99$19.99$18.74$17.49$16.24$14.99$12.50
SFT1009-3YL$24.99$19.99$18.74$17.49$16.24$14.99$12.50
SFT1009-4YL$24.99$19.99$18.74$17.49$16.24$14.99$12.50
SFT1010-2GN$29.99$23.99$22.49$20.99$19.49$17.99$15.00
SFT1010-3GN$29.99$23.99$22.49$20.99$19.49$17.99$15.00
SFT1010-4GN$29.99$23.99$22.49$20.99$19.49$17.99$15.00
SFT1010-3LB$29.99$23.99$22.49$20.99$19.49$17.99$15.00
SFT1010-4LB$29.99$23.99$22.49$20.99$19.49$17.99$15.00
SFT1011-4RD$39.99$31.99$29.99$27.99$25.99$23.99$20.00
SFT1012-4EM$59.99$47.99$44.99$41.99$38.99$35.99$30.00
SFT1050-3$32.00$25.60$24.00$22.40$20.80$19.20$16.00
SFT1050-4$32.00$25.60$24.00$22.40$20.80$19.20$16.00
SFT1051-3$42.00$33.60$31.50$29.40$27.30$25.20$21.00
SFT1051-4$42.00$33.60$31.50$29.40$27.30$25.20$21.00
SFT1015-4BK$39.99$31.99$29.99$27.99$25.99$23.99$20.00
SFT1016-4OR$29.99$23.99$22.49$20.99$19.49$17.99$15.00
SFT1016-5OR$29.99$23.99$22.49$20.99$19.49$17.99$15.00
SFT1020-4BL$29.99$23.99$22.49$20.99$19.49$17.99$15.00
SFT1020-5BL$29.99$23.99$22.49$20.99$19.49$17.99$15.00
SFT1021-5OR$39.99$31.99$29.99$27.99$25.99$23.99$20.00
SFT1030-1OR$14.99$11.99$11.24$10.49$9.74$8.99$7.50
SFT1030-1YL$14.99$11.99$11.24$10.49$9.74$8.99$7.50
SFT1031-RD$84.99$67.99$63.74$59.49$55.24$50.99$42.50
SFT2030-Y-GN$6.49$5.19$4.87$4.54$4.22$3.89$3.25
SFT2030-Y-YL$6.49$5.19$4.87$4.54$4.22$3.89$3.25
SFT2030-Y-OR$6.49$5.19$4.87$4.54$4.22$3.89$3.25
SFT2030-Y-BL$6.49$5.19$4.87$4.54$4.22$3.89$3.25
SFT2030-A-GN$6.49$5.19$4.87$4.54$4.22$3.89$3.25
SFT2030-A-YL$6.49$5.19$4.87$4.54$4.22$3.89$3.25
SFT2030-A-OR$6.49$5.19$4.87$4.54$4.22$3.89$3.25
SFT2030-A-BL$6.49$5.19$4.87$4.54$4.22$3.89$3.25
SFT3000$39.99$31.99$29.99$27.99$25.99$23.99$20.00
SFT3001$19.99$15.99$14.99$13.99$12.99$11.99$10.00
SFT1002-5OR$39.99$31.99$29.99$27.99$25.99$23.99$20.00

I undesrtand that I could mix INDEX with MATCH, or even VLOOKUP iwth INDEX and MATCH, but is not working on my side at all, please help me
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Hi & welcome to MrExcel.
Are you happy changing the headers on table 2?
 
Upvote 0
Ok, how about
Fluff.xlsm
ABCDEFGH
1SKU (table 2)11050100150200250
2SKURetail20%25%30%35%40%50%
3SFT1006-3OR$24.99$19.99$18.74$17.49$16.24$14.99$12.50
4SFT1006-4OR$24.99$19.99$18.74$17.49$16.24$14.99$12.50
5SFT1006-5OR$24.99$19.99$18.74$17.49$16.24$14.99$12.50
6SFT1006-3YL$24.99$19.99$18.74$17.49$16.24$14.99$12.50
7SFT1006-4YL$24.99$19.99$18.74$17.49$16.24$14.99$12.50
8SFT1006-5YL$24.99$19.99$18.74$17.49$16.24$14.99$12.50
9SFT1006-3WT$24.99$19.99$18.74$17.49$16.24$14.99$12.50
10SFT1006-4WT$24.99$19.99$18.74$17.49$16.24$14.99$12.50
11SFT1006-5WT$24.99$19.99$18.74$17.49$16.24$14.99$12.50
12SFT1002-5OR$39.99$31.99$29.99$27.99$25.99$23.99$20.00
13SFT1005-5GD$99.99$79.99$74.99$69.99$64.99$59.99$50.00
14SFT1009-2OR$24.99$19.99$18.74$17.49$16.24$14.99$12.50
15SFT1009-3OR$24.99$19.99$18.74$17.49$16.24$14.99$12.50
16SFT1009-4OR$24.99$19.99$18.74$17.49$16.24$14.99$12.50
17SFT1009-2YL$24.99$19.99$18.74$17.49$16.24$14.99$12.50
18SFT1009-3YL$24.99$19.99$18.74$17.49$16.24$14.99$12.50
19SFT1009-4YL$24.99$19.99$18.74$17.49$16.24$14.99$12.50
20SFT1010-2GN$29.99$23.99$22.49$20.99$19.49$17.99$15.00
21SFT1010-3GN$29.99$23.99$22.49$20.99$19.49$17.99$15.00
22SFT1010-4GN$29.99$23.99$22.49$20.99$19.49$17.99$15.00
23SFT1010-3LB$29.99$23.99$22.49$20.99$19.49$17.99$15.00
24SFT1010-4LB$29.99$23.99$22.49$20.99$19.49$17.99$15.00
25SFT1011-4RD$39.99$31.99$29.99$27.99$25.99$23.99$20.00
26SFT1012-4EM$59.99$47.99$44.99$41.99$38.99$35.99$30.00
27SFT1050-3$32.00$25.60$24.00$22.40$20.80$19.20$16.00
28SFT1050-4$32.00$25.60$24.00$22.40$20.80$19.20$16.00
29SFT1051-3$42.00$33.60$31.50$29.40$27.30$25.20$21.00
30SFT1051-4$42.00$33.60$31.50$29.40$27.30$25.20$21.00
31SFT1015-4BK$39.99$31.99$29.99$27.99$25.99$23.99$20.00
32SFT1016-4OR$29.99$23.99$22.49$20.99$19.49$17.99$15.00
33SFT1016-5OR$29.99$23.99$22.49$20.99$19.49$17.99$15.00
34SFT1020-4BL$29.99$23.99$22.49$20.99$19.49$17.99$15.00
35SFT1020-5BL$29.99$23.99$22.49$20.99$19.49$17.99$15.00
36SFT1021-5OR$39.99$31.99$29.99$27.99$25.99$23.99$20.00
37SFT1030-1OR$14.99$11.99$11.24$10.49$9.74$8.99$7.50
38SFT1030-1YL$14.99$11.99$11.24$10.49$9.74$8.99$7.50
39SFT1031-RD$84.99$67.99$63.74$59.49$55.24$50.99$42.50
40SFT2030-Y-GN$6.49$5.19$4.87$4.54$4.22$3.89$3.25
41SFT2030-Y-YL$6.49$5.19$4.87$4.54$4.22$3.89$3.25
42SFT2030-Y-OR$6.49$5.19$4.87$4.54$4.22$3.89$3.25
43SFT2030-Y-BL$6.49$5.19$4.87$4.54$4.22$3.89$3.25
44SFT2030-A-GN$6.49$5.19$4.87$4.54$4.22$3.89$3.25
45SFT2030-A-YL$6.49$5.19$4.87$4.54$4.22$3.89$3.25
46SFT2030-A-OR$6.49$5.19$4.87$4.54$4.22$3.89$3.25
47SFT2030-A-BL$6.49$5.19$4.87$4.54$4.22$3.89$3.25
48SFT3000$39.99$31.99$29.99$27.99$25.99$23.99$20.00
49SFT3001$19.99$15.99$14.99$13.99$12.99$11.99$10.00
50SFT1002-5OR$39.99$31.99$29.99$27.99$25.99$23.99$20.00
Sheet2


Fluff.xlsm
ABCDEFG
1#DESCRIPTION OF THE PRODUCT (Table 1)SKUQTYRATEAMOUNT (USD)
21Amador Training Size 3, Orange/Black/Yellow/Grey-SFT1006-3OR11$19.99$ -
32Amador Training Size 3, Orange/Black/Yellow/Grey-SFT1006-3OR9$24.99$ -
43Amador Training Size 3, Orange/Black/Yellow/Grey-SFT1006-3OR10$19.99$ -
54Amador Training Size 3, Orange/Black/Yellow/Grey-SFT1006-3OR49$19.99$ -
65Amador Training Size 3, Orange/Black/Yellow/Grey-SFT1006-3OR50$18.74$ -
76Amador Training Size 3, Orange/Black/Yellow/Grey-SFT1006-3OR99$18.74$ -
87Amador Training Size 3, Orange/Black/Yellow/Grey-SFT1006-3OR100$17.49$ -
98Amador Training Size 3, Orange/Black/Yellow/Grey-SFT1006-3OR149$17.49$ -
109Amador Training Size 3, Orange/Black/Yellow/Grey-SFT1006-3OR150$16.24$ -
1110Amador Training Size 3, Orange/Black/Yellow/Grey-SFT1006-3OR249$14.99$ -
1211Amador Training Size 3, Orange/Black/Yellow/Grey-SFT1006-3OR250$12.50$ -
1312Amador Training Size 3, Orange/Black/Yellow/Grey-SFT1006-3OR251$12.50$ -
1413Amador Training Size 3, Orange/Black/Yellow/Grey-SFT1006-3OR#N/A$ -
1514Amador Training Size 3, Orange/Black/Yellow/Grey-SFT1006-3OR3$24.99$ -
1615Amador Training Size 3, Orange/Black/Yellow/Grey-SFT1006-3OR15$19.99$ -
1716Amador Training Size 3, Orange/Black/Yellow/Grey-SFT1006-3OR55$18.74$ -
1817Amador Training Size 3, Orange/Black/Yellow/Grey-SFT1006-3OR110$17.49$ -
1918Amador Training Size 3, Orange/Black/Yellow/Grey-SFT1006-3OR170$16.24$ -
2019Amador Training Size 3, Orange/Black/Yellow/Grey-SFT1006-3OR280$12.50$ -
2120Amador Training Size 3, Orange/Black/Yellow/Grey-SFT1006-3OR300$12.50$ -
Sheet1
Cell Formulas
RangeFormula
F2:F21F2=INDEX(Sheet2!$B$3:$H$50,MATCH(D2,Sheet2!$A$3:$A$50,0),MATCH(E2,Sheet2!$B$1:$H$1,1))
 
Upvote 0
thanks, and i totally understand the sense of the formula, but i dont know why doesn't wanto to work on my spreadsheet


this is the URL of this, if you can help me to join on it please
 
Upvote 0
That link is asking me to sign in. You need to mark it as shared & then post the link you are given.
 
Upvote 0

here you go
 
Upvote 0
Thanks for that, how about
Excel Formula:
=INDEX(SKUs!$D$3:$J$50,MATCH(G16,SKUs!$C$3:$C$50,0),MATCH(H16,SKUs!$D$1:$J$1,1))
 
Upvote 0
Solution

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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