How To Find "Greater Than" A Specific Time ?

Aitch

Board Regular
Joined
Jan 27, 2019
Messages
119
Office Version
  1. 2010
Platform
  1. Windows
I have 2 columns showing meeting times with people - one with the name and the other with a 24 hour time - how do I identify which people have any meetings after 6pm = Bob, Brian, Brenda, Joe

Tom09:00
****10:30
Brenda11:00
John13:00
Joe17:00
James17:30
Bob19:00Yes
Brian20:00Yes
Brenda20:30Yes
Joe21:00Yes

I'm sure an INDEX/MATCH or COUNTIF>1 could do this but I can't figure out how to use a time value greater than 18:00!

Thanks for the help!
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
In Excel 24 hrs = 1 day, so 6 pm (18:00) would be 18/24 or 3/4.

Try:
Book1
ABCD
1NameTimeAfter 6 pm
2Tom9:00Bob
3****10:30Brian
4Brenda11:00Brenda
5John13:00Joe
6Joe17:00 
7James17:30 
8Bob19:00Yes 
9Brian20:00Yes 
10Brenda20:30Yes
11Joe21:00Yes
Sheet1
Cell Formulas
RangeFormula
D2:D9D2=IFERROR(INDEX($A$2:$A$11,AGGREGATE(15,6,(ROW($A$2:$A$11)-ROW($A$2)+1)/($B$2:$B$11>=18/24),ROWS($D$2:D2))),"")
 
Upvote 0
Or you might find it more intuitive to use TIMEVALUE("18:00"). It is exactly the same formula as AhoyNC has posted but just with the extra function call.

Book1
ABCD
1NameTimeAfter 6 pm
2Tom09:00Bob
3****10:30Brian
4Brenda11:00Brenda
5John13:00Joe
6Joe17:00 
7James17:30 
8Bob19:00Yes 
9Brian20:00Yes 
10Brenda20:30Yes
11Joe21:00Yes
Sheet1
Cell Formulas
RangeFormula
D2:D9D2=IFERROR(INDEX($A$2:$A$11,AGGREGATE(15,6,(ROW($A$2:$A$11)-ROW($A$2)+1)/($B$2:$B$11>=TIMEVALUE("18:00")),ROWS($D$2:D2))),"")
 
Upvote 0
Another approach:
Enter 18:00 in cell D1
Enter this formula in C2 and copy it down: =IF(INT(B2*24)>INT($D$1*24)+1,"Yes","")
 
Upvote 0
Thank you so much! These all work... but are way beyond my understanding lol!

I've tried again using TIMEVALUE at more my level like this - but is there a clever way to use COUNTIFS where it calculates TIMEVALUE internally without actually creating the extra column?

NAMETIME"TIMEVALUE"RESULTFORMULA
Dave09:000.375NO=IF (COUNTIFS (A2:A , A2 , C2:C , ">0.75")>0,"YES","NO")
Brenda10:300.438YES
John11:000.459NO
Joe13:000.541YES
James17:000.708NO
Joe17:300.729YES
Brian19:000.791NO
Brenda20:000.833YES
Joe21:000.875YES
 
Upvote 0
I am not clear on what your are asking or require.
1. You can calculate the result a variety of ways; review C2:E2
2. You can do a count see F2 or G2.
If you want a list without a formula, use a Data Table and filter by Result.

T202010b.xlsm
ABCDEFG
1NameTime18:00CountCount
2Bob19:00TRUETRUETRUE22
3Susan14:10FALSEFALSEFALSE
4Bill20:10TRUETRUETRUE
5Jack09:10FALSEFALSEFALSE
6c
Cell Formulas
RangeFormula
C1C1=TIME(18,0,0)
C2:C5C2=B2>$C$1
D2:D5D2=B2>TIME(18,0,0)
E2:E5E2=B2>0.75
F2F2=COUNTIF(B2:B32,">"&TIME(18,0,0))
G2G2=COUNTIF(B2:B32,">"&C1)
 
Upvote 0
You can also use your formula, but look at col B
Excel Formula:
=IF(COUNTIFS(A:A,A2,B:B, ">0.75")>0,"YES","NO")
 
Upvote 0

Forum statistics

Threads
1,215,003
Messages
6,122,655
Members
449,091
Latest member
peppernaut

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top