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

how do add cells

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

How do i add cells from different workbooks?

ResolvedVersion 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.

Excel tip:

Separate the year from a date

To separate the year from a date use the =year() function, eg a date is in cell A1 and in A2 you wish to display the year enter the function =year(A1)

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.