Combining Column Data When There Are Duplicate Row Headers?

Apr 10, 2014

I currently have a worksheet filled with data from other worksheets. I want to combine data from different columns when they share an identical row header and don't know how. For example:

1b--
1--c
1-d-
2-x-
2y--
2--z

Would go to:

1bdc
2yxz

Another specific issue is that some row headers are bold and need to be considered a separate header from the non-bold alternative.

View 4 Replies


ADVERTISEMENT

Handling Duplicate Zips - Combining Non-numeric Columns Into One Column And One Row

Jun 27, 2012

Is there a function in Excel that allows you to combine non-numeric columns as a list?

For example, 91401 is a zip shared by three cities: Van Nuys, Sherman Oaks and Valley Glen.

The data is in a workbook as three rows (each with 91401 as the first column, and cities listed individually:

91401 Van Nuys
91401 Sherman Oaks
91401 Valley Glen

I am eventually wanting to do a v-lookup with the zip, but the duplication is causing problems. I want the associated cities listed, but only want one row. The cities could be listed, separated by commas (preferably), like below:

91401 Van Nuys, Sherman Oaks, Valley Glen

The list of zips I have is several thousand long, so it's not practical for me to do it manually. Is there a "pivot table" of text that I could use?

View 5 Replies View Related

Combining Rows With Duplicate Data

Jan 27, 2010

I need to combine rows with that have the same column A value into one row. The duplication will be no more than 3 (ie 3 As, 2 Bs, 3 Cs, 1 D etc). I am looking for one of two options. 1) Ideally I'd like to be able to take 2 columns and turn them into up to 4 columns total. 2)Alternately, I can format the data to be in the correct columns to start, but will still need to merge the duplicate rows. The data can have any number of rows to start.

