+ Reply to Thread
Results 1 to 7 of 7

Link data in another speadsheet with text and formula current spreadsheet

  1. #1
    Registered User
    Join Date
    08-30-2016
    Location
    Edmonton, Canada
    MS-Off Ver
    2016 64b
    Posts
    92

    Link data in another speadsheet with text and formula current spreadsheet

    Hey all,

    Not sure how else to describe this.

    Basically, I'd like to create a summary that pulls information from different spreadsheets into one spreadsheet. Very simple objective.

    The complication is, I don't want to write a bunch of formulas to pull the data across multiple spreadsheets, instead, I'd like to do use a reference column and a formula to pull the information that way:

    Spreadsheet names: Rus, Afr, Can, etc.
    - Data stored in Cell A2 for each spreadsheet

    When doing this manually, the formula would be:
    Field name------Formula
    Russia----------=RUS!A2
    Africa-----------=AFR!A2
    Canada---------=CAN!A2

    However, there is manual work in that; I'd prefer to write a formula then propagate down, something like this:

    Summary Spreadsheet (the objective field):
    Field name-------Formula
    Russia----------=left(3)&"!"A2
    Africa-----------=left(3)&"!"A2
    Canada---------=left(3)&"!"A2

    Problem - this is an invalid formula and I'm not sure if this is possible.

    Cheers,
    Attached Files Attached Files
    Last edited by happydays886; 08-31-2016 at 01:29 PM.

  2. #2
    Valued Forum Contributor Neil_'s Avatar
    Join Date
    04-19-2013
    Location
    Yorkshire
    MS-Off Ver
    Office 365 Enterprise E3 2013 / 2016
    Posts
    479

    Re: Link data in another speadsheet with text and formula current spreadsheet

    =Indirect(left(A2,3) & "!A2")

    this will only work in the same workbook. Indirect is flakey with linked workbooks.

    After editing this 3 times I'm not entirely sure what you're asking
    Last edited by Neil_; 08-31-2016 at 01:08 PM.
    Frob first, tweak later

  3. #3
    Registered User
    Join Date
    08-30-2016
    Location
    Edmonton, Canada
    MS-Off Ver
    2016 64b
    Posts
    92

    Re: Link data in another speadsheet with text and formula current spreadsheet

    Thanks a lot for your review and feedback - very much appreciated.

    I can see the importance of adding a work-book. See the attachment in OP.

    Basically, the 'summary' tab shows the long/manual way of accomplishing this objective.

    I was hoping there would be a way to automate this as, if you have 50+ divisions, building a summary model similar to this would take a very, very long time.
    Last edited by happydays886; 08-31-2016 at 01:33 PM.

  4. #4
    Valued Forum Contributor Neil_'s Avatar
    Join Date
    04-19-2013
    Location
    Yorkshire
    MS-Off Ver
    Office 365 Enterprise E3 2013 / 2016
    Posts
    479

    Re: Link data in another speadsheet with text and formula current spreadsheet

    This should be ok as long as you only have 3 streams but lots of countries. The cell references in inverted commas in an Indirect() function don't increment when filling down, you see.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    08-30-2016
    Location
    Edmonton, Canada
    MS-Off Ver
    2016 64b
    Posts
    92

    Re: Link data in another speadsheet with text and formula current spreadsheet

    Thank you Neil, that's perfect.

    What's interesting is the use of spaces ([space])in the formula:
    =indirect("___"[space]&[space]"!__")

    What is this doing to the function?

  6. #6
    Valued Forum Contributor Neil_'s Avatar
    Join Date
    04-19-2013
    Location
    Yorkshire
    MS-Off Ver
    Office 365 Enterprise E3 2013 / 2016
    Posts
    479

    Re: Link data in another speadsheet with text and formula current spreadsheet

    Excel automatically adds them for readability. try backspacing them out.

    Edit: no it dosen't :/
    Well, I added them for readability
    Last edited by Neil_; 08-31-2016 at 03:54 PM.

  7. #7
    Registered User
    Join Date
    08-30-2016
    Location
    Edmonton, Canada
    MS-Off Ver
    2016 64b
    Posts
    92

    Re: Link data in another speadsheet with text and formula current spreadsheet

    I tried updating this to a global data set and I ran into the same problem - the data wont propagate.

    In the formula =Indirect(RUS&"!C6"), "!C6" will not change to "!D6" or "!C7" when autopopulated.

+ 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. Saving a spreadsheet with Auto-refresh, but keep current data
    By imjustagirl2 in forum Excel General
    Replies: 1
    Last Post: 09-26-2013, 11:36 AM
  2. Replies: 5
    Last Post: 09-02-2013, 11:50 AM
  3. Link to a file conditional on text in a cell in current steet
    By hamishthornton in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-24-2012, 04:23 PM
  4. promt to open a data file and copy it into current spreadsheet
    By commiedebater in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-02-2012, 12:03 PM
  5. [SOLVED] Anyway to save a current sort for speadsheet?
    By Garren1013 in forum Excel General
    Replies: 6
    Last Post: 05-10-2012, 12:11 PM
  6. Transferring most current data from table to another spreadsheet
    By LinkC in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 01-12-2009, 05:55 PM
  7. Text concantenated with a link to another spreadsheet field
    By CLM in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-05-2005, 02:06 PM
  8. Link Expedia Maps to an Icon in a Speadsheet
    By brianv in forum Excel General
    Replies: 1
    Last Post: 01-21-2005, 06:17 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