#This Row reference from Text

neplecha

New Member
Joined
Oct 30, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi everyone,

I was wondering if it's possible to create #This Row type table reference using a text stored in another cell - I have unsuccessfully tried a few things including INDIRECT but nothing worked.

BACKGROUND: my spreadsheet has a manual input in the cell A1 and a formula stored in a cell A2 that determines which column the A1 value refers to (as I have 12 different columns - it's a complex org structure piece).
So A2 throws column reference (e.g. [Org Unit L3 - ID] based on provided org unit ID) which is fine, however, I'm trying to figure out, how I could use that value to generate 'this row' reference (in this case [@[Org Unit L3 - ID]] ) that would interactively work and change based on A1 & A2.

I can't use macro in this instance, only formulas. Any tips would be really appreciated.
Thank you
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Welcome to the Forum!

It's not completely clear what your layout is, but here are two ideas that might get you started?

Book10
ABCDEFGH
1MyValsAABBCCDD
2CC16412
384288
459352
5813810
6
7
8MyValsAABBCCDD
9CC16412
1084288
1159352
12813810
13
Sheet3
Cell Formulas
RangeFormula
B2:B5B2=INDEX(Table1,,MATCH(A2,Table1[#Headers],))
B9:B12B9=INDIRECT("Table2[@"&A$9&"]")
Dynamic array formulas.
 
Upvote 0
Solution
****, it works! I feel stupid. Didn't occur to me try combining the table name with [@... as ordinarily thisrow reference doesn't require the table name. Thank you so much! :)
 
Upvote 0
No problem, glad we could help.

It's easy to overlook the obvious - I've done it many times!
 
Upvote 0

Forum statistics

Threads
1,223,838
Messages
6,174,942
Members
452,593
Latest member
Jason5710

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