Forum Discussion
Connie64131
Dec 08, 2023Copper Contributor
merging 2 spreadsheets with different rows
I have 2 spreadsheets. Spreadsheet 1 has a lot of data (35 columns and 1600+ rows). Spreadsheet 2 does not have as much data (4 columns and 1400+ rows) but one of the columns needs to be merged into Spreadsheet 1.
Each one has client IDs and the task we do for that client. Spreadsheet 2 has a rating column for those client IDs/tasks. Spreadsheet 1 has the column but it is blank for all. Spreadsheet 1 also has additional rows in it for tasks that do not have a rating. Those should be left blank in the final spreadsheet.
How can I merge these 2 spreadsheets to get the info of the missing column info into the final spreadsheet?
- OliverScheurichGold Contributor
=IFERROR(INDEX($H$3:$H$12,MATCH(1,(A3=$F$3:$F$12)*(B3=$G$3:$G$12),0)),"")
You can apply this formula for the sample data. The formula can be adapted to the actual size of the data and additional columns don't interfere with the formula. Enter the formula with ctrl+shift+enter if you don't work with Office 365 or Excel for the web or Excel 2021.
- Connie64131Copper Contributor
- OliverScheurichGold Contributor
Can you attach screenshots of your worksheets (which show all relevant information) or your file both without sensitive data? This way i can make a suggestion on how to adapt the formula to your actual database.