So my problem is this:
Sheet 1 has a pivot table, Sheet 2 has the comparable data and formula, which will feed into a GETPIVOTDATA formula.
Sheet 1 entities (row names) looks like this: 123456_ABC
On Sheet 2 they look like this: 123456
I'm trying to use an index/match function to get the full entity names from Sheet 1 without having to insert a new column:
=INDEX('Sheet 1'!A:A, MATCH('Sheet 2'!A12, LEFT('Sheet 1'!A:A, FIND("_", 'Sheet 1'!A:A&"_")-1),0)
I'm following this guideline:
=INDEX (column to return a value from, (MATCH (lookup value, column to lookup against, 0))
Its just not working. Does anyone have any suggestions?
EDIT: For some reason, SO is not showing the _ in between " " after FIND
FIND("_", 'Sheet 1'!A:A&"_")produces the expected result, then check that yourLEFT(...works correctly, and so on. Also, post the result: what error message is displayed on the cell? - MehdiA:A&"_"part inside your find function?FIND("_", 'Sheet 1'!A:A&"_")- Mehdi