Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 88066

Adding values of cells in different excel file

$
0
0

I am adding the values of the same cells but from 2 (or more) different Excel files, using this formula:

='E:\NCD INTEGRATED MONITORING\2019\[NCD Monitoring Tool 2019 (1st Quarter).xlsx]TOTALS'!$C$11+'E:\NCD INTEGRATED MONITORING\2019\[NCD Monitoring Tool 2019 (2nd Quarter).xlsx]TOTALS'!$C$11

I need to change the last part of the formula so that it will automatically get the current cell row number and use it as a cell row number locator to another Excel file. I want to achieve something like this:

='E:\NCD INTEGRATED MONITORING\2019\[NCD Monitoring Tool 2019 (1st Quarter).xlsx]TOTALS'!$C$(ROW())+'E:\NCD INTEGRATED MONITORING\2019\[NCD Monitoring Tool 2019 (2nd Quarter).xlsx]TOTALS'!$C$(ROW())

Can someone help me? I've searched it on google but I was unsuccessful. Thank you


Viewing all articles
Browse latest Browse all 88066

Trending Articles