Excel 2010 :: How To Merge Big Dataset That Is Split In Half
Mar 9, 2014
I am running 2 audits on aspects of patient care. The first audit records a unique number that identifies the patient, and then a series of answers on demographics, and other stuff.
The second audit also records the unique number, and collects some other data on the particular patient at a later point in time (medication usage, levels of pain etc).
So in theory both audits will collect different information on the same patients. In practice, some patients will be missed and there won't be matching data sets. The order of collection won't be the same either, ie Audit 1 might be in the order of Patient 1,2,3,4 etc but Audit 2 might be patient 2,4,1,3
For various reasons these two data collection tools are not linked, and I end up with a spreadsheet for audit 1 and a spreadsheet for audit 2.
I need to merge these so that I can see all of the data for a particular patient at a glance, and where the gaps are, and apply some statistics to it etc. I could sort both lists by the unique audit number so that they are in order, and then copy blocks of data over from one sheet to the next, but there will be records missing, i might make a mistake with the alignment, and I'm sure there must be a better way.
I am using Excel 2010. Each audit case has about 50 columns of data for Audit 1 and 30 columns for Audit 2 . There will be ~20 new records (Rows) created each week that I want to progressively merge.
I have two sheets. One containing in cell B2 "1211 - Extra Core Hours" (t_Cost_Centre_data) and then another sheet that displays the data. On the display sheet, there need to be two fields. Event ID and Event Name. The event ID is the "1211" and the name "Extra Core Hours".
My question is, how do I split the reference so that only the ID and name appear in the relevant cell?
Ie Event ID Event Name 1211 Extra Core Hours
Note, the ID's and names will change and they will be multiple.
I have huge columns of data that can only be 30 characters long. I want to use a formula to split the column into two. The original column will have a character limit of 30, and should not cut words in half. If the Length will be more than 30 while including the entire last word of the cell, that word should be the first displayed in adjacent cell in the 2nd column.
The 2nd column can be any length.
I usually use a Text to Columns method, but dont know how to make it not cut off the words.
However I am trying to apply this to a whole column but the numbers are not (D5,B5) moving down (to D6,B6), When I use the format painter it is taking too long as I can only merge conditional formatting on one cell at a time and I have 30 colums and 390 rows to apply this formatting to.
I've been unsuccessful in trying to write a formula that retrieves a single result based on two criteria (from a large set of data on a separate worksheet). I've tried various INDEX MATCH combinations but no luck.
A B C D E
1 DATE TEAM PITCHERS RESULT
2 4/1 nyy Sabathia ???????
[Code] ........
So this is a very simplified version of my real data set which is about 20 times this size. The first worksheet is where I want to store my retrieved results (lets say D2 for example). I want to retrieve data from the second worksheet that matches two criteria (exactly) originating from my first worksheet. The two criteria to be matched from the first worksheet are, for example, A1 (sabathia) and F2 (the date 4/8). The complicated part is the desired result should be from the corresponding K/9 column in the second sheet, which in this case (based on sabathia and 4/8 criteria) is I2 (result would be 3). It's complicated since I can't just tell the formula to look down a specific K/9 column, I need to search ALL the K/9 columns in the sheet (of which there are many). Is this even possible with some sort of nested INDEX MATCH? Any possibilities outside of VBA programming, or is that the only way?
I am trying to send bulk emails from my excel 2010 - however I am getting a POP UP. find the screen shot in the enclosed word document So every time a new mail is sent from excel we need to press the button allow Is there a way where I can turn off this warning.
I have some people data that need to manage using in MS Excel 2010. I've 2 separate excel worksheets that have almost common data for example
Sr Name Contact location
in the first file is |10|John| (347)xxx-xxxx | Lansing, Mi. |
in the Second file it is just just have at |20|John|
I want to merge both files and no one should be double in the file file 1 have full data and file have just names and file one has complete and file 2 has just name just there are few more people that are no listed in file 2 that need to add in file 1.
I have two separate excel worksheets from which i want to merge two columns from each worksheet into a new sheet. from the first sheet column A & E and from second worksheet column B & D. The values of second worksheets need to start where the value of first sheet ends. Want a macro to run this automatically every time.
Have tried to merge and consolidate but macro does not work.
The code to merge sheets to a master sheet runs great, however when I copy the code to the Personal.XLSB to have the macro available to use on every workbook I’m getting an error. The line of code is Application.Goto DestSh.Cells(1) and the error is Method ‘Goto of object’_Application’failed. This happen even if I create a new workbook with 3 sheets and only a few cells with information. The macro to mail the sheet works fine using the Personal XLSB.
I need a macro to grab each email address and concatanate with a ',' in between so I can send the list to someone and they can use to email this group.
Two support staff added data to the same base document. I now have two files that I need to combine into one. Is there a way to merge the two together so that I have one workbook that contains all the information entered by both users? We use Excel 2007.
I need to pause for 0.5 seconds (half a second). How can I do that. applicatiom.Wait can only be used for whole seconds and a FOR ... NEXT loop is CPU dependant.
I would like to round down to interger or half. I would give you some examples:
3.76 to become 3.5 2.48 to become 2 -1.12 to become -1.5 0.05 to become 0
I tried to use round down fucntion but I am not able to have the desired outcome. I thnink the issue is with the second argument of the aforementioned function. How many digits should be indicated? I put 1 but it does not work.
Of the form "packing list" page of the changes made to the necessary places "commertial Invoice" section is being transferred. So far, no problem. If you are loading only the truck. However, a truck, trailer or container are loading more than one, "packing list" Vehicle / Container Nos. are different. If you are loading more than one truck or container, "packing list" Vehicle / Container Nos. are different. This is not a problem for the packing list. But the "commertial Invoice" on the invoice values ​​that must be unique.
For example, from "the product 2" 50 pieces laoded to the truck and trailer have loaded a 25 pieces, in the "commertial Invoice", from "product 2" needs to write 75 pieces.
My question to you is this:
In the "Packing List" find duplicate products, to "commertial Invoice" Can we write to collect the amount of write one?
Second question:
In the form comboboxes' chage events are the same. Can we make change events one code?
I have been opening files from another application which opens the files in memory as .XLS. I have not saved these to my PC. Is there VBA to merge all open .XLS files into another Workbook - preferably .XLSX.
I have a spreadsheet with members details in and I've added a few columns showing:
Col Q: Paid 2008 (blank if No, 1 if Yes) Col R: Show Paid Yes or No (shows a Yes or a No) Col S: Date Joined (only entered if new and joined during 2008) Col Z: Subs owing from 2008 (if existing members and owe last yr's subs) Col AA: Subs to Pay in 2009 (a standard £35 or pro rata if joined during 2008) Col AB: Pro Rata (if they joined other than at the beginning of 2008) Col AC: EA Sub? (based on a yes/no column, to add £5 if yes) Col AD: Total to Pay for 2009
So the formulae (or data entered) for the above columns are as follows:
Col Q: Paid 2008 - blank if no, 1 if Yes Col R: Show Paid Yes or No - =IF(Q2=1,"Yes","No") Col S: Date Joined - a date entered in format d/m/yy Col Z: Subs owing from 2008 - =IF(R2="no", 35,0)....I want a default 35 in here Col AA: Subs to Pay in 2009 - =IF(S2="",35,"Pro Rata")....says that if there is no date which indicates they are an existing member, they will pay the standard 35, otherwise they'll be paying a pro rata fee...................
Problem: It all works fine until a certain row (27 actually) - then I get a VALUE! error which points to the Date Joined field. Now I've tested that value against the vlookup table and it returns the correct data, so why doesn't it do it in my spreadsheet????? I've tried changing the formats on the cells; clearing all data; entering a different date, but from that row in the spreadsheet down to the last row, it simply won't work! I've looked at each formula in each cell on the rows where it is working and the rows where it isn't and I can't see anything different.
What else can I look for? It is SO frustrating as it does what I need it to to do but only for a third of the spreadsheet!!!!
Trying to take for example, 9/25/2012 and write a formula to make the resulting cell read 2H2012. Or 4/15/2012 and have the resulting cell read 1H2012.