+ Reply to Thread
Results 1 to 4 of 4

Auto-updating a cell depending on input from another cell

  1. #1
    Registered User
    Join Date
    06-04-2020
    Location
    Timisoara
    MS-Off Ver
    365
    Posts
    4

    Auto-updating a cell depending on input from another cell

    Good day everyone!

    So I have this excel table containing 2 columns : "Department" and "Incumbent Position" (it normally also contains name and other data of the employees but I have reduced it to this).
    Every department has a number of specific positions, and what I am looking for is a way so that if I input a certain position for an employee, the "Department" cell will update to the Department that correlates to that position. I hope I am explaining this well enough.

    So if I want to update the position of John as "Clinical Research Associate", I want Excel to automatically update the "Department" of John to "Clinical Operations".
    The Excel table has 2 Sheets: "Employee List" and "Positions".

    Inside the "Positions" sheet, I have created a table with every department on the first row and their specific positions below.

    What formula can give me the possibility of doing this? Is it possible to do it without the second sheet(not necessarily, but I'm curious)?

    Thanks in advance!

    Example.xlsx
    Last edited by xChristy; 07-15-2020 at 12:06 PM.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Auto-updating a cell depending on input from another cell

    Not sure where you are looking to put this formula but in a hypothetical sheet where you have the employee name in A2 and his/her position in B2, in C2, this formula will give you the Department
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    IF you wanted to pull the department from your "Positions" tab
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2016
    Posts
    897

    Re: Auto-updating a cell depending on input from another cell

    Hi xChristy,

    Would be good if you include a sample of the expected outcome in your sample worksheet.
    Anyway, I assume you want to enter a name and position on the 'Employee List' sheet.
    Column A is probably the manual link for the Department and Position.
    To automate the department listing, enter the position in column B, the employee name in column A (if you no longer need the manual linked list) or column E...
    In cell F2 try the formula below and pull down.

    Please Login or Register  to view this content.
    The formula will return the Department (Column Header) under which the position is found.

    PS: You are missing the CEO / BoD in your P
    If your Question is answered; please mark it SOLVED. If you are happy with a member's solution, say 'Thanks' and click the 'Star' to Add Reputation.

  4. #4
    Registered User
    Join Date
    06-04-2020
    Location
    Timisoara
    MS-Off Ver
    365
    Posts
    4

    Re: Auto-updating a cell depending on input from another cell

    Thank youuu! Both of your solutions work as I needed. I truly appreciate the help!

+ 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: 6
    Last Post: 10-06-2018, 01:15 PM
  2. Cells selecting a word input depending on input of another cell
    By ceeje25 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-14-2012, 07:08 AM
  3. updating a cell depending on another cell
    By DRkidd22 in forum Excel General
    Replies: 5
    Last Post: 11-12-2009, 10:44 AM
  4. Updating amounts depending on the date input
    By McQLon in forum Excel General
    Replies: 2
    Last Post: 09-26-2008, 05:39 AM
  5. Replies: 4
    Last Post: 07-01-2008, 07:02 AM
  6. Updating a cell depending on the time
    By pekboy in forum Excel General
    Replies: 4
    Last Post: 11-29-2007, 08:48 AM
  7. Value or formula in cell depending on input...
    By Jan Jansens in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-06-2005, 04:05 PM

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