Using A Lookup To Copy Data

Jul 4, 2007

In Sheet2 l have a list of data (more complex than the sample but l expect the answer will be the same)

I would like to enter a name (ie Rob) from column A into Sheet1 and have excel copy all of the lines with the name "Rob" into the new worksheet

I think l know how to use a lookup to copy one line but dont know how to copy multiple lines with the same lookup ie Rob

******** ******************** ************************************************************************>Microsoft Excel - Broomhayes Sick.xls___Running: xl2000 : OS = Windows XP (F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)boutE8E9E10E11E12E13E14=
ABCDE7NameDate££Tot8Claire22/05/2007146181649Rob15/06/200718557310Claire04/06/2007119610711Sue14/04/200717345112Jane12/03/2007587813613Rob14/06/200739145314Sue28/05/20076936105Sheet1
[HtmlMaker 2.42] To see the formula in the cells just click on the cells hyperlink or click the Name box
PLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.

View 9 Replies


ADVERTISEMENT

Copy Data From Certain Cells Based On Value Lookup Job Number And Paste

May 6, 2014

The sheet I have attached has three tabs one is a master sheet another is the production input and the last is an engineering input section, I have coded the production input section to input into cells and email the engineers when they have a new job, the issue i have is with the engineering input.

The engineers can currently go into this sheet and input the job number onto the engineering input section and it will show them the current issue from the master sheet (I have already entered 1002 in it), what I want them to be able to do is input into the white sections below the description and when they click on update entry a macro takes the job number entered into B3 and saves the information onto the mastersheet in the correct column/row which corresponds to the job they are updating.

However the engineers may need to go into the same job several times and update different information therefore the fields need to not paste into the cells if the input sections are blank.

Masterfile.xlsm

View 1 Replies View Related

Lookup Function To Lookup For Data In Another Table

Jul 29, 2008

I am trying to use lookup function to lookup for data in another table (we call it table A). Unfortunately, whenever the code is not in the table A, Excel will return the data from the previous row.... is there any possible way to prevent this... in another word, if the code does not exist in the table A, I want Excel to return 0 or some other figures.

View 9 Replies View Related

Lookup Data Left Of Found Lookup Value

Nov 28, 2006

here is an example....

(this is on a sheet called Summary)

----A--------B --------C------- D
1Names----At Bats----Hits----Batting Average
2Tom-------38--------31------.816
3Derek------19--------14------.737
4Joey-------40--------28------.700
5Chris-------40--------27------.675
6Chuck------37--------24------.649

Using the LARGE function, Excel has created a list based on batting averages(on a separate sheet called Line-up). It looks like this.....

---A----------B
1Names----Averages
2 -----------.737
3 -----------.700
4 -----------.675
5 -----------.816
6 -----------.649

The problem I am having is figuring a way for Excel to also bring the corresponding names (after using the LARGE function to create the line up list).

View 3 Replies View Related

Lookup Matching Data & Subtract From Another Lookup

Jun 12, 2007

I have a very large spreadsheet of customer information(I call it the master spreadsheet). Each row contains only 3 things: Account number, product bought, Price

Later I receive the money from the customer for that product(the pay sheet) that contains the exact same thing in the same order: Account number, Product bought, Price paid.

What I'm trying to do is compare the two spreadsheets so that when i receive the pay sheet of cusomters who have paid with the amount it will deduct it from the master sheet.

So it should compare account numbers when it finds a match then it should subtract the amount paid (column C) from the master spreadheet price column(column C also).

sometimes customers don't pay the right price so it has to be a subtraction so I can see if it was over paied, underpaid etc.

Right now I'm still doing it manually combining the two documents sorting it by account number and checking for matches in column A (account number).

View 5 Replies View Related

Lookup Formula: Find The Longitude And Latitude Data From My "lookup" Sheet

Jan 28, 2009

