Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]() I have a folder with a number of identical workbooks each one saved under a different department. Each workbook contains 13 worksheets identified as Wk1 to Wk13 representing 13 weeks In week 13 I wish to identify in cell P5 the total of the contents of cell M5 in each of the 13 worksheets. I have tried several formulations but I either get an error message or it brings up the folder with all the workbooks as if I have hit the open icon. Each of the M5 cells will only have a number in it. Any help would be appreciated-- with kind regards Mick |
#2
![]() |
|||
|
|||
![]()
If I understand you correctly, you can use
=SUM(Wk1:Wk13!M5) In article , Mick.J wrote: I have a folder with a number of identical workbooks each one saved under a different department. Each workbook contains 13 worksheets identified as Wk1 to Wk13 representing 13 weeks In week 13 I wish to identify in cell P5 the total of the contents of cell M5 in each of the 13 worksheets. I have tried several formulations but I either get an error message or it brings up the folder with all the workbooks as if I have hit the open icon. Each of the M5 cells will only have a number in it. Any help would be appreciated-- with kind regards Mick |
#3
![]() |
|||
|
|||
![]()
Mick,
In simplest terms you would reference to only one cell. So P5 can only return the value of one cell. To do this - Place the cursor in P5 Hit = Take the cursor to one of the worksheets Place the cursor in cell M5 Hit <enter That will return the value of cell M5 in worksheet x at cell P5 in worksheet y If the worksheet to which the formula refers is in the same spreadsheet the reference will change as the structure (layout) is changed. If, however, the worksheet to which the formula refers is NOT in the same spreadsheet the reference will NOT change as the structure (layout) is changed and the output will be incorrect. To get round this problem you should first name the target cells. To do this - Place the cursor in the target cell Click on <Insert<Name<Define Type in a name (e.g.Total) Click <OK and continue as above If you want the total of the 13 Cells P5 after hitting <enter - insert = at the end of the formula and just go round again until all 13 cells are included in the formula. Regards. Bill Ridgeway Computer Solutions "Mick.J" wrote in message ... I have a folder with a number of identical workbooks each one saved under a different department. Each workbook contains 13 worksheets identified as Wk1 to Wk13 representing 13 weeks In week 13 I wish to identify in cell P5 the total of the contents of cell M5 in each of the 13 worksheets. I have tried several formulations but I either get an error message or it brings up the folder with all the workbooks as if I have hit the open icon. Each of the M5 cells will only have a number in it. Any help would be appreciated-- with kind regards Mick |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Counting the total number of cells with specified condition(freque | Excel Discussion (Misc queries) | |||
Counting the number of cells meeting conditional formating criteria | Excel Worksheet Functions | |||
Adding separate accumulators for multiple cells | New Users to Excel | |||
How can I have excel search and add multiple cells to find a targe | Excel Discussion (Misc queries) | |||
Convert data of cells to any type: Number, Date&Time, Text | Excel Discussion (Misc queries) |