O365 Structured Reference throwing #REF! error

kupdegrove

New Member
Joined
Nov 23, 2021
Messages
3
Office Version
  1. 365
  2. 2013
  3. 2011
Platform
  1. Windows
  2. MacOS
This one has me COMPLETELY stumped. Using two identical structured references, the first works beautifully and the second throws a #REF error. I have tried everything I can find to no avail. The source sheets are different but there is nothing special about either. These two formulas are in columns right next to each other in the same worksheet and both source worksheets are in the workbook

=INDEX(tbl_vips,MATCH([@Name],tbl_vips[VIP],0))
Correctly returns the corresponding VIP column from tbl_vips
=INDEX(tbl_builds,MATCH([@Name],tbl_builds[Computer Name],0))
Correctly returns #N/A when the MATCH fails but returns #REF! when there's a Match (confirmed via manual comparison) Naturally, the error pop-up indicates "Invalid Cell Reference" so it's not finding tbl_builds[Computer Name] for some reason

Any help would be greatly appreciated as this is driving me nuts.
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Hi & welcome to MrExcel.
How many columns do you have in both those tables?
 
Upvote 0
Hi & welcome to MrExcel.
How many columns do you have in both those tables?
Thank you! tbl_vips has a single column (just a lookup table). tbl_builds has 2 (computer name and OS) Although I only need the name.
 
Upvote 0
That's the cause of your problem, with the two column table you need to specify which column to return.
If you just want to return the same value you are looking up, then try
Excel Formula:
=INDEX(tbl_builds[Computer Name],MATCH([@Name],tbl_builds[Computer Name],0))
 
Upvote 0
Solution
That's the cause of your problem, with the two column table you need to specify which column to return.
If you just want to return the same value you are looking up, then try
Excel Formula:
=INDEX(tbl_builds[Computer Name],MATCH([@Name],tbl_builds[Computer Name],0))
Doh! Rookie mistake. I know that too :-/ That fixed it. Thank you so much!
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,063
Messages
6,122,927
Members
449,094
Latest member
teemeren

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