Consolidating Multiple Rows Into One

May 1, 2008

way to combine multiple rows into a single row using vba?

I have large amount of data approximately 5000 rows. I would like to combine all of the rows by DOB.

The reason why they are listed multiple times if they have multiple Benefit #'s.

Here is an example of the multiple rows of data: ....

View 12 Replies


ADVERTISEMENT

Consolidating/Averaging Multiple Rows & Columns

May 29, 2007

I am trying to compile a spreadsheet for my job that will find an average of all the break times and meal times that all the employees take. I have the employee list and their respective timeclock punches for the week, so I took that and found their meal and break times for each individual day, but I'm having trouble when it comes to consolidating and averaging the data. The first column lists the employees, but their names are repeated depending on how many times they punched the clock that week, and since not every punch was a meal or break, my time columns contain a lot of zeroes that aren't needed. I need a way to just average each employees' meal and break times.

View 9 Replies View Related

Consolidating Many Rows Into One

Aug 8, 2009

I have data that looks like this.

A1 B1 C1
1 2 100
2 3 100
3 4 100

My result should look like '1' in column A1, '4' in column B1 and '100' in column C1. I have hundreds of rows this way and any help will speed up my process. I tried writing a macro, but have no idea on how to delete the rows in between. Even if we can copy the result to the next column (i.e. have '1' in column D1, '4' in column E1, and '100' in column F1, that will solve the problem.

View 3 Replies View Related

Patient Dataset - Consolidating Rows

Dec 3, 2013

I have a large patient data set consisting of one column that includes their zip codes and one column that includes the number of times they were seen at a hospital over a period of time. I want to try to consolidate the data so I just have the number of total cases (for all patients) in a certain zip code over that time period. There are several thousand patients and it would be great to avoid doing it manually.

View 1 Replies View Related

Consolidating Text In Rows By Zipcode

Apr 17, 2009

I have a zipcode file I am trying to consolidated that has zipcodes and customers. how to consolidate the customers into a single row by zipcode as outlined below

Current Data
Zipcode Customer
00001 Customer 1
00001 Customer 2
00001 Customer 3
00002 Customer 4
00002 Customer 5

Desired output
00001 Customer1, Customer2, Customer3
00002 Customer4, Customer5
etc etc

View 6 Replies View Related

Consolidating Consecutive Date Rows

Feb 3, 2010

I am working with an excel file that shows daily whether an individual is checked into a shelter. The dates are often consecutive. I am trying to merge rows to reflect a true length of stay, not daily. here is what my data looks like:

First Last SSN DOBEntry Date Exit Date
JaneDoe1111111111/11/11114/1/20094/1/2009
JaneDoe1111111111/11/11114/2/20094/2/2009
JaneDoe1111111111/11/11114/3/20094/3/2009
JaneDoe1111111111/11/11114/4/20094/4/2009
JaneDoe1111111111/11/11114/5/20094/5/2009
JaneDoe1111111111/11/11114/6/20094/6/2009
JaneDoe1111111111/11/11114/7/20094/7/2009
JaneDoe1111111111/11/11114/8/20094/8/2009
JaneDoe1111111111/11/11114/9/20094/9/2009
JaneDoe1111111111/11/11114/10/20094/10/2009
JaneDoe1111111111/11/11114/12/20094/12/2009
JaneDoe1111111111/11/11114/13/20094/13/2009
JaneDoe1111111111/11/11114/14/20094/14/2009
JaneDoe1111111111/11/11114/15/20094/15/2009
JaneDoe1111111111/11/11114/16/20094/19/2009
JaneDoe1111111111/11/11114/21/20094/22/2009

Here is what I would like it to look like:
First Last SSN DOB Entry Date Exit Date
JaneDoe1111111111/11/11114/1/20094/10/2009
JaneDoe1111111111/11/11114/12/20094/19/2009
JaneDoe1111111111/11/11114/21/20094/22/2009

Does anyone have any suggestions on how I can accomplish this with a macro or otherwise so I don't have to manually go through a year's worth of data? Thanks for your help and time.

View 9 Replies View Related

Consolidating Multiple Calendars Into One

May 29, 2014

Tried the consolidate feature, however not sure that it is what I am looking for.I am basically trying to condense several calendars ( one calendar per department in a company) into one Calendar..Each calendar has its own tab and looks exactly the same. (tab names: Clubhouse, spa, and final calendar... possibly more departments added later) Hard to explaing so I will attach the file. All I would like to do is combine all calendars into the "final calendar" and in time order if possible... example below

{Clubhouse Tab} A3 will have the time (10 am) , B3 will have the item "Meeting"
{Clubhouse Tab} A4 will have the time (5 pm) , B4 will have the item "Dinner"

[code]....

View 14 Replies View Related

Consolidating Rows Of Data In To One Row Based On Cell Value?

Nov 21, 2012

I am trying to consolidate rows of data in to a single row at Cust Ref level (column A) but I need to ensure the numbers in each monthly column are added up accordingly so I have one total per month by Cust Ref. I hope what I have said makes sense. I have attached the spreadsheet so you can see what I am talking about.

View 6 Replies View Related

Consolidating Folder Containing Multiple Files That Contain Same Tab Name

Aug 15, 2012

I have a folder that contains around 45 excel files, each of these files contain a tab called "corp val". (these files change name month to month e.g. Report June, Report July etc)

I am finding on a monthly basis i need to go into each of these excel files and copy the data from the "corp val" tab into a summarized spreadsheet - which i then use the data for various things.

Just wondered if there was a solution to this or will it always be difficult to copy and pasting all the data i need. I am not in anyway an advanced excel user, I am guessing this might be some form of macro in which case I am maybe better to keep doing it the way I was as I am not literate in macros.

View 1 Replies View Related

Automatically Consolidating Multiple Sheets

Nov 25, 2008

I'll be as succinct as I can, and I'm sorry if this question has been answered already. I've had a look at past posts and can't seem to find anything.

My service has an Excel workbook of patient details. These details are separated across three sheets called 'Generic', 'Heart Failure' and 'Falls and Fracture Management'.

The columns in each sheet are the same. Every month I produce a single report of data from columns A, B, L, Q and R in each sheet.

I've been doing this by copying/pasting each of those columns from 'Generic' individually into a new sheet, then putting the same data from 'Heart Failure' underneath, etc., then manually deleting all rows that contain a blank in any cell.

Is it possible that VBA code can be written to do this? I don't know anything about codes; I know I could achieve the same effect with linking, but it seems that this would be unreliable.

View 12 Replies View Related

Consolidating Data From Multiple Worksheets

Apr 11, 2008

I'm trying to consolidate inventory for my department. I have Part#s in (column E) of all the worksheets and the amount of the product in (column C). I need a formula that finds the specific part# (in column E) and adds up the total amounts (in column C) in another worksheet has the part#s and amounts in same column.

View 14 Replies View Related

Consolidating Multiple Worksheets To One Master

Mar 5, 2010

I am trying to consolidate multiple worksheets in one workbook into one master worksheet in the same workbook. Problem is though that the headings in the multiple worksheets are not excatly the same. Ie. some may have one or two additional headings (other than that they should be the same).

How can this be done or is this a manual process of headings alignment before any consolidation can be done?

View 9 Replies View Related

Consolidating Multiple Worksheets Into One With Specific Data

Jun 19, 2012

I need to update my Workbook to do something more. I have a Workbook that contains multiple Worksheets that contain a list of items that need to be inspected with a schedule date. What I want to do is consolidate all the items that have not been inspected and put it on one Worksheet within the same Workbook. Unfortunately I can't attach my Workbook so you can see what I'm talking about. Each Worksheet has these five columns and every inspection still required to be conducted only has the CSEC, Schedule Inspection Date, and Remarks Columns filled out. I would like to scan all Worksheets to copy this data and consolidate it into a seperate Worksheet so I can print only one Worksheet as my report vice over fifty.

CSEC# | Scheduled Inspection Date | Date inspection was performed | Inspection Pass/Fail | Remarks

View 4 Replies View Related

VBA Consolidating Multiple Sheets In A Pivot Table

May 9, 2009

I got a brilliant bit of code (which works perfectly) from Bill Jelens "Excel Gurus gone Wild" which loops through all worksheets in the activeworkbook and consolidates these worksheets into one pivot table, this example creates the pivot in a new workbook, what I would really like to do is add a new sheet and create the pivot in the active workbook where I am pulling the data from can anybody help me to modify the code?

I have not added the code yet to generate the pivot

Code below:

Option Explicit
Sub bob()

Dim i As Long
Dim arSQL() As String
Dim objPivotCache As PivotCache
Dim objRS As Object
Dim wbkNew As Workbook
Dim wks As Worksheet

With ActiveWorkbook
ReDim arSQL(1 To .Worksheets.Count)
For Each wks In .Worksheets
Do Until wks.Name = ""..............

View 9 Replies View Related

Consolidating Cell Values From Multiple Files Into One File

Mar 31, 2007

I have situation which needs expert advice. I have about 22 Excel files of different branches with similar data. I have to link some calculated cells from each of these files into one file to show the consolidated data. There are about 18 calculated cells in each file, so linking each one is practically impossible.

View 10 Replies View Related

Consolidating Multiple Sheets Into Summary But Able To Turn On Or Off A Sheet?

Jan 15, 2014

I am building a model for consolidating a number of different companies (possible as many as 30). I have a worksheet for each company and then a consolidated worksheet. I can create a consolidated spreadsheet that just adds all the sheets up but I would like to be able to include or not include a sheet in the consolidate worksheet through a simple yes or no cell. I saw someone do this a few years ago with a mining company where each mine had its own page and you could activate / deactivate the mine for the consolidated (but the mine page itself would be unaffected) but I can't remember how they did it.

View 1 Replies View Related

Consolidating Multiple Worksheets :: Totals Exceed Limit For 2003

Sep 28, 2008

Row totals exceed the limit for Excel 2003, so I have split the data into different worksheets by year.

Problem is, now I can't create a useful pivot table, i.e. using 'multiple consolidation ranges' reduces the field list to "Row", "Column", and "Value".

I have 26 columns in each worksheet (all identical structures); some are multilevel factors, some are variables - and the way these relate to each other is unknown as this stage, so I literally cannot have the dimensions reduced in the way Excel proposes with multiple consolidation ranges.

View 7 Replies View Related

Excel 2007 :: Consolidating Data From Multiple Lines Of Sheet

Jul 17, 2012

I've seen some examples here and I think I understand the consolidation function. However, my query has the added level of needing to consolidate each member:

I have a table of data that looks like this:

SURNAME
NINO
CODE
NO OF UNITS

Smith
AB123456C
8AIA
1986.4805

[Code] .........

There are a number of clients that have multiple investments that are shown by an alpha numeric code. I need to consolidate the number of units for each member in to one line. Ideally the output would look like this:

SURNAME
NINO
CODE
NO OF UNITS

Smith
AB123456C
8AIA
2278.4058

[Code] ...........

View 9 Replies View Related

Consolidating Multiple Worksheet Data Into One Worksheet

Dec 8, 2009

I have an excel 2007 work book with multiple worksheets that updates daily. I want to bring all the data from each of the work sheets into a new worksheet so that i can create a pivot table.

All the data in the worksheets have the same headings and correspond to the days of the year.

I think i need to use some sort of range look up?

View 9 Replies View Related

Multiple Ccolums/rows To Get Data From Multiple Columns/rows (vlookup)

Jan 15, 2010

I have created a spreadsheet to show some reports and I wanted to serch for some datas which overloops themeselves. If you can have a look at a test file I attached you will see the full picture. I have 2 tables, where the 2nd one is on the right side of the 1st one. 1st table:..............

View 3 Replies View Related

Consolidating The Data

Oct 13, 2009

I have a sheet with the following information in rows:

PO# Acct# Item# QTY

There are multiple lines that share the same acct#.

How can I create the sheet so that each row combines the records for the same acct#.

For example:

PO# Acct# Item# Qty PO# Item# Qty PO# Item#

There are never more than 6 rows that share the same acct#.

View 23 Replies View Related

Consolidating Sheets One Below The Other

Nov 12, 2009

I have written a macro to consolidate multiple sheets into one sheet. I have two sheets which are to be copied one below the other.I am attaching the code for this here.

ub Bingo()
Dim ws As Worksheet, n As Long, flg As Boolean, last As Long
On Error Resume Next
Application.DisplayAlerts = False
Sheets("Consolidated-Input").Delete
Application.DisplayAlerts = True
On Error GoTo 0
Sheets.Add(before:=Sheets(1)).Name = "Consolidated-Input"
n = 3
For Each ws In Worksheets
If ws.Name "Consolidated-Input" And ws.Visible And ws.Name "DCS-User" And ws.Name "Cal" And ws.Name "DCS" = True Then
If Not flg Then
ws.Range("a:c").copy
Sheets("Consolidated-Input").Range("a1").PasteSpecial xlPasteValues
Sheets("Consolidated-Input").Range("a1").PasteSpecial xlPasteFormats
flg = True...................................

View 9 Replies View Related

Consolidating Workbooks

Jan 12, 2010

I have 85 workbooks in the same folder with a sheet in each workbook called "Budgets". Its the same template in each workbook with different data. I need to create a Summary master file of all my budgets so in the end I will have 1 Workbook with the 85 copies of the "Budgets" Worksheets. Does anyone know the VBA for this?

View 9 Replies View Related

Consolidating Data From Different Worksheets?

Sep 25, 2013

consolidate data from different workbooks into a single work book.

Each workbook contains one month payment information for employees.

i want to consolidate the the workbooks into one mastersheet such that i will have twelve columns (One for each month). On the consolidated sheet, i want each contributors monthly contribution displayed under the months to which the cointribution relates.

*find attached a dummy data illustrating the request*

i will like the results displayed as illustrated in the consolidate tab.

View 1 Replies View Related

Consolidating Data From Many Worksheets?

Jan 14, 2014

I have a clock machine report weekly which generates a spreadsheet very similar to the example attached.

The number of sheets can vary, the number of rows per employee can vary all of which makes me think that I can't use a formula to collate the data. how I can do this?

View 1 Replies View Related

Merging Two Spreadsheets Not Consolidating

Jul 18, 2012

I have two spreadsheets of part numbers, one with a full list of parts approx 3500 lines and another with the same part numbers (but only approx 1000 lines) but this file also contains sales history. columns shown below

PART NUMBER, PART DESCRIPTION, RETAIL, COST, UNIT OF ISSUE, CURRENT STOCK, YTD SALES, MTD SALES

What i want to do is merge the two files together so the 1000 parts i have sales history for correspond with the same 3500 lines on the other master spreadsheet, so i can then sort them in which ever order i need at the time.

View 5 Replies View Related

Consolidating 4 Seperate Worksheets

Oct 21, 2006

I have 4 worksheets where the structure is exactly the same except the figures differ

The worksheet have text and values in columns A to S. I need to write VBA code that will combine the data and show the descritions in a consolidated woorksheet.

View 9 Replies View Related

Consolidating Data From Different Sheets

Jan 21, 2008

I have a workbook with multiple tabs (sheets) I would like to make another tab to consolidate all the data, rows and columns into one master sheet.

View 9 Replies View Related

Consolidating Several Worksheets From Several Workbooks

Jul 14, 2008

I have several workbooks (around 15) in one folder which all contain the same worksheets but with different data. The worksheets all have the same columns. What I would like is a way to consolidate each of the worksheets of the workbooks into one new workbook by running the code whenever I want it.

In other words I have workbook 1 till 9 which all have worksheet 1 till 3. And I would like to consolidate them into a new workbook with sheet 1 till showing all of the data.

View 9 Replies View Related

Consolidating 2 Filtered Worksheets To One

Sep 27, 2008

I have a 2 worksheets (IJOFTD3D(1) and IJOFTD3D(2)) that I need to filter using criteria in 2 columns and combine to one worksheet (GKA Data). These are not the only worksheets in the workbook.

Here is the criteria: Column A (sortcode) = GKA
Column D (Cust_Code) does not begin with I

I am able to get the first worksheet into GKA Data, but I don't know how to get the second worksheet to append to the first using VBA. This is a daily report that I am trying to make as automated as possible.

View 9 Replies View Related







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