2003 sp3
Afternoon all
Is there a smarter was to sum cells from another worksheet rather than typing out something like this
=Planner!AR7+Planner!AR72+Planner!AR137+Planner!AR201+Planner!AR266+Planner!AR331+Planner!AR396+Planner!AR461+Planner!AR526+Planner!AR591+Planner!AR666+Planner!AR721
I have tried to Google for 'Sum several cells from another worksheet' etc. but have not happened upon a solution
summing multiple cells from another WS
-
- SilverLounger
- Posts: 1952
- Joined: 26 Jan 2010, 12:46
- Location: Nr. Heathrow Airport
summing multiple cells from another WS
Steve
http://www.freightpro-uk.com" onclick="window.open(this.href);return false;
“Tell me and I forget, teach me and I may remember, involve me and I learn.”
― Benjamin Franklin
http://www.freightpro-uk.com" onclick="window.open(this.href);return false;
“Tell me and I forget, teach me and I may remember, involve me and I learn.”
― Benjamin Franklin
-
- SilverLounger
- Posts: 1952
- Joined: 26 Jan 2010, 12:46
- Location: Nr. Heathrow Airport
Re: summing multiple cells from another WS
I should have played around a little longer, it was as simple as (me?)steveh wrote:2003 sp3
Afternoon all
Is there a smarter was to sum cells from another worksheet rather than typing out something like this
=Planner!AR7+Planner!AR72+Planner!AR137+Planner!AR201+Planner!AR266+Planner!AR331+Planner!AR396+Planner!AR461+Planner!AR526+Planner!AR591+Planner!AR666+Planner!AR721
I have tried to Google for 'Sum several cells from another worksheet' etc. but have not happened upon a solution
=SUM(Planner!AR7+AR72+AR137+AR201+AR266+AR331+AR396+AR461+AR526+AR591+AR666+AR721)
Steve
http://www.freightpro-uk.com" onclick="window.open(this.href);return false;
“Tell me and I forget, teach me and I may remember, involve me and I learn.”
― Benjamin Franklin
http://www.freightpro-uk.com" onclick="window.open(this.href);return false;
“Tell me and I forget, teach me and I may remember, involve me and I learn.”
― Benjamin Franklin
-
- Administrator
- Posts: 78631
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: summing multiple cells from another WS
No! Your formula will sum AR7 from the Planner sheet and the other cells from the sheet containing the formula!
You could select the 12 cells and name them by typing a name in the address box on the left hand side of the formula bar. You can then use the name in the formula, e.g. =SUM(MyCells).
You could select the 12 cells and name them by typing a name in the address box on the left hand side of the formula bar. You can then use the name in the formula, e.g. =SUM(MyCells).
Best wishes,
Hans
Hans
-
- SilverLounger
- Posts: 1952
- Joined: 26 Jan 2010, 12:46
- Location: Nr. Heathrow Airport
Re: summing multiple cells from another WS
Trust me for thinking I could leave the New Year on a high!!HansV wrote:No! Your formula will sum AR7 from the Planner sheet and the other cells from the sheet containing the formula!
You could select the 12 cells and name them by typing a name in the address box on the left hand side of the formula bar. You can then use the name in the formula, e.g. =SUM(MyCells).
That works great, one question though, for obvious reasons you can's drag this down, for example I have highlighted the 12 Holiday total cells for the first employee and called it emp1H, I have then done the same for Sickness, emp1H, but I have 60 employee's and 9 categories to account for. I don't mind doing the work but will an extra 540 Ranges, so to speak, slow the workbook up to a great degree?
Steve
http://www.freightpro-uk.com" onclick="window.open(this.href);return false;
“Tell me and I forget, teach me and I may remember, involve me and I learn.”
― Benjamin Franklin
http://www.freightpro-uk.com" onclick="window.open(this.href);return false;
“Tell me and I forget, teach me and I may remember, involve me and I learn.”
― Benjamin Franklin
-
- Administrator
- Posts: 78631
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: summing multiple cells from another WS
That would be more work than it's worth. It should be possible to avoid enumerating the individual cells by using a SUMIF or SUMPRODUCT formula.
Best wishes,
Hans
Hans
-
- SilverLounger
- Posts: 1952
- Joined: 26 Jan 2010, 12:46
- Location: Nr. Heathrow Airport
Re: summing multiple cells from another WS
Hi HansHansV wrote:That would be more work than it's worth. It should be possible to avoid enumerating the individual cells by using a SUMIF or SUMPRODUCT formula.
Thank you. I ended up doing ot the way that I first said =Planner!AR7+Planner!AR72+Planner!AR137+Planner!AR202+Planner!AR266+Planner!AR331+Planner!AR396+Planner!AR461+Planner!AR526+Planner!AR591+Planner!AR656+Planner!AR721 and then dragging it across and down the 60 columns which only toook a few minutes but I just though that there would be a more effecient or elegant way. But anyway, job done.
Steve
http://www.freightpro-uk.com" onclick="window.open(this.href);return false;
“Tell me and I forget, teach me and I may remember, involve me and I learn.”
― Benjamin Franklin
http://www.freightpro-uk.com" onclick="window.open(this.href);return false;
“Tell me and I forget, teach me and I may remember, involve me and I learn.”
― Benjamin Franklin
-
- Administrator
- Posts: 78631
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: summing multiple cells from another WS
As I mentioned in my previous reply, it would probably be possible to create a SUMIF or SUMPRODUCT formula.
Just out of curiosity: from AR7 to AR72 is 65 rows, from AR72 to AR137 is 65 rows etc., with one exception: from AR202 to AR266 is only 64 rows. Why is that?
Just out of curiosity: from AR7 to AR72 is 65 rows, from AR72 to AR137 is 65 rows etc., with one exception: from AR202 to AR266 is only 64 rows. Why is that?
Best wishes,
Hans
Hans
-
- SilverLounger
- Posts: 1952
- Joined: 26 Jan 2010, 12:46
- Location: Nr. Heathrow Airport
Re: summing multiple cells from another WS
Sorry Hans I did not notice this replyHansV wrote:As I mentioned in my previous reply, it would probably be possible to create a SUMIF or SUMPRODUCT formula.
Just out of curiosity: from AR7 to AR72 is 65 rows, from AR72 to AR137 is 65 rows etc., with one exception: from AR202 to AR266 is only 64 rows. Why is that?
It was a msitake at set up stage and by the time the form was populated with formulas etc. I was scared to change it because normally it throws everything out for me so as it really did no harm I left it. I realise now (3 years later) that having a fixed 65 would have been sooo much easier when referencing from other sheets etc.
Steve
http://www.freightpro-uk.com" onclick="window.open(this.href);return false;
“Tell me and I forget, teach me and I may remember, involve me and I learn.”
― Benjamin Franklin
http://www.freightpro-uk.com" onclick="window.open(this.href);return false;
“Tell me and I forget, teach me and I may remember, involve me and I learn.”
― Benjamin Franklin