+ Reply to Thread
Results 1 to 5 of 5

Question on Linked cell formulae

  1. #1
    Forum Contributor
    Join Date
    12-14-2012
    Location
    Toronto
    MS-Off Ver
    Excel 2010
    Posts
    104

    Question on Linked cell formulae

    Hi Excel Forum,

    In the attached Excel file, “Input data” tab is having input data to create a “Decision Tree” like structure in the other tab named “Decision Tree”.

    “Input data” sheet is monthly created by a SAS code when I have to populate the values of cells highlighted by blue color.


    There are over 1,000 nodes in the tree (ID_11, ID_21, ID_22 etc.) that I have to populate each month.

    I am going to link each blue cell into the corresponding cell in “Input data” sheet at least to semi automate the populating work.

    The embedded formulae are as simple as this:
    ='Input data'!B2

    Do I need to add “iserror” terms etc. into this formulae to capture unexpected values in the “Input data” sheet?
    Thanks
    Mirisa
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Question on Linked cell formulae

    This may help speed up your linking...
    =IFERROR(INDEX('Input data'!$B$2:$E$3,1,MATCH(SUBSTITUTE(F4," ","_"),'Input data'!$B$1:$E$1,0)),"")

    copy this exact same formula to the row below, and change the ,1, (bolded) to ,2,
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Question on Linked cell formulae

    hi,

    Try this

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    for total Count
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    for total money

    Remove the " _ " in your data sheet for both the ID & Total Count & Total Money

    Punnam
    Attached Files Attached Files

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Question on Linked cell formulae

    @ Punnam, if this is a SAS import (as mentioned), they may not be able to remove the "_", tats why I built that into my formula

  5. #5
    Forum Contributor
    Join Date
    12-14-2012
    Location
    Toronto
    MS-Off Ver
    Excel 2010
    Posts
    104

    Re: Question on Linked cell formulae

    Hi Ford and Punnam,

    Many thanks to both of you.

    Hi Ford, Many thanks for the last SAS clarification too.
    Mirisa

+ 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. Replies: 2
    Last Post: 01-05-2013, 09:07 AM
  2. r1c1 formulae for linked cell
    By Jollyfrog in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-02-2010, 02:04 PM
  3. Formulae Question
    By cookie_crisp in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-24-2009, 03:07 AM
  4. Linked cell question
    By Kym in forum Excel General
    Replies: 3
    Last Post: 03-06-2007, 04:49 AM
  5. Replies: 2
    Last Post: 08-22-2006, 08:40 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