I've found something close, but it puts the new column data into ascending number order, which won't work for me because I need it to be in the specific order I input.(It also put all the data into one column, which I don't mind because I can do text to columns, but the order was the bugger.)

View 5 Replies View Related

Combining Duplicate Records Data

Sep 21, 2006

In my sheet I have it search for duplicate records and give those records the same id. Is there anyway to combine data into one record. For example, I have a person with a value in column Points1, on another row a value in column Points2, and another row a value in column Points3. I want take those values from the duplicate records and put them all in one record. I've attached a sample.

View 2 Replies View Related

Duplicate Names, Combining Data Across Columns

Sep 28, 2009

I am waaaaay in over my head here. I've not done any scripting/macro/vb/whatnot work in Excel, but I'm staring down a potential all-night project manually merging data.

Here's what I have:

View 6 Replies View Related

Listbox With Column Headers As Specific Sheet Column Headers?

Jun 7, 2014

I have a userform with two listboxes in them, i have set the columns in the listbox to 9 and would like to populate the column headers in the listboxes with the column header of one of the sheets.

View 5 Replies View Related

Excel 2007 :: Combining Data In Duplicate Rows

Aug 15, 2008

I have a long (about 180 000 rows) list of part numbers, descriptions, prices and quantities. There are many duplicate part numbers. I need to go through and find the duplicates, add all their quantities into one cell and delete the remaining duplicates. I have used conditional formatting to find the duplicates easier but cannot use the remove duplicates button as it will delete the whole row and I need the quantity information in each row.

Any formula or macro I can set up to search the part number column (F) for duplicates and add the figures in the quantity column (J) and THEN delete the duplicate part number rows?

Maybe I need to put the new combined information in another sheet?

View 8 Replies View Related

Combining Unique Data Into One Row With Columns While Merging / Deleting Duplicate Information

Jun 13, 2014

I have data in excel that has some information the same with a unique field. See below:

Last Name
First Name
ID
Date
Address
Apt #
Acct #
Code 1

[code]...

I want it to consolidate all of the like information but add on the codes in separate columns like this:

Last Name
First Name
ID
Date
Address
Apt #
Acct #
Code 1
Code 2
Code 3
Code 4

[code]...

Also, sometimes the same code is used multiple times but i want any duplicate codes to show as separate codes.

View 5 Replies View Related

Move Data From One Column To Another Based On Column Headers And Row Text

Feb 7, 2014

I am in need of restructuring a spreadsheet of addresses for mailing purposes. (I tried to find something similar answered previously, but nothing seemed to work for me.)

I have attached a small example spreadsheet below, but our spreadsheets can be hundreds or thousands of rows in length.

I need a macro that will look for the "PO Box" addresses under the column headers named "ADDRESS2" and "ADDRESS3".

The PO Box addresses will need to be moved under the column header "ADDRESS1" within the same row.

It will need to overwrite the text that is already under "ADDRESS1" and delete the text from the "ADDRESS2" and "ADDRESS3" columns - UNLESS the text in 'ADDRESS2" is a PO Box AND "ADDRESS1" begins with "c/o".

If the data in "ADDRESS2" or "ADDRESS3" is anything other than a PO Box it will remain the same. As will "ADDRESS 1".

Basically if there is a PO Box it needs to be in the column named "ADDRESS1" and overwrite anything else that was there. The exception will be for PO Boxes that are in c/o someone else, the PO Box will then need to be listed in the column directly after the column that has c/o.

If the c/o exception will be too difficult the code could just highlight those scenarios and we could fix them manually. We usually do not have a lot of them, but enough that we need to be mindful of them.

The different scenarios are listed in my sample spreadsheet.Also, the code will have to use the column header names in row 1 because those headers are not always in the same column.

View 14 Replies View Related

Data Under 1 Column, Need To Seperate Under Different Column Headers

Jan 29, 2010

I have data as follows in Column A:

Part Number: 0000000-1 ARTEC-GH-56S 12A
SPARES in Repair: 20

On-hand: 100Location: BNCD

I need the data under different columns as follows: I also want an extra column before Column A labelled as Common number.

A B C D
Part Number SPARES ON HAND LOC

0000000 20 100 BNCD

View 11 Replies View Related

Import Text File Using VBA And Remove The Duplicate Headers?

Mar 8, 2014

I have a few text files and i want to import them into excel using VBA. I am herewith attaching the sample text file and the desired output file.

View 14 Replies View Related

Combining Multiple Rows With Duplicate Information

Nov 24, 2009

I have a sheet with over 1000 rows showing me every employee's benefit choices. It has multiple rows for each employee - one that indicates their health option, one that indicates their dental option and so on.

I'd like to combine them so I have one row that has columns for health, dental, etc...and then their options would be listed all in the same row. I've attached the original with the solution I'd like pasted below. I'm sure this isn't difficult but I'm having trouble figuring it out.

View 2 Replies View Related

Checking Multiple Column Data Across Two Worksheets And Combining Them Into One

Dec 2, 2008

what i want to do is 1 have a workbook with 3 worksheets. Sheet1 contains the columns:

Reference No. Line Item No. Amount Date
1 3 500 12/01
2 4 900 01/01
Sheet2:

Reference No. Line Item No. Quantity PersonInCharge
1 3 10 Kim
5 6 60 Noel

For sheet 3, what i want to happen is that when i run the VBA macro, it searches through both worksheets (Sheet1 and Sheet2), finding rows that have matching Reference No. AND Line Item No. and combine all of the columns (and values) for that particular row into another row in Sheet 3. So for the above data set, the resulting data in Sheet 3 would be:

Reference No. Line Item No. Amount Date Quanity PersonInCharge
1 3 500 12/01 10 Kim

As this is the only entry in both sheet1 and sheet2 where there is a matching reference and line item no.

View 9 Replies View Related

Reconstruct Data Table So That Column Headers Become Values In Table

Jul 15, 2014

I have a large table that I want to reconstruct. For simplicity sake, let's just says it's 3 rows (excluding headers) by 3 columns.

Item Description
1/1/2014
1/2/2014
1/3/2014

Cheese Burgers
2
3
4

Hot Dogs
5
12
6

Beverages
2
5
3

I want to reconstruct it so that the column headers become values in the table. The table headers are dates, in this case, if that gives clearer picture. So the new table would have 9 rows, (3 rows of data, excluding the header times four columns).

Item Description
Date
Quantity

Cheese Burgers
1/1/2014
2

Hot Dogs
1/1/2014
5

[Code] ....

The above example is sorted by date but I would be indifferent if it's sorted by the Item Description.

Is there an easy way to do this? Pivot possibly? Again, my data table is large: 36 rows x 181 columns. Using the copy/paste/transpose feature is pretty impractical.

View 3 Replies View Related

Excel 2013 :: Condense Duplicate Data To One Row Data In Same Column In New Row

Mar 12, 2013

IIn my example I have result data from the 2013 USPGA Tour, ordered by player (column A) with subsequent columns detailing their finishing position in each event.

I simply want to condense each player's performance data into one row - as doing it by hand after each event is very time-consuming.

Is there a way of using a simple formula, macro or pivot table (or whatever) to merge each player into one row, but keep each column in the same position (ie to correspond to each weekly event).

View 4 Replies View Related

Duplicate Data In Column

Feb 23, 2010

Bit of a tricky one this, I have two spreadsheets both with data I need to merge the two and only keep data which is present in both sheets. Each row has a unique identifier. I have copied the sheets into one spready and sorted the data, I thought there might be some kind of edit go to function but cannot find it.

View 2 Replies View Related

Column Headers

Jul 19, 2007

on a vb user form list, made from the control toolbox

I enable collumn headers but have trouble populating them

From what i could get from google, it seems the only way to populate them is by having the data on an excel sheet. Can you just do it through code?

I have another list which the data is on an excel sheet but I can't get my headers working.

I have been using

frmAct.listCodes.RowSource = ("A1:C39")
frmAct.listCodes.RowSourceType = ("Value")

It doesnt like "Value"

View 9 Replies View Related

Sum By Name In Column & Between Headers In Row

Mar 2, 2009

In the attached file is it possible to use cell/ array formula in cells P3 to R6 to lookup names (Column O) within the data range (Columns A - M) and return the values shown in the yellow shaded area?

View 8 Replies View Related

Column Lettering Changing To Column Headers

Nov 19, 2013

I have been given a spreadsheet with standard configuration with column headers etc, but when you scroll down the sheet the actual column headers change from the normal A-Z display to be the column headers that have been entered into the cells.

I know this can be achieved similarly by setting Freeze Pane but how this other option has been switched on. I have attached the spreadsheet (which has totally fictitious content).

View 6 Replies View Related

Column Dependent Duplicate Data

Aug 14, 2014

Using columns, (A,B,C & D)Column "A" is used for main grouping (defined as "zone") which I've used conditional formatting to define that there's duplicates. However the subsequent columns B&C are to and from devices. There may be instances of inverse duplicates. How can I either use "If then" formulas or LOOKUP function to note these occurrences? Column "D" is merely the flag column to display the instances of occurrence.

EXAMPLE

ZONE DEVICE TARGET
138 [TRF] 1-2 SCR 1-2 G 3287XT12G 51GT12G
138 [TRF] 1-2 SCR 1-2 G 351GT12G 287XT12G
138 [TRF] 1-2 SCR 1-2 G 3287XT12G 51LT12G PH 2
138 [TRF] 1-2 SCR 1-2 G 3287XT12G 51LT12G PH 3
138 [TRF] 1-2 SCR 1-2 G 3367 12G DTT287XT12G

View 1 Replies View Related

Highlight Duplicate Data In A Column

Feb 16, 2009

I need some thing that will highligt duplicate entries in column a

View 9 Replies View Related

Delete Duplicate Rows Data In Only One Column

Jul 28, 2013

with deleting duplicate entries in a spreadsheet that contains two names, a code number and a date. All rows with a duplicate number in column “B” should be deleted. Write a micro code? I have a few thousand of entries that need to be knocked out.

A sample file is attached : Example.xls

View 5 Replies View Related

Highlighting Duplicate Data In Column Across All Cells?

May 17, 2014

I have a large compilation of data on an excel work sheet (I am using 2013). All cells relate to each other by means of dates, names, and other numeric values such as stock numbers, id numbers etc... In one column some stock numbers are repeated. I would like to know if there is a way to set up the program on this worksheet to highlight all repeating stock numbers, not only in the column but across the cells as well, in lieu of doing so manually.

View 1 Replies View Related

Filter If Data Value In Column Repeats Or Duplicate

Jul 30, 2012

I have row of data from cell A2:E2 to A5000:G5000

in Column B I have customer account number, and they should not repeat but some reason some customers repeat more than once,

so out all column A B C D E if there if customer repeats only thing can be same is customer account number
so for example below, account number 12 repeats so I want to only few all account number 12 so I can compare both row and delete the only i need to delete and go back to original

DATE
ACCOUNT#
FIRST_IN
LAST_IN
SOMEVALUE

1/22/2012
12
A
B
2321

[code].....

View 4 Replies View Related

Select Column And Delete Row Where Data Is Duplicate

Nov 17, 2006

I've got this macro which works well, but I have to edit it to change the column I want to check for dupes. I don't mind doing that, but now I have to share the macro with someone who is not comfortable changing the references in the code every time they run it.

As it is it checks column G:G (7) for dupes and deletes the row. Good.
I'd like for it to do the same thing, but for whatever column the active cell is in.

I can use this:
Col = ActiveCell.Column
in place of the "7" in the With Range part
but I don't know how to replace the "G1:G".

Sub DeleteDuplicatesColumnG()
With Application
.ScreenUpdating = False
.EnableEvents = False

View 9 Replies View Related

Excel 2013 :: No Column Headers?

Nov 28, 2013

My and a work college needed to combine our separate excel worksheets into a single document.

Office 2013 didn't have a function to "import sheet from file" so we used open office to import my .xlsx worksheets.

After we finished importing we exported the final workbook as .xls (so I could open it).

After opening the workbook on my pc (excel 2013) i notice some of the sheets no longer have column headers, but the row headings still exists. (No ABCD, only 1234)

Also I am unable to use features such as "Freeze Pane"

I suspect this was caused by importing and exporting through open office?

View 4 Replies View Related

Formula Bar Covering Column Headers

Jun 13, 2006

How do I set up the formula bar so it doesn't cover the column headers?

View 1 Replies View Related

How To Return Column Headers For Where Certain Values Appear In Each Row

Mar 16, 2014

I want to return the column headings (the months) where there is a 'No' value, per person. How to do this?

Here's the screenshot

Screen Shot 2014-03-17 at 11.45.34 am.png

And here's a dummy version:

Example Spreadsheet.xlsx

View 3 Replies View Related

Sort Button In Column Headers

Mar 14, 2013

I have a table with headings for each column.

How can I make the columns headers buttons/clickable, so that it sorts the rows on the column that was clicked upon?

View 2 Replies View Related

Pivot Table And Column Headers

May 21, 2006

I want to include columns in my Pivot Table where there is no data for that column. For example, I want to show 12 columns, one for each month, but my data only has 9 months of values.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved