+ Reply to Thread
Results 1 to 8 of 8

Pulling specific info from one sheet to another if it meets criteria

  1. #1
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Pulling specific info from one sheet to another if it meets criteria

    Howdy y'all,

    In the attached file the desired result is on the Priority sheet. In the Daily sheet, if column B is Set or Pull I want the value in column A to be shown in the 1st available cell in column A of the Priority sheet. I would like this to then repeat process to repeat.
    I have tried a few things like and If formula and that wouldn't place the information on the next cell, it would match the cell from the Daily sheet to the Priority sheet, also, it wouldn't pull all the information over. I also tried Vlookup, but all that would do was pull the same value from Daily to Priority, meaning all the cells in Priority would have 1A in them.
    TL Daily.xlsx
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Pulling specific info from one sheet to another if it meets criteria

    Like this...

    Data Range
    A
    B
    C
    D
    2
    WORK CENTER
    PULL
    SET
    PRIORITY
    3
    1B
    Needs
    4
    2A
    Needs
    5
    3B
    Needs
    6
    5A
    Needs
    7
    5B
    Needs
    8
    6A
    Needs
    9
    9A
    Needs


    This formula entered in B3:

    =IF(COUNTIFS(Daily!$A$2:$A$15,$A3,Daily!$B$2:$B$15,B$2),"Needs","")

    Copy across to D3 then down as needed.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Pulling specific info from one sheet to another if it meets criteria

    Tony,
    Thank you for the help. I was working on how to figure out that part of it as well, but, what I was actually trying to get was the value from column A from the daily sheet to the next blank cell in column A of the Priority sheet if column B on the Daily sheet is "Set" or "Pull.

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Pulling specific info from one sheet to another if it meets criteria

    Not a problem...

    Data Range
    A
    B
    C
    D
    2
    WORK CENTER
    PULL
    SET
    PRIORITY
    3
    1B
    Needs
    4
    2A
    Needs
    5
    3B
    Needs
    6
    5A
    Needs
    7
    5B
    Needs
    8
    6A
    Needs
    9
    9A
    Needs
    10


    This array formula** entered in A3:

    =IFERROR(INDEX(Daily!A:A,SMALL(IF(ISNUMBER(MATCH(Daily!B$2:B$15,B$2:C$2,0)),ROW(Daily!B$2:B$15)),ROWS(A$3:A3))),"")

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

    Copy down until you get blanks.

  5. #5
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Pulling specific info from one sheet to another if it meets criteria

    Well, I tried what you suggested and the key combination isn't working. As soon as I paste the formula into the cell, 1A shows up in the cell and it should be 1B as that is the 1st one that has Set or Pull in column B. Also, if I'm not mistaken, when I press Ctrl, Shift (and hold them down) and then Enter, aren't brackets {} supposed to show up around the formula? That's not happening when I do it.

  6. #6
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Pulling specific info from one sheet to another if it meets criteria

    I figured it out...for some reason, I had to click in the formula bar 1st and then hit the key combination....it's working now.

    Thanks a bunch Tony!

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Pulling specific info from one sheet to another if it meets criteria

    Quote Originally Posted by gmr4evr1 View Post
    when I press Ctrl, Shift (and hold them down) and then Enter, aren't brackets {} supposed to show up around the formula?
    Yes

    Here's your file with the formulas implemented.
    Attached Files Attached Files

  8. #8
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Pulling specific info from one sheet to another if it meets criteria

    Good deal. Thanks for the feedback!

+ 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. need help pulling a cell that meets multiple Criteria
    By jaredhulon323 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-18-2015, 06:25 PM
  2. [SOLVED] pulling data that meets two criteria but with the same date
    By philip.michael.smith in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-08-2013, 02:46 PM
  3. Need to find info in sreadsheet that meets two criteria - help please!
    By Altna in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-20-2013, 07:11 AM
  4. Replies: 19
    Last Post: 04-21-2012, 07:21 PM
  5. Replies: 0
    Last Post: 02-07-2012, 12:13 PM
  6. Replies: 1
    Last Post: 07-14-2010, 07:08 PM
  7. Pulling info that meets certain criteria on to another sheet
    By concretetsunami in forum Excel General
    Replies: 4
    Last Post: 02-22-2010, 09:11 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