ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Run macros on data spread across multiple spreadsheets (https://www.excelbanter.com/excel-discussion-misc-queries/157777-run-macros-data-spread-across-multiple-spreadsheets.html)

akapoor

Run macros on data spread across multiple spreadsheets
 
Hi,

I am working on large chunks of data spread across multiple spreadsheets.
I want to be able to run macros that treat data across these sheets as
contiguous.
eg. the avg() on column A should take into consideration all the values in
column A in all the spreadsheets.

Is this possible ?

Thanks in advance for your help!

Barb Reinhardt

Run macros on data spread across multiple spreadsheets
 
You don't necessarily need a macro to do this if the worksheets are in the
same workbook. Try something like this:

=AVERAGE(Sheet1:Sheet3!A:A)
--
HTH,
Barb Reinhardt



"akapoor" wrote:

Hi,

I am working on large chunks of data spread across multiple spreadsheets.
I want to be able to run macros that treat data across these sheets as
contiguous.
eg. the avg() on column A should take into consideration all the values in
column A in all the spreadsheets.

Is this possible ?

Thanks in advance for your help!


akapoor

Run macros on data spread across multiple spreadsheets
 
Thanks for the reply Barb.
I will try this out.

"Barb Reinhardt" wrote:

You don't necessarily need a macro to do this if the worksheets are in the
same workbook. Try something like this:

=AVERAGE(Sheet1:Sheet3!A:A)
--
HTH,
Barb Reinhardt



"akapoor" wrote:

Hi,

I am working on large chunks of data spread across multiple spreadsheets.
I want to be able to run macros that treat data across these sheets as
contiguous.
eg. the avg() on column A should take into consideration all the values in
column A in all the spreadsheets.

Is this possible ?

Thanks in advance for your help!



All times are GMT +1. The time now is 11:28 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com