+ Reply to Thread
Results 1 to 6 of 6

Set Priority based on Due Date(s)

Hybrid View

  1. #1
    Registered User
    Join Date
    11-05-2019
    Location
    Grand Rapids, Michigan
    MS-Off Ver
    2016
    Posts
    27

    Set Priority based on Due Date(s)

    Hello,

    I am attempting to define an issue priority based on the assigned due date. Below is the IF Statement that I am using. It works fine for the "Critical" (<=+5) and "Low" (>+30) as these do not include ranges. I am having issues on the "High " and "Medium" values. They will work fine if the due date is exactly 15 days from Today (High) and 30 days (Medium) My question is how do I write the formula so that it returns the "High" value for all dates that are >5 and <= to 15 days as well as a Medium value for all days that are >15 and<30 days from due date?

    =IF(I15=TODAY()+5,"Critical",IF(I15=TODAY()+15,"High",IF(I15=TODAY()+30,"Medium",IF(I15>TODAY() +30,"Low"))))

    Finally, once I get this working, I want to have a formula that will provide a total count based on current priority.

    Any help or guidance would be greatly appreciated.

    Thank you

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Set Priority based on Due Date(s)

    =LOOKUP(D1-TODAY(),{5,10,15,30},{"Critical","High","Medium","Low"})
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    11-05-2019
    Location
    Grand Rapids, Michigan
    MS-Off Ver
    2016
    Posts
    27

    Re: Set Priority based on Due Date(s)

    Thank you for the quick reply. I have applied this and it works perfectly for any date in the future. However, If a Due date has passed I would like to have it return a "Critical" value. So any Date < =Today() +5 should return a "Critical" value. What needs to be completed to have this work?

    Also, can you assist with the formula to return the total number of items based on current priority ?

    Thank you again,
    Tim

  4. #4
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Set Priority based on Due Date(s)

    =LOOKUP(D6-TODAY(),{-120,5,10,15,30},{"Critical","Critical","High","Medium","Low"})

  5. #5
    Registered User
    Join Date
    11-05-2019
    Location
    Grand Rapids, Michigan
    MS-Off Ver
    2016
    Posts
    27

    Re: Set Priority based on Due Date(s)

    Quote Originally Posted by mehmetcik View Post
    =LOOKUP(D6-TODAY(),{-120,5,10,15,30},{"Critical","Critical","High","Medium","Low"})
    Hello, one last question. I am building this out in a template and was looking to see if is it possible to embed an IF Blank statement so that if the cells (D6) is blank the cell does not populate with the #N/A value and instead is blank?

    Thank you

  6. #6
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Set Priority based on Due Date(s)

    =if(D6="","",LOOKUP(D6-TODAY(),{-120,5,10,15,30},{"Critical","Critical","High","Medium","Low"}))

+ 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. Priority based lookup
    By virencm in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-04-2019, 05:53 AM
  2. [SOLVED] Set a priority based on a date
    By mlennox2701 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-14-2017, 04:29 AM
  3. Format Row Based on Priority
    By markusvirus in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-28-2017, 05:50 AM
  4. [SOLVED] Calculating Date Based on Priority
    By MrPifster in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-16-2017, 05:38 PM
  5. Removing duplicates based on priority and date
    By booztarsd in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-13-2015, 09:48 AM
  6. Returning BLANK date PRIORITY before Newest/Latest Date
    By dluhut in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-11-2013, 04:43 PM
  7. sort data based on date and time priority
    By stoey in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-19-2010, 02:55 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