+ Reply to Thread
Results 1 to 4 of 4

Dynamically update cells depending on content of adjacent cell

  1. #1
    Registered User
    Join Date
    05-18-2021
    Location
    Scotland
    MS-Off Ver
    2007
    Posts
    12

    Dynamically update cells depending on content of adjacent cell

    Hi Everyone. Hopefully this makes sense, and hopefully someone can help.

    In the attached file Sheet1 contains a list of Employees (who are selected by dropdown lists). Depending on which Employee is selected, a number of assigned tasks relevant to that Employee are then made available in dropdown lists in adjacent cells.

    On Sheet2 I have worked out how to dynamically update the Type depending on which Employee is listed. What's the best formula to get the Tasks assigned to each employee on Sheet1 to also dynamically update on Sheet2, when cells B2 and B6 are changed accordingly?

    Thanks in advance,
    Mark.
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,735

    Re: Dynamically update cells depending on content of adjacent cell

    Use these formulae in the cells stated below:

    F3: =IFERROR(INDEX(Sheet1!B:B,MATCH($B$2,Sheet1!$A:$A,0)+ROWS($1:1)-1)&"","")

    G3: =IFERROR(INDEX(Sheet1!D:D,MATCH($B$2,Sheet1!$A:$A,0)+ROWS($1:1)-1)&"","")

    Copy down into F4:G5.

    Similar formulae for the other employee:

    F7: =IFERROR(INDEX(Sheet1!B:B,MATCH($B$6,Sheet1!$A:$A,0)+ROWS($1:1)-1)&"","")

    G7: =IFERROR(INDEX(Sheet1!D:D,MATCH($B$6,Sheet1!$A:$A,0)+ROWS($1:1)-1)&"","")

    Again, copy down into rows 8 and 9.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    05-18-2021
    Location
    Scotland
    MS-Off Ver
    2007
    Posts
    12

    Re: Dynamically update cells depending on content of adjacent cell

    You're a legend Pete! Much appreciated. Many, many thanks.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,735

    Re: Dynamically update cells depending on content of adjacent cell

    Glad to help.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    Also, since you are relatively new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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: 05-27-2020, 10:09 AM
  2. [SOLVED] How to sum multiple values depending on the content of the adjacent cell??
    By AlexanderDK in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-13-2019, 05:08 PM
  3. [SOLVED] Inserting Values in a Cell Depending on Content in an Adjacent Cell
    By lowlybroker in forum Excel General
    Replies: 3
    Last Post: 03-20-2014, 01:23 PM
  4. Replies: 1
    Last Post: 02-19-2013, 04:30 PM
  5. [SOLVED] Update cells depending on an adjacent cells number
    By debora in forum Excel General
    Replies: 5
    Last Post: 07-13-2012, 11:18 AM
  6. Deleting cells depending on content of another cell
    By drgogo in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-18-2008, 10:16 PM
  7. adding non-adjacent cells depending on another cell
    By clayton in forum Excel General
    Replies: 12
    Last Post: 11-30-2006, 12:48 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