![]() |
Empty rows after grouping
I am creating a spreadsheet links to a Project Web Server timesheet cube,
and formats that data so that it can be pulled into Office Accounting and other applications. I am using a pivot table, and almost have it formated the way I want. I have one problem to solve. Each employee has multiple projects. The employee is listed on one row in column A and his projects are listed on multiple rows in column B. This leaves empty fields where I need the employee name listed again: Names Projects 1stname 1st Project 2nd Project 2ndname 1st Project 2ndProject Does anyone know how I can get the names to show up for all rows? Thanks, -- Ken |
Empty rows after grouping
Is this what you want to achieve? Names Projects 1stname 1st Project 1stname 2nd Project 2ndname 1st Project 2ndname 2ndProject If yes. You cannot use the pivot to get this directly. But instead, create the pivot table first, then copy it to somewhere and paste data. Then you need a formula likse liks by inserting a col in the middle to "fill-down" get the missing part. Start with the 2nd cell (b2), the first cell you need to copy from A1 =IF(A2="",B1,A2) Then copy and paste down then you will get the result. then copy and paste value for this middle col. Then finally delte the first col. let's make it Col "B". "Ken" wrote: I am creating a spreadsheet links to a Project Web Server timesheet cube, and formats that data so that it can be pulled into Office Accounting and other applications. I am using a pivot table, and almost have it formated the way I want. I have one problem to solve. Each employee has multiple projects. The employee is listed on one row in column A and his projects are listed on multiple rows in column B. This leaves empty fields where I need the employee name listed again: Names Projects 1stname 1st Project 2nd Project 2ndname 1st Project 2ndProject Does anyone know how I can get the names to show up for all rows? Thanks, -- Ken |
Empty rows after grouping
Ken
Select the Names column and F5SpecialBlanksOK In the active cell enter an = sign then point or arrow to cell above then hit CTRL + ENTER. CopyPaste Special(in place)ValuesOKEsc. Gord Dibben MS Excel MVP On Sun, 29 Apr 2007 17:46:00 -0700, Ken wrote: I am creating a spreadsheet links to a Project Web Server timesheet cube, and formats that data so that it can be pulled into Office Accounting and other applications. I am using a pivot table, and almost have it formated the way I want. I have one problem to solve. Each employee has multiple projects. The employee is listed on one row in column A and his projects are listed on multiple rows in column B. This leaves empty fields where I need the employee name listed again: Names Projects 1stname 1st Project 2nd Project 2ndname 1st Project 2ndProject Does anyone know how I can get the names to show up for all rows? Thanks, |
Empty rows after grouping
Hi Gord,
When I try your solution I get window that says "You cannot move a part of a Pivot Table report, or insert..." Any ideas? Thanks, Ken -- Ken "Gord Dibben" wrote: Ken Select the Names column and F5SpecialBlanksOK In the active cell enter an = sign then point or arrow to cell above then hit CTRL + ENTER. CopyPaste Special(in place)ValuesOKEsc. Gord Dibben MS Excel MVP On Sun, 29 Apr 2007 17:46:00 -0700, Ken wrote: I am creating a spreadsheet links to a Project Web Server timesheet cube, and formats that data so that it can be pulled into Office Accounting and other applications. I am using a pivot table, and almost have it formated the way I want. I have one problem to solve. Each employee has multiple projects. The employee is listed on one row in column A and his projects are listed on multiple rows in column B. This leaves empty fields where I need the employee name listed again: Names Projects 1stname 1st Project 2nd Project 2ndname 1st Project 2ndProject Does anyone know how I can get the names to show up for all rows? Thanks, |
Empty rows after grouping
Hi Leung,
Unfortunately the number of projects change making the cells different each time we use the report. Thanks, Ken -- Ken "Leung" wrote: Is this what you want to achieve? Names Projects 1stname 1st Project 1stname 2nd Project 2ndname 1st Project 2ndname 2ndProject If yes. You cannot use the pivot to get this directly. But instead, create the pivot table first, then copy it to somewhere and paste data. Then you need a formula likse liks by inserting a col in the middle to "fill-down" get the missing part. Start with the 2nd cell (b2), the first cell you need to copy from A1 =IF(A2="",B1,A2) Then copy and paste down then you will get the result. then copy and paste value for this middle col. Then finally delte the first col. let's make it Col "B". "Ken" wrote: I am creating a spreadsheet links to a Project Web Server timesheet cube, and formats that data so that it can be pulled into Office Accounting and other applications. I am using a pivot table, and almost have it formated the way I want. I have one problem to solve. Each employee has multiple projects. The employee is listed on one row in column A and his projects are listed on multiple rows in column B. This leaves empty fields where I need the employee name listed again: Names Projects 1stname 1st Project 2nd Project 2ndname 1st Project 2ndProject Does anyone know how I can get the names to show up for all rows? Thanks, -- Ken |
Empty rows after grouping
Ken
My mistake.......did not read "all" your post..........missed the part about Pivot Table. My solution was for a regular column of data. I don't work enough with PT to be able to offer any assistance. Gord On Mon, 30 Apr 2007 17:15:00 -0700, Ken wrote: Hi Gord, When I try your solution I get window that says "You cannot move a part of a Pivot Table report, or insert..." Any ideas? Thanks, Ken |
All times are GMT +1. The time now is 09:51 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com