+ Reply to Thread
Results 1 to 7 of 7

Cross Referencing between worksheets

  1. #1
    Registered User
    Join Date
    01-17-2007
    Location
    Downunder NZ
    MS-Off Ver
    MS Office 365
    Posts
    82

    Cross Referencing between worksheets

    I am working on a large database for a processing plant. The attached file is a stropped out version for use as an example.

    Number 1

    On tab "Electrical Droppers" Column Q is the formula =INDEX('Red Meat'!$AD:$AD,MATCH($K3,'Red Meat'!$G:$G,0)) which uses the information from tab "Red Meat" column AD, I would like to use the information from "Chicken" column AD in this column also. Note in column C on the 3 tabs have either CP or RP for Chicken / Red Meat respectively and the Number in Column F is unique.

    Number 2

    I would like to use the Description from "Chicken" & "Red Meat" column G in "Electrical Droppers" Column K.

    I would like the formula in "Chicken" & "Red Meat" column J =IFERROR(INDEX('Electrical Droppers'!$E:$E,MATCH(F23,'Electrical Droppers'!$J:$J,0)),"") explained what IFERROR does.

    Thanks John
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Cross Referencing between worksheets

    I cant really follow what you are trying to accomplish with Number 1, but number 2 is very simple. IFERROR(do this, if it fails do this)

    So if the Index gives an error then it will enter a "".
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Registered User
    Join Date
    01-17-2007
    Location
    Downunder NZ
    MS-Off Ver
    MS Office 365
    Posts
    82

    Re: Cross Referencing between worksheets

    Hi Mike

    Number 1,
    I would like to combine the information from "Chicken" column AD and "Red Meat" column AD into "Electrical Droppers" column Q. At the monemt I have the formula =INDEX('Red Meat'!$AD:$AD,MATCH($K3,'Red Meat'!$G:$G,0)) which only looks at "Red Meat"

    Number 2,

    Sorry I mislead the question, I would like to use the information from "Chicken" column G and "Red Meat" column G into "Electrical Droppers" column K

    And then I should have said Number 3,

    Please explain what IFERROR in the formula "Chicken" & "Red Meat" column J =IFERROR(INDEX('Electrical Droppers'!$E:$E,MATCH(F23,'Electrical Droppers'!$J:$J,0)),"") does?

    Thanks John

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,962

    Re: Cross Referencing between worksheets

    Looking at your data, there is no *link* between the 2 sheets.

    What answers are you expecting? please provide some samples and how youy arrived at them
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    01-17-2007
    Location
    Downunder NZ
    MS-Off Ver
    MS Office 365
    Posts
    82

    Re: Cross Referencing between worksheets

    Hi Ford

    Maybe I am not explaining myself correctly.

    Number 1

    If you open cell in "Electrical Dropper" Column Q i have a formula that takes the data from "Red Meat" Column AD, which is fine in the top 80 rows, after this I would use the data from "Chicken" Column AD. I could change the formula to be Chicken =INDEX('Chicken'!$AD:$AD,MATCH($K81,'Chicken'!$G:$G,0)).

    Now I want to combine both formulas so it looks at both the "Chicken' & "Red Meat" something like this????

    =INDEX((('Chicken'!$AD:$AD,MATCH($K3,'Chicken'!$G:$G,0))'Red Meat'!$AD:$AD,MATCH($K3,'Red Meat'!$G:$G,0)))

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,962

    Re: Cross Referencing between worksheets

    I did ask for some sample answers, but try this...
    =INDEX(IF(ISNUMBER(SEARCH("chicken",M3,1)),Chicken!$AD:$AD,'Red Meat'!$AD:$AD),MATCH($K3,IF(ISNUMBER(SEARCH("chicken",M3,1)),Chicken!$AD:$AD,'Red Meat'!$G:$G),0))

  7. #7
    Registered User
    Join Date
    01-17-2007
    Location
    Downunder NZ
    MS-Off Ver
    MS Office 365
    Posts
    82

    Re: Cross Referencing between worksheets

    Thanks Ford but it don't produce the results I am after.

    May be if I looked at from a different perspective, and start again.

    In Column Q "Electrical Droppers" the cells search "Chicken" & "Red Meat" column AD for the data, this data then shows in Column Q, also coping across the corresponding data in Chicken & Red Meat Column G into "Electrical Dropper" Column K,

    From then on I manually load the information in Columns E & F "Electrical Droppers"

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 03-25-2013, 06:53 AM
  2. Cross Referencing Data between Two worksheets
    By npeters519 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-04-2012, 04:35 PM
  3. Cross Referencing multiple worksheets?
    By ahatley in forum Excel General
    Replies: 2
    Last Post: 07-09-2009, 10:19 AM
  4. Cross Referencing Names on Different Worksheets
    By hgolf8 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-26-2009, 04:16 PM
  5. Cross referencing between two worksheets
    By snazzzle in forum Excel General
    Replies: 1
    Last Post: 12-09-2008, 09:41 AM

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