Solved

# Time formula

Posted on 2012-03-25
329 Views
=IF(D2<>"",IF(ISNA(MATCH(A2,\$J\$2:\$J\$5,0)),"",LOOKUP(1-(VLOOKUP(A2,\$J\$2:\$K\$5,2)-D2)/D2,{0,0.5,0.75,1},{"< 50%","< 75%","< 100%","Fail"})),"")

In the attached sheet I have times reassigned and closed plus a table of times we have to resolve. Anything over those times fails, anything within those times I need % within those time to resolve. To make it easy for me to read, I wanted anything within 50% of the time to read < 50% any thing before 75% and after 50% to read < 75% and anything before 100% to read < 100%. I hope this was not to confusing. Thanks in advance for the help.
sample-sheet.xlsx
0
Question by:Edward Pamias
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points

LVL 50

Accepted Solution

barry houdini earned 500 total points
ID: 37765217
Try this formula in E2 copied down

=IFERROR(LOOKUP(D2/VLOOKUP(A2,\$J\$2:\$K\$5,2,0),{0,0.5,0.75,1;"< 50%","< 75%","< 100%","Fail"}),"")

see attached

regards, barry
sample-barry.xlsx
0

LVL 18

Author Closing Comment

ID: 37766523
Thank you! This is GOOD!
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
###### Suggested Courses
Course of the Month8 days, 12 hours left to enroll