Any Way To Merge Pivot Data?
Mar 29, 2014
I got the following data and I like the results to be:
Data
Company | Country
ABC | USA
ABC | London
BBB | USA
CCC | USA
Results:
Company | Country
ABC | USA, London
BBB | USA
CCC | USA
Is it possible to this under Pivot? as I need to consolidate lots of data..
View 2 Replies
ADVERTISEMENT
Jun 10, 2014
I want to do a mail merge from a pivot table. The pivot looks like this (bit simplified ;-) :
Name JanFebMar
Joe $12 $23 $34
joe(a)test.com $12 $23 $34
Frank $45 $56 $67
frank(a)test.com $45 $56 $67
Alex $78 $89 $90
alex(a)test.com $78 $89 $90
Created with: Name and e-mail as row items, months as columns and cost as values.
In the e-mail I want to address the person by his name and use the right e-mail address to send it. So ideally (I think) the pivot should look like this (e-mail address in the column next to the name instead of under the name):
Name e-mail JanFebMar
Joe joe(a)test.com $12 $23 $34
Frank frank(a)test.com $45 $56 $67
Alex alex(a)test.com $78 $89 $90
Now the problem is that I can't place e-mail in the column section of the pivot... Instead of placing the e-mail addresses vertical beside the name they are place horizontal...
View 5 Replies
View Related
Feb 9, 2014
When I use "Merge & Center cells with Labels" of a pivot table, It is merging Column labels as well as row labels. Is there a workaround to apply this feature only for column labels and not for row labels.
View 2 Replies
View Related
Jul 9, 2014
I would like to combine 2 tabs into one spreadsheet. I was not able to do so, because it exceeds the max rows allowed in excel. I have installed powerpivots but not sure how to combine data using powerpivots.
View 3 Replies
View Related
Jun 11, 2014
I have several data sets that that have the same column headers (product portfolio data, split by categories into different workbooks) and the same structure and want to merge them to create summaries in a pivot table that I can slice the way I need to look at the data (e.g., by "Category 1" level, "Category 2" level, etc..). The messy way would be to just copy/paste all data in one master set and then create one pivot from it. The problem is that this a) takes a lot of time since I have several data sets and b) the content of these data sets is constantly changing, so I would need to constantly update the master data set by replacing updated sub sets.
I was hoping that I can use PowerPivot for that which is apparently not the case - as I understand PowerPivot is only being used to link data sets that contain a column with an identical key to then basically do on a larger scale what a vlookup would do. Is there a way to do this with PowerPivot?
View 1 Replies
View Related
Aug 2, 2013
I have three source workbooks that needed to be consolidated into a master workbook pasting the data with values & formatting.
The Master workbook also contains 6 additional worksheets that link to the data pulled in from the source files.
My question is how do I write the code so the source files populate the master in a specific order.
For example, the 3 source files are named "Central" "NED" and "WEST" and I need them to populate the master workbook in that order.
This is the code I am using to consolidate the data:
Option Explicit
Sub ConsolidateSheetsFromWorkbooks()
'Author: Jennifer Starr
'Date: 7/12/2013
'Summary: Open all files in a folder and merge data (stacked) on all
[Code] .....
View 1 Replies
View Related
Jan 21, 2013
I have a single workbook with multiple worksheets. Each worksheet has a different pivot table displaying a different view of the data. Each pivot table uses the same source data at worksheet1.
Each week i add new data to the end of the source data, which means that I need change the source data reference separately in each pivot table to update each pivot table view to include the new data. This is laborious as there are quite a few pivot tables.
Was wondering if there is some way of changing the pivot table source data reference on all pivot tables at the same time.
View 4 Replies
View Related
Sep 5, 2013
I've attached some dummy data. Basically, everyday I'm going to dump a report containing data into a 'Data Dump' tab. 'Pivot 1 - Filtered' I have set up so that it will show specific product IDs only (In this example I only want to see 1X, 2X and 9D).
However, I now have a need to see the total value of that order number in 'Pivot 2 - Autofilter'. (For Example, order number 1111 has both 1X and 8D contained within it). Now obviously the simple thing to do would be to filter every order number shown in pivot 1, and filter pivot 2 with them. However when I'm doing this for real, this can be tens/hundreds of order numbers.
The only workaround I have found is to put a column at the side using VLOOKUP and if ISERROR is false then include in pivot, then used an autofilter on that, but I'd like to keep the normal pivot if possible.
View 1 Replies
View Related
Jan 23, 2013
I have a large spreadsheet where some data are similar. for Example
Robert $1000
Louis $600
Glen $350
Doreen $2300
Robert $500
Louis $600
Glen $750
Doreen $300
Robert $3000
I want to merge all Robert together, all Louis together and show as one Robert $4500. How can I do that ? Should I use a Look up.
View 11 Replies
View Related
Jun 7, 2013
I have 2 data sets which i want to add together. Here is an example.
Data sheet 1
A B C
SAC
L
1
INPUT
L
4
BLIN
L
12
[Code] .......
What i want to do without inserting every line manually.
A B C
SAC
L
1
FIX
L
2
[Code] ........
View 2 Replies
View Related
Dec 4, 2013
I have an empoyees first name in A1 (Joe) and Surname in B1 (Bloggs), however, I want "Bloggs, Joe" in C1?
View 2 Replies
View Related
Oct 23, 2007
I'm quite proficient in Excel but am struggling here, would really appreciate any help
I basically have 80 tabs with IP addresses in Column A and then information in Columns B, C and D related to this.
What I want to do is bring all this together in one sheet
Possible?
View 7 Replies
View Related
Oct 7, 2008
Right now I need help mergng 2 files:
#1 One is a txt file with emails
#2 the other is a .csv excel file which contains several fields: email, name, address, etc
Basically what I need to do is to create another .csv excel file that contains all the emails in file#1 that are also present in the file #2 plus their corresponding additional fields ( name, address ) etc
View 9 Replies
View Related
Jul 31, 2006
I extract data from a data base and return the query in details, i need to merge 2 rows of data that has the same project number. example i have project ABC with billable time of 10hrs @rate of £200 and unbill time of 6hrs @rate of £0. The query will split the data as there is a difference in the rate.
I need a formula that recognise that it is the same project and merge the row together!
View 9 Replies
View Related
Aug 10, 2006
Need to merge the data on two wrk sheets.data is as given below data in wrk sheet 1:
site_keybrandsiteQ count
BU04191BU4191332
DI00768DI768512
DI01616DI1616480
data in wrk sheet 2:
site_keybrandsiteNQ count
DI00551DI551171
DI00768DI76812
DI00982DI9822
RA07922RA79229
my final report should look like
site_keybrandsiteQ countNQ count
BU04191BU41913320
DI00768DI76851212
DI01616DI16164800
DI00551DI5510171
DI00982DI98202
RA07568RA75681900
RA07922RA792209
View 2 Replies
View Related
Feb 7, 2007
I have a set of data which I would like to do some processing on. Basically I am concerned with two columns
Column 12 and Column 9
Column 12 is a unique account Reference and column 9 is an invoice number. My scenario is that 1 account can have multiple invoices. I want to do is serach down column 12 and find all the matches and then I want to take column 9 and combine the data within that with the previous record.
Original Data
Column 9 Column 12
2345 A0001
2312 A0001
2341 A1200
1234 A0001
4569 A1234
3456 A1234
What I want to get to:
Column 9 Column 12
2345,2312,1234 A0001
2341 A1200
4569,3456 A1234
As you can see I basically want to combine any matches with column 9 and seperate with a comma and then delete the record it has taken it from
Function repair_invoice_numbers()
Sheets(target_sheet).Select
rowcn = 2
Do
checknext:........................
View 4 Replies
View Related
May 25, 2007
I have been using the following code to fill data down a col. For example if a1=blue and a5=green and a7=red. The macro will fill a1(blue) down to a4, then take a5(green) to a6, then a7(red) etc.
Sub Filldown()
If ActiveCell.Text = "" Then
MsgBox "please start with a non-empty cell"
Exit Sub
End If
For Each x In Selection.Cells
If x.Text = "" Then
x.Value = x.Offset(-1, 0).Value
End If
Next x
End Sub
code works great, but I was hoping it could be changed so that instead of filling the data down it would merge the data down. So, in the example, a1:a4 would be merged leaving the word blue, a5:a6 merged, and a7:etc would be merged.
Is this possible?
View 3 Replies
View Related
Mar 18, 2013
I manage a team that quote for business. They are targetted on number of quotes per month but then also wins per month, however a win may come a number of months after the original quote was generated.
They work off a spreadsheet where they log:
Quote date (And month)
Quote Value
... customer info etc
Win month (against orginal quote information)
Win value (against orginal quote information)
I started writing my pivot using the Quote month as the main reference point, IE Quote Month in the Row, and then put all the data in the central drop data section... However, there are two immediate problems with this:
They are targetted on quotes generated per month, some business won has come from last year, which they are lifting from the old spreadsheet and puttin in my new one... meaning that quotes they generated in Oct 2012 are now showing up as quotes for October this year.
If the wins span a number of months they are showing in January (if quoted in January) and not in March (when actually won)
Is there a better way of writing my pivot table??? There must be... ideally what I would like is half the table referencing the Quote date and half referencing the order date... but I don't know how to do this? I could probably do this with pages but I would like to show all on one sheet...
View 2 Replies
View Related
Mar 18, 2014
So I have two worksheets. One sheet has all of the names of attendees to a current event (column a, about 109 entries), and the other sheet has all of the names that have ever registered for my events along with their emails (column a and column b, 3000 entries). I need to merge data from column B of the second sheet to the corresponding name in the first worksheet, and disregard the extras (or just put them at the end so i can clear the contents). So I am just trying to get the email addresses of the people in the first sheet, from the data in the second sheet.
I've tried to look at the consolidate data function, but that does not match up the names to the email addresses correctly. What about a filter?
View 2 Replies
View Related
Oct 27, 2009
I have excel data containing in column A "Plot number" which is repeated and other four column is land area and the next column is "Land Owner Name". Now I want to merge same plot no if the land area is same if differ then I want to leave as it is. And another thing I want to do that the all land owner name is merge in a row.
View 8 Replies
View Related
Dec 19, 2012
So I have several columns of data that have a location and then some numbers after it in additional columns. I need to be able to sort it so that all locations that are in both location columns are sorted first, and then any locations that are in one column but not the other column follows. Also the data associated with each column that follows the location needs to remain next to the location. Many times the columns will be of highly disportionate lengths too.
I've attached an HTML table so you can get an idea of what I am looking at, except what I'm dealing with is like.... hundreds of cells long.
I want to be able to turn this:
HTML Code:Â
<table border="1" bordercolor="#FFCC00" style="background-color:#FFFFCC" width="100%" cellpadding="3" cellspacing="3">
<tr>
<td>A</td>
[Code].....
And in this 6 row example, I'd actually only be interested in the 4 letters that were in both columns. If it makes it easier, I would be okay with discarding the last rows, but would rather just have them sorted at the end, so I could check if....for example there were two different spellings of the same thing, and they should actually be included.
View 3 Replies
View Related
Jan 29, 2013
Basically, I need to merge the values in row A into specific rows in column D (as indicated by A1, A2, A3 etc).
View 6 Replies
View Related
Mar 28, 2013
I was given 6 spreadsheets combined into one (the reason is immaterial-but valid) it is what it is... unfortunately! (42 columns, 14,000 rows of which 450 names are duplicated as illustrated below)
I want to merge duplicate data.. but not the way I see it shown in all the 'merge' and the 'delete duplicate' threads I have seen so far.
I manage a homeless shelter and someone duplicated the spreadsheets and started using the duplicates to enter fresh data.... several times!
As a result I now have somewhere around 8 instances, (or 7,5,3 etc) of every homeless guest, but it has duplicate data in some columns, and new data in others, for instance:
I want to turn this....
Name SS# 1st entry date, 2nd entry date, 3rd entry date, fourth entry date, etc...
John Smith, 123-45-6789, 1/5/2010, 7/13/2010, 3/30/2011, 5/16/2012
John Smith, 123-45-6789, 1/5/2010,
John Smith, 123-45-6789, 1/5/2010, 7/13/2010, 3/30/2011,
I tried de-duping based on duplicate rows and that worked with the pure duplicates get out of the mix, but if I try to to de-dup on only the first two columns of data it may remove date I want to keep.So I need to de-dupe and merge at the same time.
View 3 Replies
View Related
Jul 8, 2014
I have 3 files out of which Inv.txt is the main file.
I would like that the other two files get opened and the the number in column 3 gets vlookup in the file 20140701 Inv.txt and it adds the data from 20140701 INv.txt column 7 to the last column in INv.txt.
I would like that the other two files get opened and the the number in column 3 gets vlookup in the file 20140701 Inv.txt and it adds the data from 20140701 INv.txt column 7 to the last column in INv.txt.
I would like that the other two files get opened and the the number in column 3 gets vlookup in the file 20140617 Inv.txt and it adds the data from 20140617 INv.txt column 7 to the last column in INv.txt.
I would like that the other two files get opened and the the number in column 3 gets vlookup in the file 20140617 Inv.txt and it adds the data from 20140617 INv.txt column 7 to the last column in INv.txt.
The two file names that it looks up from are always with a date stamp (Current date-6 Days) so this needs to be dynamic.once it has all the data in Inv.txt just save the file.
View 1 Replies
View Related
Sep 27, 2008
I have a new project that needs macro code. Your help is very much appreciated. We have a spreadsheet with duplicate accounts meaning two or three rows with the same account but different information. We want to use only one row for one account and move the new data from the same account to one row only to the right and delete the duplicates. Can someone please help me with this?I read so many post and I tried some of them but it only delete the duplicate row and not copying the new data from that row to one row only. Also, the other code I tried was retaining only the current or old data. Actually, to elaborate more, I want to get the new data in each cell of the same account in multiple row and move it in one row to the right only and delete the duplicate in that same account.
View 14 Replies
View Related
Oct 13, 2008
I'm sure this sort of thing has been discussed so if appropriate please point me to a relevant tip or topic but I am going to put my case clearly as I really need to get some data formatting for a business card data merge with InDesign.
I have to ensure that all the data is formatted uniformly across the business and this includes separating all the numbers in the business cards with a single space and finally including the p/f/m identifier and outputting as csv...
The spreadsheet looks like this ....
View 6 Replies
View Related
Apr 21, 2009
i had different sheets containing the same type of data in every sheet.what i want is to merge all data into one sheet.i had attached the sample sheet for reference.also let me know how to know the last cell in the data sheet
View 3 Replies
View Related
Nov 14, 2008
I've got two columns:
A, B
abc, def
qwe, rty
asd, fgh
zxc, vbn
And I need to bring these together in one column so it looks like this
C
abcdef
qwerty
asdfgh
zxcvbn
View 2 Replies
View Related
Jun 7, 2012
I use the following code to merge all data a "master sheet", but I want to take the data and put it next to each other on the "master sheet", not under. For example, my range of data is "A1:D15" and I want to copy from all sheets. So my first paste would be A1:D15, then the next should be E1:H15.
I would like the code to find the used range, like it does currently.
Code:
Sub Merge()
Dim ws As Worksheet
ActiveSheet.UsedRange.Offset(0).Clear
[Code]....
View 1 Replies
View Related
Sep 27, 2013
I've found macro, which merge rows with the same data
Example:
BEFORE:
january
1st
january
2nd
[Code] ........
Macro:
Option Explicit
Sub MergeSame()
Dim r As Range, c As Range
Dim i As Long, j As Long
Set r = Range("a1", Cells(Rows.Count, "a").End(xlUp))
[Code] .....
But i need use the same procedure for columns, it means:
BEFORE
A
B
C
D
E
F
january
january
january
february
february
february
AFTER
A
B
C
D
E
F
january
february
I've tried modified macro marked above, but without success...
View 3 Replies
View Related