+ Reply to Thread
Results 1 to 14 of 14

Cross-referencing and Looking Up

  1. #1
    Registered User
    Join Date
    04-28-2010
    Location
    PA
    MS-Off Ver
    Excel 2007
    Posts
    7

    Cross-referencing and Looking Up

    Greetings All,

    I have read numerous threads on this site, and it seems that the people who respond are very knowledgeable. I have hit a huge road block and have no idea how to solve it.

    Ok, I will try to explain this as best I can, and more than willing to post examples if need be. I am attempting to located the values in Col A, of spreadsheet 1, in Col A of spreadsheet 2. Now, sheet 1 is set up with row headers as well as col. In sheet 2, the headers (col and row) from 1, are side by side. What I need to do is find a way to count the instances that the col headings occur in sheet 2, and input that number in sheet 1.
    Example:
    Lots Receiving Complaints (2010) Counterfeit/Diverted Product Child Opened Damaged Coating
    0013A61 3 2

    0013A62 5

    If this is unclear, I apologize. The above is an example of what I need sheet 1 to look like. Sheet 2 looks like this:
    0013A61 Counterfeit/Diverted Product
    0013A61 Counterfeit/Diverted Product
    0013A61 Counterfeit/Diverted Product

    I have tried doing this manually, but there are over 1800 rows I need to look-up, and it's taken my 3 days to get through only 200 of them. It's very time consuming, not to mention tedious. I was wondering if there were a way to speed up the process. Your help is greatly needed and very much appreciated!!!

    Thanks in advance!!!!
    Last edited by mlewis1211; 04-29-2010 at 10:25 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Need Help Cross-referencing and Looking Up

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!


    By the way, have you tried a Pivot Table? or Sumproduct()
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    04-28-2010
    Location
    PA
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Need Help Cross-referencing and Looking Up

    Greetings and thanks for the speedy reply!!

    I have tried pivot tables, VLOOKUP, OFFSET, etc. I can't seem to figure out a way to get the 2 sheets to "talk" to one another.

    I have attached a workbook with 2 sheets: an example of what I need sheet 1 to look like, and where I am pulling the data from, in sheet 2.

    Thanks again!!
    Attached Files Attached Files

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Need Help Cross-referencing and Looking Up

    A can't seem to upload a sample right now..

    But if you go to Sheet2 and then go to Insert tab and select Pivot Table

    Accept the defaulted range if it is correct...

    Then drag the Lot Number from top section to the Row Labels section below

    drag the lvl 3 Cat from the top section to the Column Labels section below, then drag it again from the top to the Sigma Values section below.

    You should get a pivot table of values come up.

  5. #5
    Registered User
    Join Date
    04-28-2010
    Location
    PA
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Need Help Cross-referencing and Looking Up

    Ok, I will try this and post my results. Thanks!!! (fingers-crossed)

  6. #6
    Registered User
    Join Date
    04-28-2010
    Location
    PA
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Need Help Cross-referencing and Looking Up

    Ok I've tried multiple variations of the Pivot Table. I think I can make it work, but it'll still take a long time. Is there anything I can post to help you?

  7. #7
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Need Help Cross-referencing and Looking Up

    To help me? I thought this was your project

    If you need help though, then post a sample workbook with more variation in each of the columns.

  8. #8
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Need Help Cross-referencing and Looking Up

    Here is a sample.

    I had to reduce your table to 500 rows.. too big (even zipped).
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    04-28-2010
    Location
    PA
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Need Help Cross-referencing and Looking Up

    Greetings,

    I meant to help you understand what I was trying to say :-)
    I have configured a pivot table and the data does fill in the appropriate spaces. The issue that remains is that I don't need all of the 40K+ row headings. There are only about 1500 of those I do need. It's teasing the remaining out, that is posing the problem. The only solution I could think of is to go into the data sheet where the pivot table is pulling the data from, and deleting the rows I don't need. I was wondering if there were a faster way I could do that, or a way I could mass find/highlight the ones I want to keep, so it makes it easier to delete the unwanted.

  10. #10
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Need Help Cross-referencing and Looking Up

    In the Pivot Table for 2007, you have option to filter out data...

    In the sample I had attached there should be a drop down arrow in A4 and in B3,

    You can filter (like AutoFilter) for wanted/unwanted data, etc.

    Does that help?

  11. #11
    Registered User
    Join Date
    04-28-2010
    Location
    PA
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Need Help Cross-referencing and Looking Up

    This is EXTREMELY helpful!!! I don't know why I didn't think of this before!! WOW thanks so much!!!

  12. #12
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Need Help Cross-referencing and Looking Up

    Great! Glad that works out for you.

    Can you please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

  13. #13
    Registered User
    Join Date
    04-28-2010
    Location
    PA
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Need Help Cross-referencing and Looking Up

    Ok will do. I am going through the table row data and de-selecting, I guess there's no way around having to put in a few hard-earned hours!! lol

    Thanks again for your help!

  14. #14
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Cross-referencing and Looking Up

    The other option is to group the original table so that the rows you want to include are at the top, then when you define the range for the Pivot table, include only those top rows that are relevant.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1