Extracting Matching Data From Two Sheets Into Third Sheet?

Jan 17, 2014

I'm not sure if this is best handled in the Formulas & Functions section or elsewhere, but this is my best guess. I have a spreadsheet used for tracking hardware issues with data in two worksheets:

1. PageCount
Column 1: Date
Column 2: Serial#
Column 3: PageCount

2. Tickets
Column 1: Date
Column 2: Serial#
Column 3: TicketNumber

What I'm trying to do is find a way to extract from those two sheets the date, serial number, page count, and ticket number where the date / serial # are the same and dump this to a new sheet. I've thought that I may need to concatenate the date / serial number together into a single cell or something, but I'm really at a loss as to how to pull this data. Part of me thinks this should be done in SQL, not a spreadsheet, but that's how our reports are produced.

View 1 Replies


ADVERTISEMENT

Extracting Matching Data From Another Worksheet

Jul 15, 2008

I have a "cat_no" file and a "master inventory" file.

I need to do a vlookup to match the catalog #'s and mfr name in the cat_no file and the master inventory file. I also need to pull the pricing and packing string from the master inventory file and add it to the cat_no file where item numbers match.

View 14 Replies View Related

Extracting Data From One Massive Worksheet To Split To Smaller Sheets Of Data

May 20, 2008

10/05/0808:30:00 AMValid Card EntryLamDoor 1
10/05/0808:31:00 AMDoor Leave Open Door 1
10/05/0808:32:00 AMDoor Closed Door 1
10/05/0808:41:00 AMValid Card Exit Yap Door 1
10/05/0808:46:00 AMValid Card Exit Lam Door 2
10/05/0809:14:00 AMValid Card EntryLam Door 2
10/05/0810:18:00 AMValid Card Exit Lam Door 2
10/05/0810:19:00 AMValid Card Entry Yap Door 1
10/05/0810:40:00 AMValid Card Exit Yap Door 1
10/05/0810:42:00 AMValid Card EntryLamDoor 2
11/05/0808:30:00 AMValid Card EntryLamDoor 2
11/05/0808:20:00 AMValid Card EntryYapDoor 1
11/05/0810:20:00 AMValid Card Exit Lam Door 1
11/05/0811:40:00 AMValid Card Exit Yap Door 1

the above is the data i need to work with (dates are in dd/mm/yy). i need to find a way (a macro, preferably) to extract the date and time corresponding to one person, and paste it into a new sheet, e.g. at sheet 2 (renamed to "lam") should be

10/05/0808:30:00 AM 11/05/0808:30:00 AM
10/05/0808:46:00 AM 11/05/0810:20:00 AM
10/05/0809:14:00 AM
10/05/0810:18:00 AM
10/05/0810:42:00 AM

View 10 Replies View Related

Matching Cells Across Sheets And Returning Color Value Based On The Sheet?

Dec 24, 2013

I have a set of sheets on a workbook that contain addresses, which are all combined on the first sheet (as you can see in the attached file). I would like to use a formula to compare the addresses on the Main sheet with the other sheets, then return in the D column of Main a colored cell indicating on which sheet the address was found on; different colors for different sheets. I tried to figure out some conditional formatting, but to no avail. Also, on occasion I have spreadsheets with 5 or 6 sheets containing these mixed addresses. Is there a solution that won't be limited to just a few sheets for comparison?

Excel Help.xlsx

View 8 Replies View Related

Copy Sheets And Change Sheet Name And Cell As Matching Date?

Feb 1, 2014

I have a template with a sheet dated the 1st of the month "Feb 1" Cell 2 also had the same date.

I'd like a VBA to copy this sheet, change the sheet names to Feb 2, Feb 3, etc, and also change cell 2 to the same name...

I've seen similar code to copy sheets and change name, but can't figure out with the date...

A pop up asking for the number of new sheets would also be useful.

ExcelForumSample.xls

View 8 Replies View Related

Extracting Data From Multiple Excel Sheets

May 31, 2014

how to extract data in the following case: I have the following columns:

Employment Name
code1
code2
cost1

[Code]....

how can I do this using formula ? For one sheet and for extracting this data from multiple sheets into a new one in the same workbook?

View 6 Replies View Related

Matching Data From 2 Sheets

Sep 19, 2012

I am trying to combine the data in two sheets.

In Row A sheet one, I have "name" In Row A sheet two, I also have "name"

If row A sheet two matches the data in row A sheet one, I want the corresponding data in row D sheet two to move to row E sheet one.

View 1 Replies View Related

Matching Data 2 Cells In 2 Sheets

Jul 10, 2014

is it possible to provide a formula to match as per the uploaded file. Data in Sheet one columns A and B, compared to what is in Sheet two column A I have a lot of data, and only need a Y for yes, and N for No as a result.

View 3 Replies View Related

Copy Non-Matching Data Between 2 Sheets To Another

Apr 18, 2008

I am trying to find a way of comparing entries in one spreadsheet to another spreadsheet and generating a third sheet of those that do not match.

As an example, I have a spreadsheet of approved supplyers, with name, reference and date in each column, and a speadsheet of used supplyers, some with references and some without. I want to compare the supplyers used to the approved supplyers list by reference number (which are in the same format), and produce a third sheet listing all those that do NOT match e.g. unapproved supplyers.

I need to make sure that the third spreadsheet only lists each seperate supplyer once, even though they may have been used several times, AND it must also include supplyers without a reference number.

I will use this to compare many spreadsheets with the same data, but of varying length and would like to use a macro to perform this function.

View 6 Replies View Related

Matching Data On Two Separate Sheets And Copying From One To Another

Jul 16, 2009

If the name in Column F of "Sheet1" is found in "DataPEs" in Column B, then copy the block of 6 cells of data below it in column Q to column D of "Sheet1" in their relative rows. Additionally, if column Q has data then copy it, if not then copy the data only in column M. Finally, the number of matching names will vary in Sheet1 but will stay mostly the same in the DataPEs sheet. I've highlighted one block of data in green as an example.

View 13 Replies View Related

Pulling And Matching Data From Multiple Sheets?

Aug 7, 2013

I have a workbook with 4 sheets one is called final and the other 3 are data1, data2, and data3. The data sheets have the actual data I am needing to pull from. Each has two rows of data: data1 has employee number in column A and employee code in column B. Data2 has employee code in column A and employee name in column B. Data3 has employee name in column A and employee email in column B. Now I need to pull the info form all three sheets into the sheet names final. So the final sheet needs to contain 4 columns for employee number, employee code, employee name, and employee email. The kicker is the data sheets don't line up with each other within each sheet it does but the first one in data1 is not the first in data3 and so on.

View 2 Replies View Related

Compare 2 Sheets & Copy Non Matching Data

Jan 8, 2008

Does anybody have a code snippet to search and compare 2 sheets.

I want to read the value in a cell on the first sheet, then search the entire second sheet for a match, if it does match then copy the value from certain cells on the second sheet to the row on the first.

View 8 Replies View Related

Copy Matching Data Between 2 Sheets To 3rd Worksheet

Apr 18, 2008

I have found the following code on this forum that has really worked well. This code matches the first two columns of two worksheets and inputs them into a third worksheet. But I need to be able to copy up to five more columns, a total of seven columns and have it input into the third worksheet. I am not sure what it means "For Each c In Sht1Rng". look at the code and advise me of what I need to do.

Sub FindMatches()
Dim Sht1Rng As Range
Dim Sht2Rng As Range
Set Sht1Rng = Worksheets("Data1").Range("A1", Worksheets("Data1").Range("A65536").End(xlUp))
Set Sht2Rng = Worksheets("Data2").Range("A1", Worksheets("Data2").Range("A65536").End(xlUp))
For Each c In Sht1Rng
Set d = Sht2Rng. Find(c.Value, LookIn:=xlValues)
If Not d Is Nothing Then
Worksheets("Results").Range("A65536").End(xlUp).Offset(1, 0).Value = c.Value
Worksheets("Results").Range("A65536").End(xlUp).Offset(0, 1).Value = c.Offset(0, 1).Value
Set d = Nothing
End If
Next c


End Sub

View 2 Replies View Related

Extracting / Transposing Sheet Data?

Mar 9, 2014

I have the attached file with two worksheets D30(1) and Sheet 2.

I need to extract some of the information contained on the D30(1) sheet into the format as contained on Sheet 2. It is almost like a transpose but because all of the information is not needed and all cells don't have info in it, I didn't even try to transpose the D30(1) info.

Is there an easy way to extract the information from sheet D30(1) to present it in the format of Sheet 2? I need to do this for approximately 50 sheets similar to D30(1). Some sheets might even have more columns than the example provided.

View 4 Replies View Related

Extracting Dates Data From The Same Sheet?

Apr 1, 2014

I'm attaching the test file with one example sheet. Within the same sheet, there is month end dates in column A, and from column B till column E, there are 4 variables (Foreign LT Debt, Local LT Debt,Foeign ST Debt and Local ST Debt). Their respective month end values are already given from column G till Column R. How it is going to be extracted is that against each effective date for that variable (Foreign LT debt, for example), the Rating is given under Rating header. So, for instance, for Foreign LT debt, rating from 25/8/1993 till 4/2/1997 is BB-. So, for all CELLS in column B between these dates, the rating should be BB-. Before that, since there is no value given, I want to put it NA. I have filled the values in column B for demonstration. I want to write a function or perhaps a macro to do that automatically for these 4 variables. There are 50 + sheets with the same layout, so I hope the macro or look up function have not to be written 50+ times.

