Indexing Non-Blank Values for Specific Matches

Orionsic

New Member
Joined
Jul 6, 2016
Messages
9
Hello, I have hundreds-of-thousands of rows, which most of them have missing values (column 2). Based on a primary key (column 1), I can assume that the missing values can be imputed with values associated with that key. An example would be necessary.

Primary KeyDateDate.Impute
123""
123""
12302/02/2017
1234""
123402/03/2017
1234""
1234501/01/2017
12345""

<tbody>
</tbody>

All orders "123" date are "02/02/2017". All orders "1234" date are "02/03/2017", etc..

Using or not using index match, how can I fill in all of the missing fields of the 2nd column in the 3rd column?

Any help would be greatly appreciated. Thank you.
 
Last edited:

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
In C2 control+shift+enter, not just enter, and copy down:

=IF(ISNUMBER($B2),$B2,INDEX($B$2:$B$9,MATCH(1,IF($A$2:$A$9=$A2,IF(ISNUMBER($B$2:$B$9),1)),0)))
 
Upvote 0

Forum statistics

Threads
1,216,028
Messages
6,128,383
Members
449,445
Latest member
JJFabEngineering

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