diversification
New Member
- Joined
- Jun 24, 2020
- Messages
- 37
- Office Version
- 365
- Platform
- Windows
Hello, I'm trying to create an INDEX MATCH function that will cross reference account numbers and return a date. Below I've created two mock Sheets of data similar to what I'll be using (Sheet_1 and Sheet_2.) The columns of data that do not matter are named "Whatever."
What we know:
What we don't know:
Obviously not knowing the column position is what makes writing this difficult, but I do need a formula that's generic so I can copy/paste it without needing much modification. I've tried to write in addition nested MATCH formulas which find the column locations and then use SUBSTITUTE to turn the column number into a letter, but it doesn't work out. Can anyone help me with this, please?
Sheet_1
Sheet_2
Thanks!
What we know:
- The names of the columns we want to work with. On Sheet_1 it's "Dates" and "Account Numbers" and on Sheet_2 it's "Acct"
- We know that the column headers will exist in Row 1 of their respective sheets
What we don't know:
- The position of the columns we want. "Dates" could be in column A, R, Z, AN, ZZZ, etc, etc, etc. The same goes for "Account Numbers" and "Acct"
Obviously not knowing the column position is what makes writing this difficult, but I do need a formula that's generic so I can copy/paste it without needing much modification. I've tried to write in addition nested MATCH formulas which find the column locations and then use SUBSTITUTE to turn the column number into a letter, but it doesn't work out. Can anyone help me with this, please?
Sheet_1
Whatever | Dates | Whatever1 | Account Numbers | Whatever2 | Whatever3 |
blah | 09/01/2020 | blah | 1234 | blah | blah |
blah | 09/07/2020 | blah | 4444 | blah | blah |
blah | 08/25/2020 | blah | 6622 | blah | blah |
blah | 09/16/2020 | blah | 3030 | blah | blah |
Sheet_2
Whatever | Whatever4 | Acct | Whatever5 | Formula column |
blah | blah | 4343 | blah | |
blah | blah | 0011 | blah | |
blah | blah | 4444 | blah | 09/07/2020 |
Thanks!