Index match ignore colon in time

ste33uka

Active Member
Joined
Jan 31, 2020
Messages
358
Office Version
  1. 2019
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)
 

Some videos you may like

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
Joined
Dec 19, 2019
Messages
74
Office Version
  1. 2016
Platform
  1. Windows
Hi Please explain me bit more. what is the result you looking for
 

FormR

MrExcel MVP
Joined
Aug 18, 2011
Messages
6,480
Office Version
  1. 365
Platform
  1. Windows
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
Joined
Jan 31, 2020
Messages
358
Office Version
  1. 2019
Platform
  1. Windows

ADVERTISEMENT

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
 

maabadi

Well-known Member
Joined
Oct 22, 2012
Messages
1,553
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
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)
 
Solution

ste33uka

Active Member
Joined
Jan 31, 2020
Messages
358
Office Version
  1. 2019
Platform
  1. Windows
Thanks both got it working now, thanks again
 

Watch MrExcel Video

Forum statistics

Threads
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.
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
Top