#1   Report Post  
Eric Stephens
 
Posts: n/a
Default Merging data

Hello,

I would like to be able to merge data from several cells into one, but
without much manual entry. For example, I have data that resembles this:

First Name Last Name Children's Names Sex
Joe Smith Mary F
Joe Smith Greg M
Joe Smith Joey M
Marsha Brown Cindy F
Marsha Brown April F

In this case, I would like to get the following:

First Name Last Name Boys' Names Girls' Names
Joe Smith Greg, Joey Mary
Marsha Brown Cindy, April

There are two main issues: 1) each main identifier (i.e., parent name) may
have different numbers of children (Joe has three kids, Marsha has two), and
2) I want to divide the information based on a criterion (in this example,
"Sex"). I want to aviod having to enter several concatenation formulas
manually, so does anyone have any tips on how to do this? The data is coming
from an Access query, so please let me know if I should be doing this in
Access (and, if so, how?).

Thanks,
Eric
  #2   Report Post  
Ron Coderre
 
Posts: n/a
Default

If you've got some leeway on presentation format, I can think of a couple
options:

In Access you could use a Cross-Tab Query and display that data in a report
(You should go to the MS Access forum for help with that, though)

In Excel, you could try using a Pivot Table
I got the following results with practically no work:

Last Name...First Name......Sex.......Children's Names..Total
Smith...........Joe................F..........Mary .....................1
.........................................M........ .Greg......................1
.................................................. ...Joey......................1
Brown...........Marsha..........F..........Cindy.. ..................1
.................................................. ...April.....................1

Would that meet your needs?

--
Regards,
Ron

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
Merging data Eric Stephens Excel Discussion (Misc queries) 0 June 7th 05 06:35 PM
Copying conditional formatting...HELP PLEASE!!!! trixiebme Excel Worksheet Functions 3 March 24th 05 01:53 PM
Help making a chart that doesn't graph cells without data? Filtration Guy Excel Discussion (Misc queries) 0 March 22nd 05 09:21 PM
Adding more source data to existing scatter plot Tom Charts and Charting in Excel 1 March 21st 05 10:03 PM
Running Data Table using an input that triggers DDE linked data [email protected] Excel Discussion (Misc queries) 1 December 16th 04 11:56 AM


All times are GMT +1. The time now is 03:01 PM.

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"