+ Reply to Thread
Results 1 to 8 of 8

How to link value with time slots?

  1. #1
    Registered User
    Join Date
    01-21-2021
    Location
    Amsterdam
    MS-Off Ver
    MS Office 365
    Posts
    4

    How to link value with time slots?

    Hi y'all,

    For work, I have to make an idea- & to-do list. Short description: someone has to fill in a concept, the date of entry, and priority: high, medium, low. Based on the priority, we want to give it a timeslot so we can take it into a meeting.

    We would like to give the values:

    High = 48 hrs
    Medium = 7 days
    Low = 14 days

    E.g. employee A filled in a concept on 21-01-2021 with high priority. Therefore, we want it in our agenda sheet with the date: 23-01-2021.

    Which formula should I use?

  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,724

    Re: How to link value with time slots?

    It would help if you attached a sample Excel workbook. See the yellow banner at the top of the screen for details of how to do this.

    Pete

  3. #3
    Registered User
    Join Date
    01-21-2021
    Location
    Amsterdam
    MS-Off Ver
    MS Office 365
    Posts
    4

    Re: How to link value with time slots?

    Hi Pete,

    Thanks for the quick reply. I have attached a sample Excel workbook. I'm still struggling since the last post. I'm using the IFS-function, but without success.
    Attached Files Attached Files

  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,724

    Re: How to link value with time slots?

    You can change the second part of your formula to this:

    VLOOKUP($D2,{"Low",30;"Medium",14;"High",2},2,0)

    So your formula in P3 would be:

    =IF($E2="Yes",$K2+VLOOKUP($D2,{"Low",30;"Medium",14;"High",2},2,0),"")

    You might need to use semicolons ( ; ) instead of commas ( , ) in the formula, depending on your regional settings.

    Hope this helps.

    Pete

  5. #5
    Registered User
    Join Date
    01-21-2021
    Location
    Amsterdam
    MS-Off Ver
    MS Office 365
    Posts
    4

    Re: How to link value with time slots?

    Hi Pete,

    Thanks again. I can see that I'm one step further to solve this case, however, I get the following error message when inputting the formula. If I use (,) or ( I'm getting the same message. Also attached is the excel sheet with the formula.

    Schermafbeelding 2021-01-26 105638.png

    Hope you can help!

    Greets!
    Attached Files Attached Files

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

    Re: How to link value with time slots?

    I've attached the file with my formula in it - see how that gets translated for you.

    Hope this helps.

    Pete
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    01-21-2021
    Location
    Amsterdam
    MS-Off Ver
    MS Office 365
    Posts
    4

    Re: How to link value with time slots?

    Hi Pete,

    Formula: =IF($E2="Yes";$K2+VLOOKUP($D2;{"Low"\30;"Medium"\14;"High"\2};2;0);"") works!

    Many thanks! I was struggling with this for a while now.

    Kind regards,

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

    Re: How to link value with time slots?

    Glad it worked for you, and thanks for marking the thread as Solved.

    You might also 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: 9
    Last Post: 10-16-2020, 04:25 PM
  2. booking time slots
    By peter renton in forum Excel General
    Replies: 7
    Last Post: 10-07-2019, 05:49 AM
  3. Calculating Time Slots
    By rmhodson1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-16-2018, 11:26 PM
  4. [SOLVED] Conditionl Formating to highlight time slots between start and Finish time.
    By excelrooky in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-25-2017, 02:39 AM
  5. Hi, I have hourly time series data and i need to convert it to 15 min time slots
    By neerajsharma887 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-15-2014, 01:08 PM
  6. [SOLVED] calculating a time range into predefined time slots
    By DamianWarS in forum Excel General
    Replies: 2
    Last Post: 06-19-2012, 07:26 AM
  7. counting time slots
    By Nick in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-11-2005, 10:06 AM

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