+ Reply to Thread
Results 1 to 4 of 4

Cell value auto populated based on value of another

  1. #1
    Registered User
    Join Date
    09-29-2022
    Location
    Leicester, UK
    MS-Off Ver
    365
    Posts
    4

    Cool Cell value auto populated based on value of another

    Hello!

    I don't know if this is possible or how to to properly word it, which is maybe why my searches haven't been very fruitful, but this is what I'd like to do...

    In one column I have ages of employees, and in another is their rate of pay. Is is possible for the rate of pay to change depending on the age? The age is currently being calculated with =(YEAR(NOW())-YEAR(D4)) based on DOB in a third column. Rates of pay are different for employees aged 16-17, 18-20, 21-22, and then 23+. So let's say the DOB is 22/03/86, age is calculated at 36- can the cell in the rate of pay column display a certain amount because the age is bigger than 23?

    Hope that makes sense! Any help much appreciated

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,015

    Re: Cell value auto populated based on value of another

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook. Screenshots are of little practical use as we cannot manipulate them.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Valued Forum Contributor
    Join Date
    06-23-2021
    Location
    Romania
    MS-Off Ver
    2021, 365 v 2208
    Posts
    722

    Re: Cell value auto populated based on value of another

    Hi,
    The formula that calculate the age in years is
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    assuming that in C3 is date of birth.
    Make a small table with the lower limit of age intervals in first column and the pay rates in second, and use Vlookup with True or 1 as the four argument.
    Attached Files Attached Files
    Diana Tanase


    If the solutions offered helped you to solve your problem, then mark the thread as SOLVED (thread tools in the top menu) and you can click on * to add reputation to those who helped you, as a way to say thank you !

  4. #4
    Registered User
    Join Date
    09-29-2022
    Location
    Leicester, UK
    MS-Off Ver
    365
    Posts
    4

    Re: Cell value auto populated based on value of another

    Thank you so much, this was really helpful!

+ 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. Daily totals from the 1st tab, are auto-populated on the 2nd tab, based on today
    By AdamUKSaint1 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-15-2021, 09:26 PM
  2. Auto populated list based on date range
    By irfman in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-22-2020, 07:43 PM
  3. Auto fill based off of dates populated by vlookup
    By Kevrhof in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-23-2020, 01:50 AM
  4. [SOLVED] Auto populated "frozen" date based on cell value.
    By Lgonzalez91 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-17-2019, 12:02 PM
  5. Replies: 5
    Last Post: 09-28-2016, 07:02 PM
  6. [SOLVED] Create Auto Populated list Field based off multiple fields
    By alendor in forum Excel General
    Replies: 4
    Last Post: 04-22-2014, 11:38 AM
  7. Replies: 6
    Last Post: 10-04-2012, 11:12 AM

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