View 1 Replies View Related

Protecting Data When Extracting From Another Sheet

Feb 17, 2010

I need is for the Roster sheet, which has the exact same column and row headings as the Leave sheet, to read the data from the Leave sheet and change dynamically if the Leave sheet is changed. If there is data in any cell then I need to protect just that cell in the Roster sheet so that the user creating the staff roster is unable to edit it out.

I have created a plain cut and paste macro on open from Leave to Roster but this doesn't give me the dynamic linking, and doesnt help solve the problem of needing to check each and every cell in Roster against a corresponding cell in Leave, but also if its blank in Leave to allow the user to update that cell in the Roster sheet.

View 3 Replies View Related

Extracting Data In One Cell And Populating Another Sheet?

Apr 26, 2013

I want to create a sort of complex logging system for my work.

As of right now i use a simple temple. Column A has the job number, column B has drawing numbers. Each cell in column B has multiple drawings. So for example cell B2 might contain 101, 102, 103, 104 and so on or something like 101...104. Depending on the situation. The ... means drawings 101 thru 104. What i want to do is have a second sheet that has Column A be the job number but column B has just one drawing #, so an example would be . A1 = 10939 and B1 = 105, 107, 109..111. Sheet 2 would then have A1 = 10939, B1 = 105, A2 = 10939, B2 = 107, A3 = 10939, B3 = 109, A4 = 10939, B4 = 110, and so on. Is something like this possible.

View 4 Replies View Related

VBA Macro - Formula Extracting Data And Transpose Into Another Sheet

Feb 3, 2014

Extract data from one sheet to another sheet then transpose automatically.

I have attached the work book of what I'm trying to accomplish.

View 14 Replies View Related

Extracting Similar Data From Different Worksheets And Displaying On One Sheet?

Apr 13, 2012

I have two work sheets as-

Sheet1

idnameclassscores
1abc280
2efg276
3hij555
8klm478
9mno490

Sheet 2

nameschooldate of admission
abcpublic school2/9/2011
efgpublic school3/4/2010
hijprivate school5/9/2011
klmprivate school8/9/2011
mnoprivate school9/10/2011

now what i want is - on sheet 3 compiled data as-

idnameclassscoresschooldate of formation

View 1 Replies View Related

Extracting Data From 1 Sheet And Place Result Into Another In Same Workbook

Jul 16, 2013

I am working on a workbook in which I extract data from a SQL database into a sheet with more or less the following format:

ID_Company
ID_Level
ID_XX

[Code].....

The aim is to extract a list of any employee that has been tagged as "NEW" in the last column, with his/her detail as per the column headings - and place the resulting list in another sheet. The extract is done dynamically and varies from month to month. So in other words the column headings 2013.MAY and 2013.JUN will change next month to 2013.JUN and 2013.JUL respectively - and so would the detail of the data below them as well. The "NEW" tag is simply assigned through an IF statement.

I had a look at most of the Excel Magic trick video clips on YouTube and managed to get a data extract from my main data sheet - BUT was only able to do the extract on the SAME sheet and NOT onto another sheet in the same workbook.

View 3 Replies View Related

Searching For A Sheet And Using Data From The Matching Sheet

Jul 5, 2007

i have is that i want to use data from specific work sheets in another generic sheet, i have a list of names in the generic sheet and a lot of sheets titled by peoples names, i want excel to search for a sheet whose name corrisponds to the name in a cell on the generic sheet and copy from that individuals sheet a specific cell and put it in the generic sheet.

View 11 Replies View Related

Excel 2003 :: Extracting Sub Sheet Of Data From Larger Schedule

Dec 31, 2013

I have sheet containing a schedule of data. It is a record of changes on a project, each change is sequentially numbered and contains a row of data (date of change, whether approved, cost of change etc). Each change is given a cost centre reference (1 of 10 cost centres are being used) depending on the type of change being made.

I need to keep that record of the overall schedule of changes but I also want to extract each of the cost centre categories into a sub table on the sheet to give a schedule of changes against each category.

I have almost achieved what I want but one method leaves blanks in the sub table which I want to avoid and the other method I used to remove the blank lines but needs the first method sheet calculated before it then goes to work and seems rather cumbersome and I suspect there is a much easier method. (I also want it to be compatible with excel 2003 so it can be used across several platforms.)

View 7 Replies View Related

Extracting Data And Posting In Another Sheet Based Upon Macro Selection

Mar 9, 2009

I have written basic macros (probably not the most efficient solution, but its what I know how to do). Up to the present point things are going well. (I tried to attach file, but without success - So I will email the file directly it is pretty easy to figure out) I have option buttons tied to macros that populate a data sheet based upon the input.

