+ Reply to Thread
Results 1 to 9 of 9

Linking Data between sheets that only display information based on criteria

  1. #1
    Registered User
    Join Date
    02-04-2016
    Location
    Gold Coast, Australia
    MS-Off Ver
    2010
    Posts
    5

    Linking Data between sheets that only display information based on criteria

    Hi all,

    So I have used this forum a lot as a reader and I have never needed to sign up because all my questions have been answered without me asking extra info...... until now.

    So, I am attempting to build an asset register for my company that will streamline the process and allow us to find the data we need more efficiently.

    I have run into a problem. I have built a Master Register (Sheet 1) with all the data lines in place, on this sheet column K displays a "Fit for service" Value (drop down list, conditional formatting etc). I wish to auto populate Sheet 2 with all the items with the cell value in column K equal to "out of service". I also require changes to be able to be made to an entry on either sheet. So if I go to sheet 2 ad change an asset's fit for service status to "fit for service" (trying to fool proof this register)

    I'll be carrying out this for several other data values as well as the assets fit for service value. Example: I will have a sheet for the assets location (we are in every state in Australia), type, etc.

  2. #2
    Registered User
    Join Date
    02-04-2016
    Location
    Gold Coast, Australia
    MS-Off Ver
    2010
    Posts
    5

    Re: Linking Data between sheets that only display information based on criteria

    bump
    bump bump

  3. #3
    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,933

    Re: Linking Data between sheets that only display information based on criteria

    Alan, forum rules require you to wait at least a day before bumping your thread.

    I will take a look for you
    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

  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,933

    Re: Linking Data between sheets that only display information based on criteria

    OK for lack of any sample data from you, I threw this together. See if you can adapt it to what you have...
    A
    B
    C
    D
    E
    1
    Name Code Name Code
    2
    aa
    11
    aa
    11
    3
    bb
    22
    dd
    11
    4
    cc
    33
    gg
    11
    5
    dd
    11
    jj
    11
    6
    ee
    22
    7
    ff
    33
    8
    gg
    11
    9
    hh
    22
    10
    ii
    33
    11
    jj
    11

    D2=IFERROR(INDEX(A:A,SMALL(IF($B$2:$B$11=11,ROW($B$2:$B$11)),ROWS($A$1:A1))),"")
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Then copy down and across as needed

  5. #5
    Registered User
    Join Date
    02-04-2016
    Location
    Gold Coast, Australia
    MS-Off Ver
    2010
    Posts
    5

    Re: Linking Data between sheets that only display information based on criteria

    Thanks so much, ill give it a go.

  6. #6
    Registered User
    Join Date
    02-04-2016
    Location
    Gold Coast, Australia
    MS-Off Ver
    2010
    Posts
    5

    Re: Linking Data between sheets that only display information based on criteria

    OK, so I don't know what I did wrong, but here is what I have thus far.

    As discussed in my original post I require all rows with the value in column K read "out of service" to appear in sheet 2, title "out of service". I then need to be able to modify the entry from either sheet.

    Once that's done, ill work out how to make it work across the rest of the register.

    I really appreciate the help! (I'm a coating Inspector so I'm not good with IT at all!)
    Attached Files Attached Files

  7. #7
    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,933

    Re: Linking Data between sheets that only display information based on criteria

    1. make sure all your headings on all sheets match what you have on the Asset Register.
    2. Use this ARRAY formula in OOS sheet A2, copied down and across as needed...
    =IFERROR(INDEX('Asset Master Register'!$A:$M,SMALL(IF('Asset Master Register'!$K$2:$K$400="out of Service",ROW('Asset Master Register'!$A$2:$A$400)),ROWS($A$1:A1)),MATCH(A$1,'Asset Master Register'!$A$1:$M$1,0)),"")
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

  8. #8
    Registered User
    Join Date
    02-04-2016
    Location
    Gold Coast, Australia
    MS-Off Ver
    2010
    Posts
    5

    Re: Linking Data between sheets that only display information based on criteria

    Your a legend FDibbins! Thanks mate!

  9. #9
    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,933

    Re: Linking Data between sheets that only display information based on criteria

    you'r welcome. If this answered your question, please take a moment to mark the thread as "solved" - it helps keep things neat and tidy lol, and consider adding the reputation to those that helped (see points 2 & 3 below my 1st post to you)

+ 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. [SOLVED] Pulling Data from two separate sheets based on criteria on both those sheets
    By mlbdc2012 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-31-2015, 03:57 PM
  2. [SOLVED] Populating one sheet with a separate sheets information based on criteria
    By madmoojuice in forum Excel General
    Replies: 3
    Last Post: 11-13-2014, 12:02 PM
  3. Combine information from multiple works sheets based on a cell and data in columns
    By Rick_HpyVly in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-19-2013, 02:49 PM
  4. Display data from another sheet based on certain criteria
    By aveit2008 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-27-2012, 07:27 AM
  5. [SOLVED] Create new sheets based on template from master sheet data/information?
    By jlaurnm in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-13-2012, 08:09 PM
  6. Linking information between sheets
    By annaengr in forum Excel General
    Replies: 1
    Last Post: 02-13-2007, 10:07 PM
  7. Linking Information in Sheets based on its content
    By Laura in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-30-2005, 11:55 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