+ Reply to Thread
Results 1 to 5 of 5

Formulas for Linked Spreadsheets

  1. #1
    Registered User
    Join Date
    10-17-2022
    Location
    Ranchos de Taos, NM
    MS-Off Ver
    2016
    Posts
    3

    Formulas for Linked Spreadsheets

    Thanks very much in advance for your time and attention to my problem.
    I may be approaching this from the wrong angle:
    I have two spreadsheets, Source.xlsx and Destination.xlsx. Both spreadsheets will grow over time.
    I have written a formula which is located in Destination.xlsx, column J, “Selling Price”. The formula references specific cells in Source.xlsx depending on the selection from a dropdown located in Destination.xlsx, column I, “Select, Print, Matted, Framed”. Corresponding columns in Source.xlsx are; columns L “price-print”, M “price-mat”, N “price-frame” respectively. “Select” in the dropdown in Destination.xlsx needs no corresponding column in Source.xlsx:
    Dropdown selections in Destination.xlsx, column I are:
    IF I6=Select, THEN I7=$0.00
    IF I6=Print, THEN I7=the value in a specific cell in Source.xlsx, L2, L3, L4, L5 … etc.
    IF I6=Matted, THEN I7=the value in a specific cell in Source.xlsx, M2, M3, M4, M5 ... etc.
    IF I6=Framed, THEN I7=the value in a specific cell in Source.xlsx, N2, N2, M4, M5 ... etc.
    The row in Source.xlsx is different for each entry as is the sheet and row in Destination.xlsx.
    The formula I have written “works” but has to be manually edited for each entry in Destination.xlsx in order for it to point to the correct columns in Source.xlsx. Which means that it really doesn’t work the way it should. This suggests that the formula should be located in Source.xlsx but Excel dynamically changes the formula when located there and cannot be referenced from Destination.xlsx. There may be a way to write the formula so that it can be located in Source.xlsx then referenced in Destination.xlsx but this escapes me. As I said, I may be approaching this rom the wrong angle.
    Please note: Source.xlsx is the main spreadsheet for a few other “destination” spreadsheets and is used for merging data into Photoshop images.
    Attached Files Attached Files
    Last edited by Cloudthumper; 11-23-2023 at 03:10 PM.

  2. #2
    Forum Expert
    Join Date
    06-05-2017
    Location
    Brazil
    MS-Off Ver
    Microsoft 365 Version 2404
    Posts
    1,259

    Re: Formulas for Linked Spreadsheets

    Welcome to the forum.

    I realized that you are trying to find the correct value according to job type, as defined in column I drop down and job size, as defined in columns B & C.
    In this formula, I use dynamic ranges, which adjust to those values as defined in column I and either column B or C. In J6 and copy down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    The data validation values in column J are not the same as in the headings of columns B & C in Destination sheet or columns I, J, L, M & N in the Source sheet. So I use functions LEFT and MID to trim the values in those columns headings to match the first 3 characters of the value selected in the drop down. Also, the data validation list had some extra spaces that were causing errors, so I removed them.
    The formula contemplates Framed and Printed only, because those headings are in columns B & C of Destination tab and I & J of Source tab. I found no column for Matted. If you decide to add a column for that, I guess the formula will work also.

    I hope this helps.

    Good luck!
    Attached Files Attached Files
    Last edited by Estevaoba; 11-21-2023 at 10:13 PM.

  3. #3
    Registered User
    Join Date
    10-17-2022
    Location
    Ranchos de Taos, NM
    MS-Off Ver
    2016
    Posts
    3

    Re: Formulas for Linked Spreadsheets

    Hi Estevaoba -
    Thank you so much for your response and solution. I will try it out shortly as my calendar is full today.
    I have not doubt that it will work.
    I will reply again once I have put it to the test.
    Again, thank you very much for your help!

  4. #4
    Registered User
    Join Date
    10-17-2022
    Location
    Ranchos de Taos, NM
    MS-Off Ver
    2016
    Posts
    3

    Re: Formulas for Linked Spreadsheets

    SOLVED
    Hi Estevaoba -
    I have incorporated your formula into my spreadsheets.
    Wow! It works great!!
    Also, I understand what you did. You have added significantly to my knowledge of Excel formulas. Most valuable.
    Thank you again for your help.

  5. #5
    Forum Expert
    Join Date
    06-05-2017
    Location
    Brazil
    MS-Off Ver
    Microsoft 365 Version 2404
    Posts
    1,259

    Re: Formulas for Linked Spreadsheets

    You’re welcome. Glad to help.
    Thank you for the feedback and for the reputation added.
    Have a blessed day!

+ 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: 3
    Last Post: 09-07-2011, 04:38 AM
  2. Live Linked Spreadsheets
    By Down-low in forum Excel General
    Replies: 2
    Last Post: 07-31-2011, 09:06 AM
  3. Linked Spreadsheets
    By JezLisle in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-22-2010, 01:23 PM
  4. Identifying Linked Spreadsheets
    By Andy Page in forum Excel General
    Replies: 1
    Last Post: 04-24-2008, 10:25 AM
  5. Excel spreadsheets linked together
    By CLH929 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-07-2006, 12:20 PM
  6. linked spreadsheets
    By Mifty in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 09-10-2005, 08:05 AM
  7. Excel linked spreadsheets
    By Thebeej in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-16-2005, 06:05 PM
  8. Linked spreadsheets
    By Emyn in forum Excel General
    Replies: 1
    Last Post: 04-29-2005, 11:18 AM

Tags for this Thread

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