Index((match(),match()) greater than issues

Afro_Cookie

Board Regular
Joined
Mar 17, 2020
Messages
103
Office Version
  1. 365
Platform
  1. Windows
Hi everyone,

I've looked and found several posts about using the greater than match type in index(match formula's but none have any with 2 match references and I'm stuck. I am building an AQL inspection table and want the sample size to be automatically indicated for our team however the value always drops down one level. I want it to go to the next greatest value but can't find a way to do it. Can anyone please help me out?

Book1
C
10
Sheet1
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
@Afro_Cookie you need to select a range of cells, not just a single cell.
changing the range in the matches turns the results into a spill formula, but returns the same results as though I selected a single cell and copied the formula down my table.
 
Upvote 0
You need to select all the cells with the data, before clicking on the mini-sheet, not just a single cell.
 
Upvote 0
You need to select all the cells with the data, before clicking on the mini-sheet, not just a single cell.
Book1
ABCDEFGHIJ
1Inspection levelTotal unitsReturned resultdesired result123S4
2110000808080220
311000180125152330
413200080125253550
5135000125125500880
690513130
7150820200
828013323213
950020505013
10120032808020
1132005012512532
12100008020020032
133500012531531550
1415000020050050080
1550000031580080080
165000015001250125080
Sheet1
Cell Formulas
RangeFormula
C2:C5C2=INDEX($G$2:$J$16,MATCH(B2:B5,$F$2:$F$16,1),MATCH(A2:A5,$G$1:$J$1,0))
Dynamic array formulas.
 
Upvote 0
Thanks for that, how about
Excel Formula:
=INDEX($G$2:$J$16,XMATCH(B2:B5,$F$2:$F$16,1),MATCH(A2:A5,$G$1:$J$1,0))
 
Upvote 0
Solution
Thanks for that, how about
Excel Formula:
=INDEX($G$2:$J$16,XMATCH(B2:B5,$F$2:$F$16,1),MATCH(A2:A5,$G$1:$J$1,0))
As always Fluff, you've helped me with a headache in minutes. Appreciate the support :)
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,705
Messages
6,173,985
Members
452,540
Latest member
haasro02

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