Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Transpose certain data

Hi eeryone-

I have excel data where is lists a person on a new row for each project they
work on. Fro example:

ID Name Project Name
101 Person 1 Project 1
101 Person 1 Project 2
101 Person 1 Project 3
102 Person 2 Project 1
102 Person 2 Project 3

I need to figure out a way to get the data to look like this:
101 Person 1 project 1 project 2 project 3
102 Person 2 project 1 project 3
ect...

Each person has their own unique ID number. Please help. thank you very
much!
-Brian
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Transpose certain data

Let's say your header from A1 to C1
A2:A6 = ID
B2:B6 = Name
C2:C6 = Project Name

and you want to look for...
101 in E2
102 in E3
In F2 =VLOOKUP(E2,$A$2:$B$6,2,0)
In G2
=IF(ISERR(SMALL(IF($A$2:$A$6=$E2,ROW(INDIRECT("1:" &ROWS($C$2:$C$6)))),COLUMNS($A:A))),"",INDEX($C$2: $C$6,SMALL(IF($A$2:$A$6=$E2,ROW(INDIRECT("1:"&ROWS ($C$2:$C$6)))),COLUMNS($A:A))))

Formula in G2 is an array formula you have to commit ctrlshiftenter (not
just enter)
copy as far as suite your need




"BCLivell" wrote:

Hi eeryone-

I have excel data where is lists a person on a new row for each project they
work on. Fro example:

ID Name Project Name
101 Person 1 Project 1
101 Person 1 Project 2
101 Person 1 Project 3
102 Person 2 Project 1
102 Person 2 Project 3

I need to figure out a way to get the data to look like this:
101 Person 1 project 1 project 2 project 3
102 Person 2 project 1 project 3
ect...

Each person has their own unique ID number. Please help. thank you very
much!
-Brian

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
Inconsistent Sorting Saxman Excel Discussion (Misc queries) 17 October 23rd 06 11:17 AM
sorting 2 colums of numbers and incremening them down blk&wht Excel Discussion (Misc queries) 10 October 9th 06 10:12 PM
Hi all i need some help on excel transpose ash Excel Worksheet Functions 1 May 2nd 06 01:19 PM
ranking query JaimeTimbrell Excel Discussion (Misc queries) 2 February 16th 06 08:09 AM
How do I repeatedly transpose blocks of data? LucyW Excel Discussion (Misc queries) 3 August 1st 05 03:56 PM


All times are GMT +1. The time now is 07: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"