Forum Discussion

NikiP495's avatar
NikiP495
Copper Contributor
Dec 04, 2023
Solved

giving a drop down list item a value

So I have an excel timesheet which has a drop down list where people can select what kind of work they were doing ( either 'training', 'worker' or 'organiser').  Each of these categories has a different salary value.  I've put them in a drop down list but I don't know how to give each one a value - so that in the timesheet, they can say how many hours they did in each category and it will calculate the amount automatically.  Can you help please? 

14 Replies

  • NikiP495 

    You can use the VLOOKUP or XLOOKUP function to return the salary associated with the selected type of work.

    If you'd like more specific help, could you attach a small sample workbook demonstrating the problem (without sensitive data), or if that is not possible, make it available through OneDrive, Google Drive, Dropbox or similar?

    • NikiP495's avatar
      NikiP495
      Copper Contributor

      HansVogelaar thanks so much for trying to help.  i tried that but it didn't work.  I've put a link here to the worksheet:

       

      https://letyoungpeopletalk-my.sharepoint.com/:x:/g/personal/niki_powers_lets-talk_scot/EU4XRZM54QpNl6ihEKECAw8BO6CWebzxJAyPprNbzu8M9A?e=mrbwkW

       

      at the moment the values are incorrect and I want to change them so that the correct amount is calculated in the total column

      • NikiP495 

        You need a list with the types of work in the first column and the corresponding salary in the second column. I cannot find such a list in your workbook, not even in the hidden worksheets. Am I missing something?

Resources