LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Multi-row data to single line data

Looking for some help or suggestions on putting together an efficient
macro.

I regularly get multi-row data that is one line per response per
respondent.
The data is usually setup with the ID number followed by the question
label followed by the actual data.

Here is an example:

ID Field Value
1 VAL1 1
1 VAL2 22
1 VAL3 4
1 VAL4 10
2 VAL1 3
2 VAL3 8
2 VAL4 30

I need it converted to this:

ID VAL1 VAL2 VAL3 VAL4
1 1 22 4 10
2 3 8 30

I currently do it with another table and VLOOKUP but am looking for
something a little easier and safer. (There is always the problem of
the named ranges changing giving wrong results). Plus with a large
number of different fields naming the ranges alone can be time
consuming.

I have been looking in all the groups for a while for someone with a
similar request but have not found any.

Thanks in advance for any help or suggestions.

Tom

"Madness takes its toll... Please have exact change"
 
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
How to consolidate multi-row data into a single row? [email protected] Excel Worksheet Functions 5 September 10th 08 08:22 PM
Concatenate: Multi-Line Cell with 2 single line cells BEEJAY Excel Worksheet Functions 0 February 15th 07 08:53 PM
how can I paste multi-line/multi-paragraph data into ONE cell? Theano Excel Discussion (Misc queries) 3 June 7th 05 01:10 PM
How do I change multi-line entries to single line entries in Exce. CPOWEREQUIP Excel Worksheet Functions 3 April 14th 05 12:38 AM
Creating single lines of data from a multi-column table hywel Excel Discussion (Misc queries) 3 February 11th 05 10:32 PM


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

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"