+ Reply to Thread
Results 1 to 4 of 4

Please Help: Want to auto populate a cell based on the combination of two other cells

  1. #1
    Registered User
    Join Date
    01-15-2018
    Location
    South Africa
    MS-Off Ver
    2013
    Posts
    4

    Please Help: Want to auto populate a cell based on the combination of two other cells

    Hi all. So I am completely illiterate with excel formulas but I'm wondering if someone could help me.

    I want to make a Personal Trainer Tracker, for gym management to see how much the PTs need to be paid.

    Members can buy packages of personal training. EG, they can buy a pack of 5 x 60 min sessions, or 10 x 60 min sessions, or 5 x 30 min sessions, etc.
    Obviously, the bigger pack they buy, the cheaper per session it works out to be. EG 5 x 60 min sessions = 38 pounds per session, whereas 10 sessions = 35 pounds per session.

    The way the PTs get paid is like this: If you do a session on your shift, you get 40%, if you do it off shift, you get 60%.

    I have created Drop down menus for the packages, (So I have a drop down menu where you can select if its 5 x 60 min; 10 x 60 min etc), as well as whether or not it was done on shift or off shift.

    So what I would like is for the amount column to auto populate with the amount owed to the PT based on the package and whether or not it was on shift.

    EG, if I select "5 x 60 min" from the session type drop down, and "On Shift" from the On/Off shift drop down, I would like $15,20 to populate in the amount column,

    I have tried my luck with simple If AND formulas, and V Look ups. I always get an error because I am dumb.

    I have attached the excel, and would be hugely grateful for help.
    Attached Files Attached Files
    Last edited by rollsy; 07-11-2019 at 01:58 AM.

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Please Help: Want to auto populate a cell based on the combination of two other cells

    Try

    =IF(E3 = "On Shift",VLOOKUP(D3,'Session Rates On Shift'!A:B,2,0),VLOOKUP('July Tracker'!D3,'Session Rates Off Shift'!A:B,2))
    Martin

  3. #3
    Registered User
    Join Date
    01-15-2018
    Location
    South Africa
    MS-Off Ver
    2013
    Posts
    4

    Re: Please Help: Want to auto populate a cell based on the combination of two other cells

    omg you legend, thank you.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Please Help: Want to auto populate a cell based on the combination of two other cells

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Auto Populate A Cell Based On Data Entered into Two Possible Cells.
    By Angry Robot in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-21-2017, 02:11 AM
  2. Auto populate cell based another cells data
    By andyp24 in forum Excel General
    Replies: 2
    Last Post: 12-06-2016, 01:36 PM
  3. Auto populate cell based on another cells data
    By shapmb in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-23-2015, 09:45 PM
  4. Replies: 3
    Last Post: 04-29-2014, 03:03 PM
  5. Help: How do I have a drop-down cell auto-populate other cells based on result?
    By benjamin.glover in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-15-2014, 01:46 PM
  6. [SOLVED] Can I Auto populate cells based on value in another cell
    By Rednecknerd in forum Excel General
    Replies: 2
    Last Post: 12-11-2013, 10:58 AM
  7. Auto-populate cell based on values in other cells
    By cyndimei in forum Excel General
    Replies: 8
    Last Post: 10-03-2008, 03:12 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