I asked this yesterday, but I've cleared up some data this time. I have the following abridged sheet:
Sheet1
H AP AO
1 Transaction Description Employee Name Type
2 ER 12345678 blank blank
3 ER 13182984 blank blank
4 ER 18213289 blank blank
5 ER 13829429 blank blank
6 ER 89234024 blank blank
And a different abridged worksheet in the same file to reference the names against:
Sheet2
E I
1 Employee Name Expense Report Number
2 Chris Rock 12345678
3 Hank Hill 13182984
4 Tom Sawyer 18213289
5 Elon Musk 13829429
6 Tupac Shakur 89234024
And I was wondering how to efficiently fill in the first excel sheet's Employee Name and Type columns from the matching report number of the second sheet as such:
Sheet1
H AP AO
1 Transaction Description Employee Name Type
2 ER 12345678 Chris Rock A
3 ER 13182984 Hank Hill A
4 ER 18213289 Tom Sawyer A
5 ER 13829429 Elon Musk A
6 ER 89234024 Tupac Shakur A
My attempt so far:
=VLOOKUP(MID(H2,4,8)+0,'EEM BI + mapping'!E$2:I$1000,6,0)
However I'm not sure if VLOOKUP will work because the result I am trying to return is to the left of the column I am trying to match. Any help is much appreciated

@@ ########, if not then you will need to rethink your approach.LEN()to count the characters and make sure they are what they should be.