In my workbook I have multiple sheets but I'm attaching a very simple workbook to demonstrate what I'm trying to accomplish. In my "Lookup" tab/sheet. I want to have known Latitude and Longitude data that will exist in columns A&B. Columns C & D will have address numbers and Street Name. I would like my lookup formula to find the longitude and latitude data from my "lookup" sheet, when the matching address information is typed in, in my 2009 sheet. I have to keep the street numerics and street name separate on this worksheet as well. I believe I'll need two separate lookup formulas as I need these formulas to start in cell G4 & H4 in my "GeoCoding1" sheet. Is it possible to have four columns of data to be viewed in a lookup formula? I tried this formula in cell G4 (GeoCoding1 sheet)

View 3 Replies View Related

Lookup Value; Then Copy 5 Cells To The Right

Jan 24, 2010

On "SHEET1" loop through column "MODELCD" and perform a vlookup of its line items on column "NAME" in "SHEET2";. Once it finds a match on "SHEET2", copy the data in all 5 cells to the right of it and paste it back into "SHEET1" (in the cells to the right of the "MODELCD" line item being looked up).
"
I have attached a workbook below to help illustrate my task. What I'm trying to avoid is writing "10" separate Vlookups, when I could capture all the data in one procedure. I have been trying to figure this out for a couple of hours and decided to see if someone else knew how to do it. I have the idea in my head on how to do it, but struggle to translate it into working code.

Im open to using a FIND or SEARCH method instead of a VLOOKUP, but I was just more familiar with vlookups. This code i will be running on about 1000 line item, if that dictates one method vs the other.

View 3 Replies View Related

Lookup And Copy Rows

Jan 30, 2010

Running Excel 2007, I have attached an example of the spreadsheet I'm working on. The actual spreadsheet contains many more sheets and thousands of rows, with several more locations, but the concept is the same.

Challenge 1:
I want to search Computer Name (column C) for names starting with AKL, WEL or WLG and then copy those rows to the NZ worksheet (leaving the original worksheet rows intact).
Then for names starting with DEN, copy rows to the USA sheet.
Then similar for other names...

I have been exhausting myself by experimenting with all sorts of nested INDEX, MATCH and VLOOKUP formulas, but I'm not up to the task and suspect a vb macro is the best or only way to do this..?

I found this post but I haven't been able to adapt it to work in my sheet... probably just my inexperience... http://www.excelforum.com/excel-prog...ell-value.html

Challenge 2:
The next time the IT dept gives me an updated asset report, I will copy all the relevant data into this 'All Data' sheet, replacing the old data that was there - can the NZ and USA sheets dynamically adjust, or do I have to delete what's there to guarantee I won't accumulate old data? I guess I could use a blank 'template' file each time, if this is easier than building the function into vb...

Once the data is organised in this way, I intend to create a summary sheet that will show a count of assets in each location, probably with a stacked chart to pretty it up.

View 7 Replies View Related

Lookup Value And Copy Next Column Value To Another Cell

Sep 9, 2013

I'm having a hard time understanding the Find function and getting the syntax correct. For the example below I need an entire function that will look up the most previous value of 'Incident_Number, and copy the corresponding 'Description' into the last record.

My spreadsheet has an Excel Table with column A titled 'Incident_Number' (a Number) and column B is 'Description' (a String). Incident_Number may contain cells with duplicate entries, but in each case, there will be a corresponding 'Description'. I already have a macro that creates a new record for either 1) a New Incident, or 2) an existing Incident. If I'm creating a new record for an existing Incident, what I need to be able to do is auto populate 'Description' with the value in the previous record that has the same Incident_Number.

In the example, the macro should copy "The battery was replaced" from the most previous record whose incident number is 1001 into the new record.

