S Samadhan Gaikwad Member Dec 22, 2017 #1 Hi, I have main table with many columns. I have to map columns from 2nd table for given rows and add values in table1. Please find below attachments. Attachments Tables.JPG 87.4 KB · Views: 7 Match_ColumnsAnd_AddValues.xlsm 8.9 KB · Views: 2
Hi, I have main table with many columns. I have to map columns from 2nd table for given rows and add values in table1. Please find below attachments.
Hui Excel Ninja Staff member Dec 22, 2017 #2 Using your pictur4 as a template: O2: =IFERROR(INDEX($B$2:$E$19,MATCH($N2,$A$2:$A$19,0), MATCH(O$1,$B$1:$E$1,0)),0) + IFERROR(INDEX($J$2:$K$10,MATCH($N2,$I$2:$I$10,0), MATCH(O$1,$J$1:$K$1,0)),0) or see attached file: Attachments Copy of Match_ColumnsAnd_AddValues.xlsm 9.9 KB · Views: 5
Using your pictur4 as a template: O2: =IFERROR(INDEX($B$2:$E$19,MATCH($N2,$A$2:$A$19,0), MATCH(O$1,$B$1:$E$1,0)),0) + IFERROR(INDEX($J$2:$K$10,MATCH($N2,$I$2:$I$10,0), MATCH(O$1,$J$1:$K$1,0)),0) or see attached file:
S Samadhan Gaikwad Member Dec 22, 2017 #3 Thank you, Hui! Just one query can we directly modify 1st table because ultimately I want this one to be modified.
Thank you, Hui! Just one query can we directly modify 1st table because ultimately I want this one to be modified.
Hui Excel Ninja Staff member Dec 22, 2017 #4 You can change the elements or the order of the column or row headers as required in either table