Index match ignore colon in time

ste33uka

Active Member
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

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

anand3dinesh

Board Regular
Hi Please explain me bit more. what is the result you looking for

ste33uka

Active Member
formula in f1 would = 1

FormR

MrExcel MVP
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)

ste33uka

Active Member

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

Well-known Member
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)``

FormR

MrExcel MVP
wont work for sum reason

Hi, that's not really enough information to help you work out what might be going wrong.

ste33uka

Active Member
Thanks both got it working now, thanks again

Replies
5
Views
77
Replies
2
Views
155
Replies
5
Views
200
Replies
2
Views
75
Replies
11
Views
207

Forum statistics

1,126,932
Messages
5,621,671
Members
415,849
Latest member
PhoenixRising2015

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.

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

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