Hours not matching with match function

juanbolas

New Member
Joined
Dec 3, 2014
Messages
40
Office Version
  1. 365
Platform
  1. Windows
Hello everyone,

I've made this Pommodoro sheet to order my tasks. Problem is, that the match function doesn't match hour of the task start between the top and bottom sections. The values are the same for the first four digit and a comparison results in TRUE.

Snippet below...

Please help!

Thanks in advance

Pommodoro 20220116.xlsm
BCDEFGHIJKL
3Day starts7:00
4
5TasksLengthStartEnd
6Top 31BPS & DGI0:307:007:30
72CV1:307:309:00
83LDP 11:009:0010:00
9Top 54Auto0:3010:0010:30
105LDP 22:0010:3012:30
11Unplanned6Lunch0:3012:3013:00
127LPD 32:0013:0015:00
138LDP Napoli (Virtual)1:3015:0016:3015:000,625000
149H-Tools1:0016:3017:30
1510LDP 42:0017:3019:30
16
17SlotTimeTaskInterruptionsLengthTask #
1817:00BPS & DGI1
1927:30CV2
2038:00 2
2148:30 2
2259:00LDP 13
2369:30 3
24710:00Auto4
25810:30LDP 25
26911:00 5
271011:30 5
281112:00 5
291212:30Lunch6
301313:00LPD 37
311413:30 7
321514:00 7
331614:30 7
341715:00LDP Napoli (Virtual)815:000,625000TRUE
351815:30 8
361916:00 8
372016:30H-Tools916:300,687500TRUE
382117:00 9
392217:30 917:300,729167FALSE
402318:00 9
412418:30 9
422519:00 9
432619:30 9
Dayplan
Cell Formulas
RangeFormula
F6F6=DayStartTime+"0:00:00"
G6:G15G6=F6+E6
F7:F12F7=IF(E7="",0,F6+E6)+"0:00:00"
F13:F15F13=ROUND(IF(E13="",0,F12+E12)+"0:00:00",4)
J13J13=F13
K13K13=F13
C6:C15C6=ROW()-ROW($C$6)+1
B18:B43B18=ROW()-ROW($B$18)+1
C18:C43C18=G$3+(B18-1)*"0:30"
D18:D43D18=IF(OR(G18="",G18=G17),"",OFFSET($D$5,$G18,0))
J34,J39,J37J34=C34
K34,K39,K37K34=C34
L34L34=K34=K13
L37L37=K37=F14
L39L39=K39=F15
G18G18=IF(MAX($G$5:$G$16)<$C18,"",IF(ISNA(MATCH(C18,F$5:F$16,TRUE)),G17,MATCH(C18,F$5:F$16,FALSE)-1))
G19:G43G19=IF(MAX($G$5:$G$16)<$C19,"",IF(ISNA(MATCH(C19,F$5:F$16,FALSE)),G18,MATCH(C19,F$5:F$16,FALSE)-1))
Named Ranges
NameRefers ToCells
Day_starts=Dayplan!$G$3F6, C18:C43
DayStartTime=Dayplan!$G$3F6, C18:C43
Cells with Data Validation
CellAllowCriteria
D6:D10List=TaskInventory
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
I'm not positive I'm seeing the issue. If you're talking about cell L39 with the false, it's a rounding issue. If you wrap it in a round function to four places, you'll get a true statement. You often have to round time when matching or comparing two times.
 
Upvote 0
I'm not positive I'm seeing the issue. If you're talking about cell L39 with the false, it's a rounding issue. If you wrap it in a round function to four places, you'll get a true statement. You often have to round time when matching or comparing two times.
Eastrand, thanks. The solution works partially. Some cells will work I wrap, others won't. Any ideas? Thanks
 
Upvote 0

Forum statistics

Threads
1,214,521
Messages
6,120,018
Members
448,937
Latest member
BeerMan23

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