Populating Records in a List

ollieotis

New Member
Joined
Jun 6, 2006
Messages
44
Hello,

I received the following data from my accounting department, and need to fill in the blank records in order to sort, parcel out, and build summary tables off of the original worksheet. Is there a way to use the fill function to populate each record, or would I have to write a macro? If a macro is the only way, any help in getting started with it would be greatly appreciated.

Thanks in advance!

Here's my table. I would like to populate the highlighted cells with the data above.
~9031871.xls
ABCD
4CurrentWorksheet
5
6ProjectCodeLastSuffix,FirstMI
7AAA04200ODLova,Bosco
8Norton,Amy
9Sanchez,Rafael
10CDE04004ODShaw,Bernice
11Torre,Nicole
12PRZ04107ODEspinoza,Manuel
13
14Flores,MariaR.
15Castro,Guillermo
16Paner,FlorentinoC.
17
18DesiredResult
19
20ProjectCodeLastSuffix,FirstMI
21AAA04200ODLova,Bosco
22AAA04200ODNorton,Amy
23AAA04200ODSanchez,Rafael
24CDE04004ODShaw,Bernice
25CDE04004ODTorre,Nicole
26PRZ04107ODEspinoza,Manuel
27PRZ04107ODEspinoza,Manuel
28PRZ04107ODFlores,MariaR.
29PRZ04107ODCastro,Guillermo
30PRZ04107ODPaner,FlorentinoC.
Sheet1
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Do you really need code?
  1. Select the column with the blanks.
  2. Goto Edit>Goto...Special and select blanks.
  3. Goto the formula bar, enter =A1 (or whatever the first cell with data is) and then press CTRL+ENTER.
  4. Select the column, copy and paste special values.
Repeat for all columns with blanks.
 
Upvote 0
Hi Norrie,

This is perfect! I don't need code at all... of course, now that I see your response, I remember this solution from a similar situation a long time ago.

Thanks again! I appreciate your help!
 
Upvote 0
Hi,
Insert a column in B
In B7 type this formula
=IF(A6<>"",A6,B5)
Copy it down over the required range(s) Then edit> copy>paste special>values Into Column A. You'll have to tidy up your report Headings.

Do the same in column D for column C and the delete column B and column D.
 
Upvote 0

Forum statistics

Threads
1,214,566
Messages
6,120,266
Members
448,953
Latest member
Dutchie_1

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