Pull text from related table

emccauley

New Member
Joined
May 8, 2012
Messages
4
I have two tables and I am trying to find a formula that will allow me to pull the text over from a table that has duplicates to a table that does not. But I keep getting errors like "the value for column 'Name of Column' in table 'Name of Table' cannot be determined in the current context".
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Have you tried the RELATED function? It should be pretty straightforward.
Can you provide samples of your tables?
 
Upvote 0
I just reread your original question.
I am trying to find a formula that will allow me to pull the text over from a table that has duplicates to a table that does not.
If there are multiple values in the column in the table on that side of the relationship then what value do you want to show?
 
Upvote 0
Well it depends on which column I trying to pull over, but I don't really have a preference at the moment of which value. I just want something rather than #ERROR.
 
Upvote 0
Try:
Code:
=CALCULATE(TOPN(1,VALUES(Table1[Col2]),Table1[Col2],1))
where I assume that Table1 has the duplicates and that Table1[Col2] is the column that you want to retrieve from Table1.
 
Upvote 0

Forum statistics

Threads
1,214,644
Messages
6,120,709
Members
448,983
Latest member
Joaquim_Baptista

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