I have 2 workbooks each of 31 worksheets. The 1st one contains data of which I want to calculate the average in the 2nd workbook separately for each worksheet. I used the function
=AVERAGE(INDIRECT("'C:\Users\lab9\Desktop\H\shift\[AN (32).xlsx]"&1&"'!$B$7:$B$18"))
How can I increment the number from 1 to 31 in that formula when copying sheets from 1 to 31 or when copy the formula from one sheet to another????
=AVERAGE(INDIRECT("'C:\Users\lab9\Desktop\H\shift\[AN (32).xlsx]"&1&"'!$B$7:$B$18"))
How can I increment the number from 1 to 31 in that formula when copying sheets from 1 to 31 or when copy the formula from one sheet to another????