Double Lookup with repeats

armstrtb

New Member
Joined
Jun 16, 2010
Messages
14
I am doing a Vlookup(match()) combo using this formula:
=VLOOKUP($H2,$B$1:$F$17731,MATCH($I$2,$C$1:$C$17731,0)+2,0)

where $H$2(col b) is the Date and $I$2 is the Time (col c).
Code:
b               c       d
07.29.2011	13.29	21.3559	 
			
07.29.2011	13.3	1.3814	 
			
07.29.2011	13.31	2.2505	 

07.30.2011	13.32	0	 

07.30.2011	13.33	2.3854	 

07.31.2011	13.45	-0.1838

This works for the first case of each date, but not for any duplicates after. There are a lot of repeats of the date because its a string of recorded data over a week. How would I avoid this issue?

Thank you for your time.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Forum statistics

Threads
1,224,537
Messages
6,179,408
Members
452,912
Latest member
alicemil

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