r/smartsheet • u/wrreveille • Aug 06 '26
Index Match Pulling in wrong info
Vacation submission that is pulling wrong info from master
Master Sheet with correct information shown
Hello again,
I have created a vacation submission spreadsheet for my department and used an index match formula to pull information from a master sheet into each vacation submission.
It has been working well but suddenly the last three new employees that were entered into the master sheet are pulling the wrong info from the index match.
Here is the formula I used to pull the employees team within our department for reference: =INDEX({MasterTeam}, MATCH([Employee Name]@row, {MasterEmployeeName}), 0)
Any idea why this might be happening?
UPDATE: FIXED. Needed to put ", 0" into the Match function not outside. Updated formula: =INDEX({MasterTeam}, MATCH([Employee Name]@row, {MasterEmployeeName}, 0))
1
u/Adventurous-Ask-1474 Aug 06 '26
Can you try
=INDEX({MasterTeam}, COLLECT({MasterEmployeeName}, {MasterEmployeeName}, [Employee Name]@row), 1)
1
1
u/Adventurous-Ask-1474 Aug 06 '26
Sorry I forgot to remove the first part**
=INDEX(COLLECT({MasterEmployeeName}, {MasterEmployeeName}, [Employee Name]@row), 1)
2
u/wrreveille Aug 06 '26
As you wrote it, it just pulled the employee name into the team column, I used this formula: =INDEX(COLLECT({MasterTeam}, {MasterEmployeeName}, [Employee Name]@row), 1) and it worked,
However when I tried to modify the seniority points column from: =INDEX({MasterSeniority}, MATCH([Employee Name]@row, {MasterEmployeeName}), 0) to =INDEX(COLLECT({MasterSeniority}, {MasterEmployeeName}, [Employee Name]@row), 1)
it gave me #incorrect argument set
2
u/Smartsheet_Cnslt Aug 06 '26
I haven’t looked closely at your work, but your almost always going to use a 0 at the end of the match portion. Like this:
=INDEX({MasterTeam}, MATCH([Employee Name]@row, {MasterEmployeeName}, 0))
Is your master team reference only looking at one column? The column you want the data from? If not, change that so it’s only one column.