how do add cells

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Excel Training and help » How do i add cells from different workbooks? | Excel forum

How do i add cells from different workbooks? | Excel forum

resolvedResolved · Low Priority · Version 2007

Cheryl has attended:
Excel Intermediate course
Excel Advanced course

How do i add cells from different workbooks?

How do i add cells from different workbooks?

RE: How do i add cells from different workbooks?

Hi Cheryl

Thank you for your question regarding adding cells from different workbooks.

The syntax of your formula will need to look something like this, with Book 1 and Book 2 being the different workbooks, Sheet 1 and Sheet 2 being the different sheets the data is on within the workbooks and then assuming the data is in cell ref A1

='[Book1]Sheet1'!A1+'[Book2]Sheet2'!$A1


I hope this helps. If it has, please mark this question as resolved.


If you require further assistance, please reply to this post.

Have a great day.

Regards,


Nafeesa

Microsoft Office Specialist Trainer

RE: How do i add cells from different workbooks?

Cheryl,
When working with formulas that link multiple workbooks, I would very strongly recommend that you use named Ranges - which we looked at on the course. That is, the formula to add two values from different workbooks would look like this:

= 'some book 1.xlsx'!Total + 'some book 2.xlsx'!Total

(where Total is a range name in both books), rather than:

= '[some book 1.xlsx!some sheet'!B52 + '[some book 2.xlsx!some sheet'!B52

Not only is the first form more understandable, it is also much more robust in the face of structural changes to the workbooks (e.g. adding or deleting rows). With the cell-address form, formulas only update if both source and destination workbooks are open at the same time, so the liklihood of cross-workbook formulas 'breaking' is quite high.

regards
/Roy

Sun 18 Jul 2010: Automatically marked as resolved.

 

Training courses

 

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Edit and format multiple worksheets in one operation

To select two or more non-adjacent worksheets, click on the tab of each worksheet, while holding down the [CTRL] key.
To select two or more adjacent worksheets, click on the tab of the first worksheet and then on the tab of the last worksheet, while holding down the [SHIFT] key.
Enter or modify your data and apply the necessary formatting options to the sheet that's displayed

View all Excel hints and tips


Server loaded in 0.09 secs.