You are here:

Excel/combining duplicates from one column keeping all other data

Advertisement


Question
EXCEL COMBINE
EXCEL COMBINE  
QUESTION: Excel 2003 spreadsheet imported from access query.
Columns from A to AE.
Rows display data such as case number and procedure group
Problem--Some rows have duplicate listing of case numbers due to more than one procedure group.
Desired output--Combine the procedure group on all duplicated rows and return all columns A to AE with the original data.
Worksheet Looks like--there are calculated fields hidden in sample
12-1927  05/17/2012 Diagnostic1 time time time group out to AE
12-1927  05/17/2012 PTCA       time time time group out to AE

Desired
12-1927 05/17/2012 Diagnostic1/PTCA time time time group out to AE

I was able to get a combine module but it only returned the first two columns. I need all of it.

ANSWER: The attached picture is too big, can you crop it down to just A1:AE15 and upload again.

---------- FOLLOW-UP ----------

03012013
03012013  
QUESTION: here is a smaller picture as requested

Answer
Still can't read it.   You can send me a file using the link below.  Make sure the file you send has a complete set of mock data, then a complete set of RESULTS on another sheet showing how all that mock data should be reduced.  Your mock data should have all the variations and solutions you encounter in your data, so be thorough.
About Excel
This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your Excel question answered in this area then please ask an Excel question here

Excel

All Answers


Answers by Expert:


Ask Experts

Volunteer


Jerry Beaucaire

Expertise

Excel Formulas, macros, automation. Microsoft Excel MVP - 2010. Code site with free code snippets and techniques: http://sites.madrocketscientist.com/jerrybeaucaires-excelassistant/files

Experience

Microsoft Excel MVP - 2010. I have my own extensive Excel help/code site: http://sites.madrocketscientist.com/jerrybeaucaires-excelassistant/files ===================== I have been offering free assistance as an Excel aid on many web sites for many years: (http://www.excelforum.com - JBeaucaire) ======== (http://www.askmehelpdesk.com/spreadsheets - JBeaucaire) ======= (http://www.mrexcel.com/forum - jbeaucaire)

Education/Credentials
Bachelor's Degree from Azusa Pacific University in Mathematics and Music Composition

Awards and Honors
Microsoft Excel MVP 2010

©2016 About.com. All rights reserved.