+ Reply to Thread
Results 1 to 9 of 9

Can I dynamically reference the same cell across multiple worksheets in IF and TEXTJOIN?

  1. #1
    Registered User
    Join Date
    11-09-2012
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2016 & 365
    Posts
    49

    Can I dynamically reference the same cell across multiple worksheets in IF and TEXTJOIN?

    Therapists Availability
    Hello,

    I have searched and searched for the formula I need to have a formula (in G2) on my Master sheet reference a specific cell (B2) on several worksheets. I have tried using TEXTJOIN with a nested IF statement (the IF statement in H2 works like I want it to). The TEXTJOIN in H3 appears to work but I don’t have a reference to multiple cells. What I want the chart on the master page to do is show all the people who have availability at a specific time in the cell for that day and time or if no one does then to say none. I would really really like the formula to update when new sheets are added If at all posible.

    Monday Tuesday
    7:30 Person 1 (w) Person 1 (e/o)
    Person 3 (e/o) Person 4 (w)
    Person 5 (w)
    8:15 none Person 2 (w)
    9:00 Person 2 (e/o) none

    I cannot run macros in the environment I am working in.

    Thanks in advance for any help.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    02-06-2013
    Location
    Germany
    MS-Off Ver
    365
    Posts
    490

    Re: Can I dynamically reference the same cell across multiple worksheets in IF and TEXTJOI

    Is consolidating Sheets Person 1,2 and 3 into a single sheet an Option for you?
    This would allow you to set your data up in a proper database format resulting in much easier formula including auto-update if you add additional data.

    The way it is currently set up may be doable but 3D formulas across multiple sheets + potentially some auto-updating will inevitably be fairly hard to understand/audit and error prone.

  3. #3
    Registered User
    Join Date
    11-09-2012
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2016 & 365
    Posts
    49

    Re: Can I dynamically reference the same cell across multiple worksheets in IF and TEXTJOI

    Thank you so much for taking the time to respond.

    I will have 17 or so sheets as it stands now with others added over time. Combining into one would make it less readily viewable (not having to scroll to locate the correct chart) by others which is a large part of why this project is happening. However, I really don't want something that will break over time. I can look at the combining option if that is my best route.

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Can I dynamically reference the same cell across multiple worksheets in IF and TEXTJOI

    Maybe try

    =LET(p,FILTERXML("<x><m>"&TEXTJOIN("</m><m>",0,Person1:Lists!$A$1)&"</m></x>","//m"),
    w,FILTERXML("<x><m>"&TEXTJOIN("</m><m>",0,Person1:Lists!B2)&"</m></x>","//m"),TEXTJOIN(CHAR(10),,FILTER(p&" "&w,ISTEXT(w))))
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Can I dynamically reference the same cell across multiple worksheets in IF and TEXTJOI

    Quote Originally Posted by arsenalmom View Post
    Thank you so much for taking the time to respond.
    I will have 17 or so sheets as it stands now with others added over time. Combining into one would make it less readily viewable (not having to scroll to locate the correct chart) by others which is a large part of why this project is happening. However, I really don't want something that will break over time. I can look at the combining option if that is my best route.
    I agree with RaulSerg consolidation is the best way to go, particular visualization can be done using a simple drop down menu.

  6. #6
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Can I dynamically reference the same cell across multiple worksheets in IF and TEXTJOI

    I made a workbook for you with the consolidated concept, now you will see all the 'persons' schedules in one sheet named 'Consolidation' (of course you can change that) where you can select in a Slicer the collaborator that you want to view and add, or change something.

    By being so much easy to work that way I did a good work with the summarized situation of the collaborators in the Visualization sheet, hope you like it.
    Attached Files Attached Files

  7. #7
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Can I dynamically reference the same cell across multiple worksheets in IF and TEXTJOI

    Already a new upgrade, now you can alternate the visualization between person and availability using the cell in N1.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    11-09-2012
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2016 & 365
    Posts
    49

    Re: Can I dynamically reference the same cell across multiple worksheets in IF and TEXTJOI

    Wow. Thank you so Much DJunqueira!! This looks so nice and clean and I am sure will meet our needs well. I really appreciate your help on this!!

  9. #9
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Can I dynamically reference the same cell across multiple worksheets in IF and TEXTJOI

    Tks for your replay, I really liked to do this worksheet.

+ 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: 4
    Last Post: 06-07-2019, 07:44 AM
  2. Replies: 3
    Last Post: 09-26-2018, 09:56 AM
  3. reference same cell on multiple worksheets
    By butljody in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-17-2015, 08:46 AM
  4. Help Modify Formulas to Work with INDIRECT to Dynamically Reference Worksheets
    By Fin Fang Foom in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-11-2014, 07:26 PM
  5. Reference cell in multiple worksheets
    By Smorg1966 in forum Excel General
    Replies: 1
    Last Post: 09-09-2014, 09:19 AM
  6. Reference cell in multiple worksheets
    By Smorg1966 in forum Excel General
    Replies: 1
    Last Post: 09-09-2014, 09:11 AM
  7. How to dynamically reference a range of worksheets
    By Sarah-Ann in forum Excel General
    Replies: 2
    Last Post: 01-26-2011, 01:05 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