Need Help - INDEX/MATCH if value to find falls within a range

B5rocksass

Board Regular
Joined
Jan 10, 2017
Messages
56
Office Version
  1. 2016
Platform
  1. Windows
Hello. I'm having difficulty creating this formula. I need to find a value that falls on or between another value, then returns another value. I've tried IF statements and INDEX/MATCH formulas, and ultimately i think i need both. Here is a clip of what i'm working with. Say I have 1,200 pcs of an item. My price break falls along this table: 500, 750, 1000, 1500 and the value I need to return is the cost of that quantity for that range. Please help! Thank you.

ITEM50075010001500
CARD HOLDERS1.291.221.191.15
TOTE BAGS2.472.42.372.33


 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
What version of Excel are you using?
Please update your account details to show this, as it affects which functions you can use.

Also for 1200 pcs should it return the price for 1000 or 1500?
 
Upvote 0
Sheet1

CDEFGHIJK
3Range1Range2Range3Range4
4ITEM50075010001500ITEMITEM1000
5CARD HOLDERS1.291.221.191.15CARD HOLDERSCARD HOLDERS1.19
6TOTE BAGS2.472.42.372.33TOTE BAGSTOTE BAGS2.37

Formeln der Tabelle
ZelleFormel
K5{=INDEX($D5:$G5,1,SUM(--(($D$4:$G$4/$K$4)<=1)))}
K6{=INDEX($D6:$G6,1,SUM(--(($D$4:$G$4/$K$4)<=1)))}
Enthält Matrixformel:
Umrandende { } nicht miteingeben,
sondern Formel mit STRG+SHIFT+RETURN abschließen!


Excel Tabellen im Web darstellen >> Excel Jeanie HTML 4.8
 
Upvote 0
A non array formula is you have 365
+Fluff v2.xlsm
ABCDEFGHI
1Less thenGreater than
2ITEM5007501000150012001200
3CARD HOLDERS1.291.221.191.15Tote bags2.372.33
4TOTE BAGS2.472.42.372.33Card holders1.191.15
Data
Cell Formulas
RangeFormula
H3:H4H3=XLOOKUP($G3,$A$3:$A$4,XLOOKUP(H$2,$B$2:$E$2,$B$3:$E$4,"",-1),"",0)
I3:I4I3=XLOOKUP($G3,$A$3:$A$4,XLOOKUP(I$2,$B$2:$E$2,$B$3:$E$4,"",1),"",0)
 
Upvote 0
If you don't have 365 & you want the lower value you can use
+Fluff v2.xlsm
ABCDEFGH
1Less then
2ITEM500750100015001200
3CARD HOLDERS1.291.221.191.15Tote bags2.37
4TOTE BAGS2.472.42.372.33Card holders1.19
Data
Cell Formulas
RangeFormula
H3:H4H3=INDEX($B$3:$E$4,MATCH(G3,$A$3:$A$4,0),MATCH($H$2,$B$2:$E$2,1))
 
Upvote 0
Solution
The version of Excel I am using is Prof 2016.
I am looking for the lower number since i met the price break for 1,000 but not 1,500.
Thank you Fluff!
Thank you everyone for all your help!
 
Upvote 0
Glad we could help & thanks for the feedback.

Please don't forget to update your account details to show your version of Excel & then scroll down & click save. ;)
 
Upvote 0

Forum statistics

Threads
1,214,975
Messages
6,122,538
Members
449,088
Latest member
RandomExceller01

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