Using INDEX MATCH with table ranges.

Darranimo

Board Regular
Joined
Jan 19, 2022
Messages
52
Office Version
  1. 365
Platform
  1. Windows
I have the current formula:
Excel Formula:
=IFERROR(INDEX(tblGL[@[udCheckNo]:[udVoid]],1,MATCH($D$4,tblGL[udVoid],0)),"")

I am trying to return the check numbers from a table if column "udVoid" is true but it doesn't return anything. Cell D4 has the text "Void Ch" which is what appears in the column "udVoid" and I'm trying to match to. Am I not able to select a table range like I did with INDEX MATCH? I was hoping to avoid writing some script for this but maybe that's what I should do. Any advice or help would be greatly appreciated.

Sincerely,

A Lazy Accountant
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Since you have Excel 365 you may want to use the FILTER function which will return multiple check numbers.
See example below.
Book2
ABCDEFG
1Ceck#Column1udVoidVoid Ch
2100Void Ch100
3101test102
4102Void Ch103
5103Void Ch
6104test
Sheet1
Cell Formulas
RangeFormula
G2:G4G2=FILTER(Table1[Ceck'#],Table1[udVoid]=G1,"")
Dynamic array formulas.
 
Upvote 0
Solution
OMG! I was totally unaware of the FILTER function! Thank you, this is perfect!
 
Upvote 0

Forum statistics

Threads
1,215,133
Messages
6,123,234
Members
449,092
Latest member
SCleaveland

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