+ Reply to Thread
Results 1 to 14 of 14

Calculation in Excel Embedded in Word

  1. #1
    Registered User
    Join Date
    06-09-2017
    Location
    United States
    MS-Off Ver
    2010
    Posts
    7

    Question Calculation in Excel Embedded in Word

    Hello and I am thankful to find this forum. I have created a word document used for proposals and have embedded three separate excel sheets in the document. The sheets are each separated by lots of text and information which I removed to make the example easier. Each of the separate sheets calculate perfectly but I need a final Total on the document, but I can't figure out how to do it and add the sums from the other three sheets. I hope this can be done. Thanks

    I can't seem to post my file here so I located it here: http://www.filehosting.org/file/deta...problem-2.docx
    I attached the file in a response below

    I have also posted the same questions in a few other forums:

    https://www.excelguru.ca/forums/show...bedded-in-Word
    https://www.mrexcel.com/forum/excel-...dded-word.html
    http://www.ozgrid.com/forum/showthread.php?t=204375
    Last edited by Compstuff; 06-09-2017 at 12:42 PM.

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,462

    Re: Calculation in Excel Embedded in Word

    We generally prefer that you upload the file directly to this forum rather than a link to a file hosting service. Click on "reply to thread" or "go advanced" then click on "manage attachments" to bring up the file uploader.

    When I have done something similar, I have a cell/table in the spreadsheet that computes the final total, then link to that cell/table in Word. Is there some reason that you cannot have a fourth embedded sheet/cell in Word?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    06-09-2017
    Location
    United States
    MS-Off Ver
    2010
    Posts
    7

    Re: Calculation in Excel Embedded in Word

    Thanks for the quick follow-up, I think I now attached the file correctly. What you suggest is exactly what I'm trying but I must be overlooking something because I can't get it to link in the final sheet. The attachment shows the 4th sheet which should server as the totals area.

    Thanks
    Attached Files Attached Files

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2506 Win 11
    Posts
    24,785

    Re: Calculation in Excel Embedded in Word

    crossposted: http://www.ozgrid.com/forum/showthread.php?t=204375
    https://www.excelguru.ca/forums/show...bedded-in-Word
    https://www.mrexcel.com/forum/excel-...dded-word.html




    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  5. #5
    Registered User
    Join Date
    06-09-2017
    Location
    United States
    MS-Off Ver
    2010
    Posts
    7

    Re: Calculation in Excel Embedded in Word

    Alan,

    Sorry about that! I did not see that in your rules and I do understand the reasoning which is why on this forum http://www.ozgrid.com/forum/showthread.php?t=204375 I did post the links since I clearly understood. I will edit my post immediately.. my mistake
    Last edited by Compstuff; 06-09-2017 at 12:40 PM.

  6. #6
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,462

    Re: Calculation in Excel Embedded in Word

    When I open your file, the fourth sheet has no formulas in it, so naturally the sums are not computed. You did not include the Excel file, so I cannot see why a simple =sheet1!E4+sheet2!E5+... formula cannot be entered.

    Unless... there is no separate Excel file, and it is, as your example shows, strictly embedded in the Word document. Whenever I embed spreadsheets in a Word file, I am copying/pasting/as link from an existing Excel file. I have no experience working with embedded Excel sheets that are not part of an external Excel file. Perhaps that is the real problem/question -- can you link two separately embedded spreadsheets together like this. That, I don't know how to answer.

  7. #7
    Registered User
    Join Date
    06-09-2017
    Location
    United States
    MS-Off Ver
    2010
    Posts
    7

    Re: Calculation in Excel Embedded in Word

    The document has each of the spreadsheets "inserted". I did that by going to insert drop down and selecting the spreadsheet, so the word doc is not linked or referring to external spreadsheets. If you see the first three sheets they have actual formulas in them, which are basic and each work. The fourth sheet has nothing since everything I seemed to enter gave me errors. I understand your logic using =sheet1!E4+sheet2!E5, but I can't seem to do this and refer to the actual sheets that are in the doc.... I hope I explained it a little better and thanks for responding

  8. #8
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,462

    Re: Calculation in Excel Embedded in Word

    I understand your logic using =sheet1!E4+sheet2!E5, but I can't seem to do this and refer to the actual sheets that are in the doc.
    That is the way that you make external references in a regular Excel file. tabname!A1 to access a cell in a different tab in the same file or '[bookpathname]tabname'!A1 to reference data in an external workbook. It seems that, if you can figure out what to put for "[bookpathname]tabname" in these references, it should work. However, I wonder if the problem is that there is no "[filename]" equivalent for such an embedded spreadsheet, and that is why you have not found a way to link embedded spreadsheets together.

    My only advice at this point is to pull these tables out of Word and put them in their own Excel file. Then you can easily perform the desired summations. You can then embed a link to the external file/ranges in Word using the Copy/Paste special/as link command. (This is my recommendation, in part, because I do this quite frequently and it has generally worked well for me).

  9. #9
    Registered User
    Join Date
    06-09-2017
    Location
    United States
    MS-Off Ver
    2010
    Posts
    7

    Re: Calculation in Excel Embedded in Word

    I was afraid that may be the case but at least I know that my logic is correct is just finding the correct name to use (if any). The problem with the external spreadsheet is this is a quote/proposal form so frankly that's not a great way for me to give it to sales people and expect them to be able to work with it.

  10. #10
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Calculation in Excel Embedded in Word

    Quote Originally Posted by Compstuff View Post
    Each of the separate sheets calculate perfectly but I need a final Total on the document, but I can't figure out how to do it and add the sums from the other three sheets.

    You can sum total from different (Word) tables (without embeded Excel files)
    Formula: =SUM(CA,CB)
    Format: €#,##0.00;(€#,##0.00)
    where CA and CB are bookmarks of the two cells in different tables
    there is more possibilities to sum columns , rows, average etc. But it is not as flexible as in excel :0

  11. #11
    Registered User
    Join Date
    06-09-2017
    Location
    United States
    MS-Off Ver
    2010
    Posts
    7

    Re: Calculation in Excel Embedded in Word

    Thank you Sandy... I originally had the proposal form using tables but that presented other problems so I was trying to convert over to using spreadsheets instead of tables. Your reference definitely works with tables but I couldn't figure out the same thing with the separate spreadsheets so I did the entire document over and made one single sheet and just graphically modified it to display properly. This will work for now and maybe for quite sometime... the only thing I ran into doing it that way it that a sheet won't span more than a single word page so it limits what I can actually put in the proposals, but again this should work for now.

    Thank you to everyone for attempting to help I truly appreciate it!

    Quote Originally Posted by sandy666 View Post
    You can sum total from different (Word) tables (without embeded Excel files)
    Formula: =SUM(CA,CB)
    Format: €#,##0.00;(€#,##0.00)
    where CA and CB are bookmarks of the two cells in different tables
    there is more possibilities to sum columns , rows, average etc. But it is not as flexible as in excel :0

  12. #12
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Calculation in Excel Embedded in Word

    No problem, here is example... just for examlpe
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    06-09-2017
    Location
    United States
    MS-Off Ver
    2010
    Posts
    7

    Re: Calculation in Excel Embedded in Word

    Very Nice :-) Thanks!
    Quote Originally Posted by sandy666 View Post
    No problem, here is example... just for examlpe

  14. #14
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Calculation in Excel Embedded in Word

    You are welcome

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Embedded excel in word
    By Djp189 in forum Excel General
    Replies: 2
    Last Post: 02-18-2015, 09:54 PM
  2. Copying Many Embedded Tables from Word To Excel
    By mgaworecki in forum Excel General
    Replies: 0
    Last Post: 10-10-2011, 11:17 AM
  3. set calculation property in embedded excel object
    By erickd in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-17-2010, 03:55 PM
  4. Lock an embedded Word doc in Excel
    By Denny in forum Excel General
    Replies: 2
    Last Post: 01-13-2009, 04:39 PM
  5. [SOLVED] Excel with an embedded Word Doc
    By Scream in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 08-02-2006, 11:40 AM
  6. [SOLVED] Embedded Excel file in Word
    By QOAT in forum Excel General
    Replies: 1
    Last Post: 03-31-2006, 01:10 PM
  7. [SOLVED] Excel VBA to use worksheet embedded in Word Doc
    By Dan Meller in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-02-2006, 08:20 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1