Fill in Data from Columns that are not Blanks

wwce

New Member
Joined
Feb 4, 2013
Messages
19
Hello, I have data with multiple rows of "Parent" and "Kid" and "Address".

However, the "Address" column does not have all the rows filled out, some are blank.

See example:

Parent
Kid
Address
Johnny Jackson​
Anne​
Johnny Jackson​
Suzy​
123 Main St.​
Johnny Jackson​
Junior​
Eric Lee​
Mike​
Eric Lee​
Samuel​
456 Cat Ave.​
Eric Lee​
Noah​
Eric Lee​
James​
456 Cat Ave.​
Eric Lee​
David​
Sarah Connelly​
Charles​
Sarah Connelly​
Beth​
Sarah Connelly​
Ryan​
Sarah Connelly​
Jean​
789 Love Dr.​

I would like to create a new Address column where basically every line has the address referenced to the same parent.

What excel function should I use?

Index, Sumproduct? Or something else?

Any help is appreciated.
 

Some videos you may like

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

maabadi

Well-known Member
Joined
Oct 22, 2012
Messages
1,606
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
1. first sort all of Data based of Parents & then Address together (Go to Sort and Filter , Custom Sort)
2. Select all of column address, Press F5
3. Press Special
4. Select Blanks (you see all blank cells selected)
5. In Formula Bar (Fx) write (= above cell ) (if your first blank cell address is C4) then:

=C3

And Very Important Press Ctrl+Enter

6. Now copy all of column address and then Paste values at the same cells.
 

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
48,392
Office Version
  1. 365
Platform
  1. Windows
I would like to create a new Address column where basically every line has the address referenced to the same parent.
Like this?

20 12 08.xlsm
ABCD
1ParentKidAddressAll Addresses
2Johnny JacksonAnne123 Main St.
3Johnny JacksonSuzy123 Main St.123 Main St.
4Johnny JacksonJunior123 Main St.
5Eric LeeMike456 Cat Ave.
6Eric LeeSamuel456 Cat Ave.456 Cat Ave.
7Eric LeeNoah456 Cat Ave.
8Eric LeeJames456 Cat Ave.456 Cat Ave.
9Eric LeeDavid456 Cat Ave.
10Sarah ConnellyCharles789 Love Dr.
11Sarah ConnellyBeth789 Love Dr.
12Sarah ConnellyRyan789 Love Dr.
13Sarah ConnellyJean789 Love Dr.789 Love Dr.
Address
Cell Formulas
RangeFormula
D2:D13D2=INDEX(C:C,AGGREGATE(15,6,ROW(C$2:C$13)/((A$2:A$13=A2)*(C$2:C$13<>"")),1))
 

Watch MrExcel Video

Forum statistics

Threads
1,127,296
Messages
5,623,837
Members
415,995
Latest member
SergioCM92

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