#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Auto populate fields

I have a report that is output in Excel. The first column is employee name,
the second column is date and so forth. The problem is the employee name does
not come across in the report next to the dates, in other words, the name is
on one row with the dates on their own rows, but with no name in the name
field:
Employee Name Date Hours
Jane Doe
9/1/2008 5
9/1/2008 4
Total 9
John Doe
9/1/2008 5
9/1/2008 4
Total 9

The report is extremely large, so manually putting the names in the
corresponding fields is time consuming. Is there a way to progammatically
populate the fields below with the name above until you come to the next non
empty field so that is looks like this?

Employee Name Date Hours
Jane Doe
Jane Doe 9/1/2008 5
Jane Doe 9/1/2008 4
Jane Doe Total 9
John Doe
John Doe 9/1/2008 5
John Doe 9/1/2008 4
John Doe Total 9

I need to import this into MS Access to link by name, so if this is done
easier in Access let me know.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Auto populate fields

Insert a blank column between name and date (temporarily), click in
the name column, then press F5 (GoTo) and click on Special and check
Current Region - this should highlight all the cells in the name
column. Then press F5 again, click Special and choose Blanks - now it
should be only the blank cells in that column that are highlighted,
with the cell under Jane Doe the active cell.

Begin typing a formula by typing = and then click in the cell above
(Jane Doe in your example) then CTRL-Enter.

Then you can delete the column you inserted, and maybe fix the values
in the name column.

Hope this helps.

Pete

On Sep 4, 1:25*pm, Dianne wrote:
I have a report that is output in Excel. The first column is employee name,
the second column is date and so forth. The problem is the employee name does
not come across in the report next to the dates, in other words, the name is
on one row with the dates on their own rows, but with no name in the name
field:
Employee Name * Date * *Hours
Jane Doe * * * * * * * *
* * * * * * * * * * * 9/1/2008 *5
* * * * * * * * * * * 9/1/2008 *4
* * * * * * * * * * * Total * * 9
John Doe * * * * * * * *
* * * * * * * * * * * 9/1/2008 *5
* * * * * * * * * * * 9/1/2008 *4
* * * * * * * * * * * Total * * 9

The report is extremely large, so manually putting the names in the
corresponding fields is time consuming. Is there a way to progammatically
populate the fields below with the name above until you come to the next non
empty field so that is looks like this?

Employee Name * Date * *Hours
Jane Doe * * * * * * * *
Jane Doe * * * * * * * * * * * *9/1/2008 * * * *5
Jane Doe * * * * * * * * * * * *9/1/2008 * * * *4
Jane Doe * * * * * * * * * * * *Total * 9
John Doe * * * * * * * *
John Doe * * * * * * * * * * * *9/1/2008 * * * *5
John Doe * * * * * * * * * * * *9/1/2008 * * * *4
John Doe * * * * * * * * * * * *Total * 9

I need to import this into MS Access to link by name, so if this is done
easier in Access let me know.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Populate Fields soccerhead Excel Discussion (Misc queries) 1 January 11th 08 10:27 PM
Auto-populate, Auto-copy or Auto-fill? Jay S. Excel Worksheet Functions 4 August 10th 07 09:04 PM
Excel SHOULD NOT AUTO-CHANGE formated text fields to DATE FIELDS! PSSSD Excel Worksheet Functions 2 August 8th 06 09:31 PM
Auto populate other fields? sedonovan Excel Discussion (Misc queries) 3 June 21st 06 05:34 PM
Auto populate fields Mark Excel Discussion (Misc queries) 1 September 15th 05 08:45 PM


All times are GMT +1. The time now is 03:30 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"