Incident_Number Description
1001 The battery is dead
1002 No power at the console
1003 System crashed
1001 The battery was replaced
1004 something else
1001 ?? (should read, "The Battery was replaced"

View 2 Replies View Related

Macro To Lookup And Copy Numeric?

Apr 24, 2014

I currently have a spreadsheet using this formula:

=IF(OR($C9-{17}$E9="",ISTEXT(E9)),"",$E9-LOOKUP(9.99e+307,$E1:$38))

It works great (a tip I got from this site Now, I would like to take the LOOKUP portion & use it in a macro.

What I want to accomplish is to have the macro look at the prior month's data, scroll to the last entry in a column then LOOKUP to get the 1st numeric it finds and copy it to another spreadsheet. I need it to bypass any text it finds, and only accept a numeric for calculation.

View 3 Replies View Related

Lookup Value And Copy Adjacent Range

Jan 11, 2010

I have three columns (A to C) with contineous data (# rows always variable).

I would manually type a number in a cell (S2) that would correspond with a number in Column A. What I would like the code to do is that it finds the number in column A and selects the whole range in column B and C starting from that row, and copies that whole selection to N10.

After that all the data in column N should be substracted with a value given in S3 and all data in column O with a value given in S4.

View 9 Replies View Related

Lookup Find If Copy In Next Blank Cell

Mar 4, 2008

I have a workbook with 12 sheets. On the 12th sheet I need some VB to go to each of the other tabs and find the letter “E” or “H” in column F. Once the “E” or “H” is found in column F and a number =>9 is found in column E then copy that row from column A-F and paste this row to sheet 12.
On sheet 12, I would like to be able to paste the row in a way that will hold the date in column A. The date can also be copied from each sheet found in cell E1. Also, the tab name has to be copied to sheet 12 with the row the E or H was found if “=>9 criteria” was met.

View 9 Replies View Related

VBA Lookup Value Copy, Paste Values Between Two Workbooks

Aug 21, 2009

I have a standard template worksheet called "Input" (the workbooks name is "Input Capture") which spans C12:U1100.

In addition I have a seperate worksheet which is based in an all entirely seperate workbook called "People Data" (the workbooks name is "Succession Planning") which again spans C12:U1100.

What I would ideally like is a macro which matches the value in column C and populates the entire row (much in the same way as a HLOOKUP, only pasting values) with the exception of columns M and Q.

View 9 Replies View Related

Lookup Copy And Paste Cell Formula

Apr 20, 2006

I am trying to vlookup. I want to copy and paste formulas instead of values. Can I use a formula like IF because VLOOKUP only returns the cell value?

Is there a way to return the formula instead of the value using VLOOKUP?

View 4 Replies View Related

Macro: Copy Columns & Lookup Associated Values

Dec 5, 2006

I have attached a file with an example of what I need. The data tab show the data has been given to me. I need it in a different format to be able to load it into our system. The Needs tab shows what format I need. Basically, I need to convert this table into a flat file, where there is a record for each "X" value only.

View 2 Replies View Related

Lookup #N/A! Error: Copy And Consistent Throughout The Sheet

Jan 11, 2007

I cannot determine why I am getting an N/A error in Cells I11:L11. The formula is copied and consistent throughout the sheet. The Table referenced in the formula appears to be fine. I just cannot figure this out.

View 5 Replies View Related

Copy Cells Between Workbooks Based On Lookup

Apr 7, 2008

I have two workbooks, one with two sheets and the other the new workbook where I want to copy the cell values. What I am trying to accomplish is:

1. From Workbook book1. sheet2. cellb (dynamic row values) I want to look for the value in book1.sheet1.cellb (static row values). If it is found I want to copy the cell values from book1.sheet2.cellb, celld, and celle to book2.sheet1.cellb, celld, and cellg. If there in a new value in book1.sheet2.cellb, I want to copy the same values (cellb, cellc, celld,celle) to book2.newrow.

I am attching the two workbooks with sample data, for clarification.

View 3 Replies View Related

Copy Color Cells From Other Sheet Similar To Lookup

Jun 29, 2009

I have two sheets, one is "Summary" sheet and the other is "Sheet1". Both sheets has the same template. The "Summary" has color bordered cells and the "Sheet1" has no color. Whenever new color had been added to "Summary" sheet, I would like color from "Summary" sheet to be copied to "Sheet1" in same locations like if red been added to D12 cell in "Summary" sheet, D12 in "Sheet1" will automatically filled in red from "Summary" sheet. Similar to Lookup.

View 3 Replies View Related

LOOKUP / COPY PASTE Into Another Sheet Within SAME Workbook With TODAY Date

Feb 10, 2014

Expanding this code to make it do the following:

1. Start w/ "RULE-Table" sheet,
2. Take note of "TODAY" date,
3. LOOKUP date in "RULE-table"
4. Locate Coordinates found in Col D of RULE-Table,
5. LOOKUP the data that resides in those Coordinates on the "PRODUCTION" sheet & COPY
6. PASTE data into "REPORT" tab C2 and E2.

Here's an example to visualize:

Code will do everything it needs to do within an Undisclosed OPEN file with several sheets. The reason the Workbook file name is undisclosed/undefined is because the file name will vary based on clients, so I don't want the code to be limited to look for a specific filename.

*The sheet names within this OPEN client file will always have the same names.

The sheet called: "RULE-Table" holds coordinates based upon "TODAY's" computer date.
For example: If today is JAN 4, the desired coordinates to pull data from are "B5" and "D10" from the "PRODUCTION" sheet.

"RULE-Table" sheet
A......B.........C................D.......
Row1.DAY....WK RANGE....QTR RANGE
2......1/1.......1...............B2,D7
3......1/2.......1...............B3,D8
4......1/3.......1...............B4,D9
5......1/4.......1...............B5,D10
6......1/5.......1...............B6,D11

Since today is 1/4, its rules say go to B2 and D10 of the PRODUCTION tab and collect the data

"PRODUCTION" (data source) sheet (within the same open file)
A.......B......C....D....E....F...
Row1..Header..Hdr..Hdr..Hdr..Hdr.
2.......2.................................
3.......14...............................
4.......13...............................
5.......20...............................
6.......62..............................
7....................76.................
8...................184................
9...................375................
10.................410................
11.................525...............

Last, the collected data from those 2 coordinates should always get pasted onto the "REPORT" tab into C2 and E2 in this example.

"REPORT" (destination) sheet (within the same open file)
A........B.........C.....D....E.....
Row1..Header..Hdr..Hdr..Hdr..
2...................20........410......

View 3 Replies View Related

VBA - Lookup Value Found In A Column Within Another Range And Copy Adjacent Values

Jan 30, 2014

I'm trying to create a macro that can lookup values down a list, find that value within another list and copy the adjacent cells.

The values to look for will always be on the same column and the values to look into will always be in the same range or columns but not always in the same row.

For example.

AI:AI contains a list of ID's which will be manually input every day so they might have a different order.

C:AF has all the data to look into. C always being a list of ID values and I want for every ID found on AI:AI to be search for on C:C: and then once a match is found, I need specific adjancent cell values to be copied next to the ID found on AI.

The values that need to be returned are found on columns B,D,F,G,H,I,J,P,AF and they will always display on those columns.

I've been doing this based on vlookup and INDEX/MATCh formulas but I've come across some limitations for something I want to develop further so I'm trying to do this based on VBA.

View 5 Replies View Related

Lookup Or Data Change Based Upon The Data Reported In Column

Mar 7, 2008

I need to pull info to additional tabs. The problem I am having is that the data is sorted daily based upon performance numbers, so the REP names in column A can change based upon the data reported in column C.

What I want to accomplish:

Pull daily data for each unique name in column A to a team tab/worksheet that will be used to report that team's daily data.

Below is a representation of the data I need to break down by Rep Name and Team.


Rep DATA DATA DATA DATA DATA DATA DATA
1 2 3 4 5 6 7 REP 2 27.5% 14


51 86 REP 1 33.3% 14


42 74 REP 3 19.3% 11


57 86 REP 5 19.6% 9


46 66 REP 4 33.3% 9 ...........................

View 9 Replies View Related

Multiple Data In Single Cell Lookup In Another One Data

Nov 9, 2013

see sample file, i need a formula to do like B column,

I WANT MAKE LIKE B COLUMN, COMPARE A COLUMN DATA IN C,D COLUMN AND ALL DATA SHOULD BE IN B COLUMN..

View 7 Replies View Related

Data Lookup And Email Based On Data Extracted.

Mar 27, 2007

I have a excel spreadsheet that has employee names, email address and DOB. The DOB format is 23/03. I need a program that will lookup the DOB row and when it matches the value I enter it extracts the employee name and email address. Once it has this information I need it to copy into an already created email template and send its off. On some days there are more than 1 person with a birthday so it will need to send multiple emails.

View 7 Replies View Related

Lookup Data Within Data Range And 1 Other Criteria?

Jul 29, 2012

i have a treatment centre with 22 rooms some with mutiple beds, i need to view occupancy in a grid form to optimise bed useage. i need to look up a date that is after arrival but before depature that matches a room number, i have tried match, index, and, vlookup etc but all this info must exist on the same row

View 1 Replies View Related

Import Data Or Lookup

Mar 3, 2008

I am trying to import data from an external source file (Excel) into an Excel sheet that will get uploaded into a db accounting system.

The source data varies month to month in the number of rows and need I to import 7 columns.

The upload file will be saved as a text file for the upload.
I tried to use Import External Data, but since the rows vary in size (anywhere from 1 - 2000 rows) I had to create a named range for the entire column. Upon saving this caused all rows beyond the last row of data to have quotes in them which will kill the upload.
Is there a way around this with the Import External Data, or is there a better way through some combination of INDEX, MATCH, INDIRECT or the like?

View 10 Replies View Related

Using V Lookup To Search Data

Nov 3, 2009

I have looked at previous v lookup questions however was unable to do a comparison to the queries which I have. Hope someone is able to help. Sending spreadsheet to hopefully clarify

Sheet 1 = downloaded orders

Sheet 2 = present Customer database

Q1 - sheet 2 column E - can I make the address show without the return stroke (square symbol)?

Q2 - how do I return in sheet 1 column b and c the information held on sheet 2 column b and c. I have tried using the post code as the look up but it is only returning around a 30% find, can you use post code and rest of the address (post codes could be partially different as off 2 independant databases) to find a true match, or at least increase the 30% find considerably.

View 9 Replies View Related

Code For Lookup With 2 More Or Same Data

Mar 6, 2008

I need to lookup a data which have 2 or more same data from the output sheet and the source sheet. i have used concatenate function but i need the invoice number also in the output sheets.

example i have a list of Order NUmber, Qty and Invoice Number. There can be a chance where the Order Number are equal but different Invoice number. I need in my output data the correct Invoice number and Qty.

View 11 Replies View Related

Lookup Previous Day's Data

Jul 16, 2009

I have a report that is run everyday showing a list of orders, on separate tabs based on facility code, that has all kinds of information. I want to be able to take today's file, and have it lookup any comments I posted on the previous day's file.

I've been messing with code all morning and can't get it right. I think my problem is the vlookup part, and I don't think my loop is right either. Here's a little bit of the code i'm trying:

View 4 Replies View Related

Looking Up Data That A Lookup Function Won't!

Dec 7, 2006

I have store numbers and store volume groups (one letter indicating their sales volume). This is sorted in somewhat of a table - the volume groups are in row 4 going horizontal, the store numbers are under their respective volume groups going vertical.

I have all store numbers listed vertically on another sheet, starting in A2. I want to search for the store number in A2 within the volume group data and return the appropriate group header when it's found.

View 14 Replies View Related

Lookup Data From Table

Dec 5, 2008

the code for lookup value of point 1 and point2 from the table ,if i key in the no.group and type of grade.
eg.1 Group10 grade a value to be point1=75 point2=20
eg.2 Group16 grade B value to be point1=125 point2=172

View 3 Replies View Related







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