Transpose And Consolidate Data Horizontally To Vertically?
Jun 4, 2014
In the attached spreadsheet, I have the original data display horizontally (sheet2). Col A is Patient #. The header in row 1 are the test codes. Each patient took only 1 test and have result reported either neg, pos, pending or not eval. How do I transpose the header and have the test results consolidated in 1 column accordingly as display in sheet 3.
Basically I want to see more dates, as you can see I've dropped down Cell B1 (31-Mar) to the B28 (27-Apr) Obviously if I wanted to see past 27-Apr I would just continue the drop down but I want to keep it within 28 rows and carry the dates onto cell C1-C28, D1-D28 etc, is there any way to do this using the drop down function or will I have to drop down each column individually then look date in the last row of that column and type the next date myself on the next column and drop it down?
I'm trying to lock the cells of my work book both vertically and horizonatlly. There are "header criteria" on both colums and rows that I want to lock so when you scroll down or over the title bars stay. When I've done it in the past it won't let me lock both correctly.
For what reason would a table not extend vertically on it's own when an entry is made in the next row directly beneath it? On all of my sheets I could swear the table will automatically extend vertically, but on one workbook that has 10 duplicated and then modified sheets with tables (I mention that for it might have been something from the original that was copied that is the problem), the table easily expands horizontally when a value is placed in a column next in line, but not the same for the next row!
I have 2 columns on sheet 1 as below. I need a code to put all the data in column B vertically on sheet 2 as the result shows. Please note all cells data will be off various lengths all seperated by a comma.
I am working on a pivot table just like the one on the picture here [URL] .......
Ideally I wanted the sums by date to be displayed horizontally and not vertically as shown in the picture, but was unable to do so. Anyways, I want to be able to filter those dates, so I can display data just from an specific date, and then change this date whenever I want and the new data will show up.
I tried doing by the checkbox that appears under the "data" dropdown on top of the column; However, when I uncheck a specific date, it dissapears and I have to add it again if I want to see it. Is there a way to keep the values on the dropdown even after I uncheck them? Or even another way to filter the information? Below is the pic of the dropdown I get when trying to sort the data, But as I said If I uncheck one of the values, it dissapears from the list.
writing a macro that could save me loads of time. In the attached file there are 2 separate sheets of data ( named "Elements Innovation" and "Dinttap") that I need copied, pasted, transposed and consolidated into one master sheet (named "Desired result"). Note that the fields that relevant cells are highlighted in yellow. In reality I'll have many (~100) of these sheets that I need the data extracted from, and the work looks like it can be automated using VBA to speed things up.
I want the information in the columns to be transposed on the summary sheet, but still linked to the original worksheet: 2007 Inpatient Outpatient 2006 Inpatient Outpatient 30000 32000 25000 21000
Copy and paste special with transpose does not link the spreadsheet. I tried to drag across after filling one cell, but the fill function increases by column from left to right, not row number. (It increases row number, which is what I need, only dragging down.)
I have one spreadsheet in which data was inserted vertically, and in order to move it to SQL, i would like to first mirror it horizontally in a 2nd spreadsheet (the reason i want to mirror it and not just copy the data is that the information in the first sheet changes dynamically).
So i figured out the basic function - (=sheet1!B0), but doing this on more than a 400 cells could be a problem. So my question is, how can i make, and lets take an example, cells A1 through I1 (in spreadsheet2) mirror A1 through A9 (in spreadsheet1), without editing functions cell by cell?
I have a formula in cell A1 that I need to drag downwards so that it fills cells A2 to A10. That formula is picking up the figures located in another sheet but the figures on that sheet are arranged horizontally (A1 to J1). Is there a formula to perform this action? I've tried playing around with the $ sign in my formulas but it does not work.
I have data in columns E through J under the headings of Monday-Saturday (E is Monday, F is Tuesday...J is Saturday). Then out to the left of the data, in column A, I have the week ending date (using Sunday as the last day of the week) which corresponds to the data under each day. There are multiple rows with different week endings but all the data is under columns E-J with the week endings in column A. So for instance, on row 13 the week ending in column A is 12/22/2013 (a Sunday) which means the corresponding data in the same row under columns E-J (the Mon-Sat columns) belong to 12/16/2013 (the Monday in the week ending on 12/22/2013), 12/17/2013 (the Tuesday in that week), 12/18/2013...and so on and so forth until 12/21/2013 which is Saturday in the week ending of 12/22/2013. Lastly, out to the right starting in column N and going horizontally out to column FD (will go out further as more days are added) I have the specific dates by day, it starts with 12/16/2013 and goes on incriminating by 1 day at a time until the end of all the dates included in the data (which at this point so happens to be 5/11/2014).
What I need done now is to take all the data which currently sits in columns E-J (the Monday-Saturday columns) and copy and paste it out under the correct specific date column that it belongs to starting in column N (going all the way out to FD) based on the week ending in column A. So with row 13 since the week ending in column A is 12/22/2013 the data in columns E-J needs to get pasted to row 13 columns N-S, then the same thing for row 14, except the week ending in column A row 14 is 1/5/2014 so the data in columns E-J row 14 needs to get pasted to columns AB-AG (AB is 12/30/2013...and AG is 1/4/2014). Below is the loop I came up with that accomplishes this, but for the reasons already stated.
Code: Sub newtest() Sheet2.Unprotect Dim drd As Long Dim rrd As Long drd = 13 rrd = 14 Do Until IsEmpty(Cells(drd, 1).Value)
I am trying to work on Sheet 2(Details per person). I want to be able to display all items in a row that matches the 2 criteria (Skype ID and Date) and the items are based from Master Raw file which is in another sheet. I would like to just use index and match.
I'm looking for a way of keeping case sensitive data in a range of cells, before using Data Consolidate, which when merged afterwards, Consolidate removes the case sensitivity and combines the quantities into one.
Check out this simple table as an example >
A B C D E F G H
1 TEXT QTY TEXT QTY TEXT QTY TEXT QTY
2 and 3 and 2 and 10 and 5
Cells A1-B7 and C1-D7 are two sets of original data, before consolidation.
Cells E1-F4 are the result of applying a Data Consolidate operation to the A1-B7 and C1-D7 ranges - note how the merged result ignores the case sensitive condition in the original ranges.
Cells G1-H7 is the post-consolidation result that I'm looking for, where the original text case is maintained.
I have a list of entries, people log how many products they sell a day, at the end of the I need to consolidate that data, to get a sum of how many goods each person sold that week. So on on tab I will have multiple enetries by the same person and on the consolidtaed tab, I want each person's name and Id # to show up on one row, but them I would like a total of how much goods they have sold for that month. I have attached a copy of my file, the consolidated tab shows what I would like to get in the end.
This should be easy but after searching "consolidate" all that I could find was multiple sheets and complex questions.
I have 5 data columns that I need consolidated into 1 single column. I've tried the consolidate funtion but it appears to only work with formulas and numerical values (unless I cant find the proper command.) I've also tried paste special but it populates the cells following.
I need 5 cells word values pasted into a single cell
I need to pull a data from 3 different SharePoint lists and present it in a new data sheet. So far I know how to create data connections and I am able to see everything in 3 different worksheets but in the same workbook. Also if we have the same Project and IT number we should pull information just from the SharePoint 1 list.
I have been trying to find a way to consolidate data in two tables, but can't seem to locate a good response. I have been toying with EXACT, VLOOKUP, HLOOKUP, MATCH, and SUMPRODUCT, but none seem to work for my issue.
Two Files - Call them acrendo.xlsx and office.xlsx
Both have a single sheet and contain first name, last name, and date columns. Office also has other information that I'm trying to merge into the corresponding row of acrendo.
Basically, I am trying to take the combined first name, last name, and date column from a row in acrendo as a single record, look for an exact match in office, and if it finds one, return the corresponding values in Coumns D, E, F back to acrendo. Someone suggested using the following sumproduct formula:
This always returns a value of 0, even if there is data in the matching row to be copied over.
One small complicating matter is that there may be duplicate entries in office (i.e. one row in acrendo may match to four rows in office). I can cleanse that if necessary, or preferably, if multiple matches are found, it would simply insert the additional rows into the acrendo file.
Also, is there a way to go through the acrendo file and check for duplicate records and delete them (e.g. if there is the same last name, first name, and date, delete the duplicates).
Can't do this manually as I have acrendo has almost 18,000 rows and office has almost 10,000 rows.
I have attached a sample workbook to show my layout.
I need to link multiple sheets (but not all, just certain ones) to one "master sheet". More specifically I need to link only certain colums from each certain sheet. The sub sheets have detailed information, but I only want basic information on the master sheet like FirstName, LastName, Ext, Buyer#, etc Not every column from the certain sheets is needed.
I need a way to update this master sheet when I update the sub sheets manually. So if I add a employee record to a sub sheet, the master sheet is updated. These updates aren't often, so running a macro to rebuild the master sheet after I manually delete it wouldn't be out of the question, whatever is convienent.
In the attached worksheet, I believe there is a sheet called Items. I don't need any information from that sheet at all to be on the master sheet so it can't be in the array when the master sheet it built from the sub sheets.
I would like code to consolidate weekly hours worked, on each project, for each person. I therefore wish to end up with 1 row per person, per date, showing their GRAND Total Hours worked in column P (across all projects, and across all tasks). So, in the example below, everybody's rows would stay as is, apart from Mike Jones's, which I would like to be consolidated into one row, showing a GRAND Total Hours worked of 16.