This works out quite well and I am able to generate the statistics I desire quite easily. Now comes the second phase, (this is where I am stuck) - when I click the option button "no", I would like this to generate a line item in a separate existing worksheet which lists the item number, tells the discrepancy (as written in the column on the inspection criteria sheet), has a text field for the inspector to briefly explain the exact nature of the discrepancy, and also keeps discrepancies in proper order. Conversly, if "yes" is selected, I would like to be able to check the associated comment page, search the page for that discrepancy number, and if found, delete the line item, then re-oder the page.

View 8 Replies View Related

Press Button To Open Form For Data Entry And Then Send Matching Data To Another Sheet

May 5, 2009

Now that the calculations are working, with the press of a button, I need to be able to select a range of dates and copy all lines within the range to a seperate sheet with the desired name under the same headings they currently reside under. I have included some modified code that is being used in another spreadsheet that was created for me, but I do not pretent to understand all of it and I no longer work with the creator of the spreadsheet. How do I use a button to open the form for date selections and entering the name of the new sheet, and then use the start button on the form to begin the matching and copying to a new sheet? If there is an easier way I am all for that too.

View 14 Replies View Related

Matching Data From One Sheet To Another?

Dec 20, 2013

I have created two sheets: "Roles to Courses" and "Datasheet". I have attached the zip db for review - its only 314k. I need to search the Datasheet in columns N, P for values from the Roles to Courses sheet (Business Role - SAP ECC) column A and find a match in the Datasheet. When a match is found, I need the B,C,D,E,F,G,H,I,J,K columns that contains the values of the classes from the Roles to Courses sht, to be added to the field called "Training Courses" in the Datasheet.

I started a macro but wasn't sure enough to complete the commands.

View 14 Replies View Related

Adding Matching Row Data To Another Sheet?

Sep 28, 2012

When you run the below macro from my orders.xls file it opens my template.xls file and writes data to specific locations and saves the file as the order number from my original file orders.xls. Now for single item orders which are located on the 2nd row there is no problem, but for multiple item orders which each item is on its own row it overwrites the first order because the order number is the same.

Here is the macro and in comments is an example of what I'm trying to accomplish.

Sub PackingLists4Protocol()
' Protocol flatfile ProtocolOrders.xls translated and creates files named by order number
' CSV ONLY
' Keyboard Shortcut: Ctrl+P

[Code].....

View 7 Replies View Related

Sorting Sheet That References Data From Other Sheets (Google Sheets)

Jan 25, 2014

[URL] ....

I want to sort the Inventory Checklist sheet based on Column D but it gives me nothing but references errors.

View 1 Replies View Related

Excel 2010 :: Cross Checking Info With VLookup And Extracting Data From Sheet

May 9, 2014

So in my excel document I have it such that on the first sheet (Labeled 'Sorted') the data is set up as follows: LOCATION, EXTENSION, NAMEWith the appropriate data under each header. On the second sheet (Labeled 'Locations_Ext') I have a named range called Locations; it contains extensions from a separate document, names of people associated with the extensions from the document, and their locations on the map. I am trying to have it such that the excel matches the extension number given on the first sheet with the ones that I extracted from the document on the second and output the location into the first column on the first sheet. The code I have set up for that process is:

=VLOOKUP(B(//SomeValue),Locations,1,FALSE)

I then want the excel to cross check the information that I took from the Visio to see if the visio is up to date with the latest info we have received (Which is the data on the first page under Extension and Name). The code:

=IF(C(//SomeValue)=VLOOKUP(B(//SomeValue),Locations,3,False),"Good","Error")

Both codes seem to be giving me this: #N/A as the results for every cell.. I'm using MS 2010

View 2 Replies View Related

Move Data From 1 Sheet To The Other Matching Headers?

Feb 7, 2014

I have a DATA sheet that is all of the information reported on a monthly basis. This format will never change, but the data will. I have a second sheet called MMUSAGE.

On the MMUSAGE tab, I have identified which headers (in red) from the DATA tab that correspond with the headers in the MMUSAGE tab. Question is: how do I move the data from the DATA tab over to the MMUSAGE tab under the appropriate headers?

Example: IF Product Number on Worksheet(DATA) = Product Code on Worksheet(MMUSAGE) then move all data to Column L.

View 4 Replies View Related

VBA - Paste Data By Matching String In Other Sheet?

Aug 27, 2012

I am trying to paste data from one sheet to another using their string but not getting the logic.

below is the example for the same.

Sheet1 - data source
A
B
C

ABC
56.32
45.65

DEF
26.5
23.6

Sheet2 - Data needs to be pasted

A
B
C

DEF
23.65
36.65

XYZ
23.65
12.65

PQR
15.23
25.65

ABC
65.59
65.26

MNL
26.65
23.65

Value contains in Column B and C for ABC & DEF should replaced by the values in Sheet1

View 1 Replies View Related







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