Index match ignore colon in time

ste33uka

Active Member
Joined
Jan 31, 2020
Messages
471
Office Version
  1. 365
Platform
  1. Windows
Hi is it possible to index match but ignore colon in time ?
Have added screen shot for better understanding
Thanks

Book1
ABCDEFGHI
112:0012009991
213:1513159992
314:0014009993
414:1514159994
5
6
7
8
9
10
11
12
Sheet1
Cell Formulas
RangeFormula
F1:F4F1=IFERROR(INDEX($G$1:$G$999,MATCH(E1,SUBSTITUTE($D$1:$D$999,":",""),0)),999)
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Hi, here's one option you can try.

Book1
ABCDEFG
112:00:00120011
213:15:00131522
314:00:00140033
414:15:00141544
Sheet1
Cell Formulas
RangeFormula
F1:F4F1=IFERROR(INDEX($G$1:$G$999,MATCH(0+TEXT(E1,"00\:00"),$D$1:$D$999,0)),999)
 
Upvote 0
Hi, here's one option you can try.

Book1
ABCDEFG
112:00:00120011
213:15:00131522
314:00:00140033
414:15:00141544
Sheet1
Cell Formulas
RangeFormula
F1:F4F1=IFERROR(INDEX($G$1:$G$999,MATCH(0+TEXT(E1,"00\:00"),$D$1:$D$999,0)),999)
Thanks, but wont work for sum reason
 
Upvote 0
You want to compare time with numbers. I think.
Use this:
Excel Formula:
=IFERROR(INDEX($G$1:$G$999,MATCH(HOUR(D1)*100+MINUTE(D1),$E$1:E1,0)),999)
 
Upvote 0
Solution

Forum statistics

Threads
1,214,430
Messages
6,119,443
Members
448,898
Latest member
drewmorgan128

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