Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default combining rows of data into one row

I have an employee ID and a field for Goals. CUrrently there are 2-20 goals
per employee ID. I am trying to combine the 2-20 goals into only one field
per employee id.

I know I concatinate it but can't figure out how to get say for example 2
rows of goals into one row.

Employee ID Goal
1111 Learn Excel
1111 Learn Access

I'd like to create the above to look like this:
Employee ID Goal
1111 Learn Excel; Learn Access

Thanks for any help you can provide.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default combining rows of data into one row

A tiny trick. Say your real data starts in A2. In C2 enter:
=B2
In C3 enter:
=IF(A2=A1,C2 & ";" & B3,B3) and copy down
--
Gary''s Student - gsnu200817


"Miskacee" wrote:

I have an employee ID and a field for Goals. CUrrently there are 2-20 goals
per employee ID. I am trying to combine the 2-20 goals into only one field
per employee id.

I know I concatinate it but can't figure out how to get say for example 2
rows of goals into one row.

Employee ID Goal
1111 Learn Excel
1111 Learn Access

I'd like to create the above to look like this:
Employee ID Goal
1111 Learn Excel; Learn Access

Thanks for any help you can provide.

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
Combining data from multiple rows Sarah (OGI) Excel Discussion (Misc queries) 2 August 5th 08 06:17 PM
combining data from different rows into 1 column Jim Linnenburger Excel Discussion (Misc queries) 0 October 25th 07 05:26 PM
combining two rows of data into one (Not Concatenate) Dr Gonzo Excel Discussion (Misc queries) 1 October 24th 07 06:37 PM
Combining rows with similar data robertlewis Excel Discussion (Misc queries) 4 January 27th 07 06:19 PM
Combining rows of like data? Juggernaut Excel Worksheet Functions 6 September 19th 06 03:03 AM


All times are GMT +1. The time now is 11:43 PM.

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

About Us

"It's about Microsoft Excel"