Dec 08 2023 10:56 AM
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?
Dec 08 2023 11:15 AM
=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.
Dec 08 2023 02:13 PM
Dec 09 2023 10:12 AM
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.
Dec 11 2023 10:02 AM
As you can see the client name, client number, task type name are the same on both spreadsheets but the first spreadsheets has a lot of additional columns. The complexity level is the same but that is what needs to be inputted from the second spreadsheet into the first spreadsheet. Unfortunately, the first spreadsheet has additional clients listed that are new this year so it is not a simple copy and paste matter. The client number and task type name have to match from the first and second spreadsheet and then add the complexity level. I hope this makes sense. I am not a beginner at Excel but I also am not advanced enough to know how to do this and where to put the formulas to make this occur.
Dec 11 2023 11:27 AM
=IFERROR(INDEX(Table1[Complexitiy level],MATCH(1,([@[Client Number]]=Table1[Client Number])*([@[Task Type Name]]=Table1[Task Type Name]),0)),"")
I've made a small sample file. The formula is in the first row of the "Complexity level" column of the first spreadsheet. The formula is dynamically filled down the "Complexity level" column which is an advantage of working with dynamic tables.
Dec 11 2023 11:50 AM
Dec 11 2023 12:05 PM
=IFERROR(INDEX(Table1[Complexity level],MATCH(1,([@[Client Number]]=Table1[Client Number])*([@[Task Type Name]]=Table1[Task Type Name]),0)),"")
All information from Table1 (highlighted in red) is from the second spreadsheet from where the complexity level is pulled.
If the name of your table in the second spreadsheet is "SecondSheetTable" then this should work:
=IFERROR(INDEX(SecondSheetTable[Complexity level],MATCH(1,([@[Client Number]]=SecondSheetTable[Client Number])*([@[Task Type Name]]=SecondSheetTable[Task Type Name]),0)),"")
If you don't work with Office 365 or Excel for the web or Excel 2021 you'll have to enter the formula as an arrayformula by pressing ctrl+shift+enter.
Dec 11 2023 12:26 PM