+ Reply to Thread
Results 1 to 10 of 10

Need help Pulling Names that meet criteria

  1. #1
    Registered User
    Join Date
    06-22-2011
    Location
    us
    MS-Off Ver
    Excel 2007
    Posts
    5

    Need help Pulling Names that meet criteria

    Hello all hope someone can assist. I have a spreadsheet that has employee name and average hours worked.. The employee is listed multiple times because each row represents a pay period with number of hours worked. the last column I used to average the hours worked. So what I need is whenever there is a value greater than 30 in column g, I need to copy the row where column G has a value. It can be copied on the same sheet or on another. Any help would be appreciated.
    Attached Files Attached Files

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Need help Pulling Names that meet criteria

    Please see attached file.
    Attached Files Attached Files
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Need help Pulling Names that meet criteria

    In case I misread the requirements ( I think you want the records where values in G are greater than 30) use this (adjusted) formula

    =IFERROR(INDEX(A:A,SMALL(IF($G$2:$G$4910>30,ROW($G$2:$G$4910)),ROWS($I$1:I1))),"")

    ...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. Press F2 on that cell and try again.

  4. #4
    Registered User
    Join Date
    06-22-2011
    Location
    us
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Need help Pulling Names that meet criteria

    AlKey:

    Thank you so much in getting right back to me. Ill Look at it

  5. #5
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Need help Pulling Names that meet criteria

    Yea, it is in Post3. Sorry about that

  6. #6
    Registered User
    Join Date
    06-22-2011
    Location
    us
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Need help Pulling Names that meet criteria

    no problem..... for whatever reason, it is not working... I am not familiar at all with array and such.. I keep getting the same result as you sent to me. I assume I am doing something wrong.


    THanks

  7. #7
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Need help Pulling Names that meet criteria

    Here is the file with corrected formula.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    06-22-2011
    Location
    us
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Need help Pulling Names that meet criteria

    I hate to ask but I removed the names of the employees in order to upload to the forum page. I want to use the formula you supplied and apply it to my original excel spreadsheet. How can I do this and achieve the exact results in the correct formula post. Again, I can't thank you enough.
    Signed, excel dummy

  9. #9
    Registered User
    Join Date
    06-22-2011
    Location
    us
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Need help Pulling Names that meet criteria

    Never mind... I figured it out.... BTW - You Da Man

  10. #10
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Need help Pulling Names that meet criteria

    The employee name shows up a 0 because there are not listed. Once you applied formula to your real data the formula will find them. You just have to make sure that you transplant formula correctly and enter it with Ctrl+Shift+Enter key combination. Unfortunately, I don't know the ranges for your real data so, I can't make changes to the formula.

    Don't forget to thank those who helped by clicking on Add Reputation * and please mark thread as "Solved" if your issue has been resolved. (Selecting Thread Tools-> Mark thread as Solved).

+ 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: 0
    Last Post: 12-20-2010, 04:31 PM
  2. Replies: 5
    Last Post: 09-30-2008, 06:38 AM
  3. Replies: 3
    Last Post: 09-30-2008, 04:58 AM
  4. return worksheet names that do not meet criteria
    By kmfdm515 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-21-2008, 08:44 PM
  5. [SOLVED] pulling back dates that meet certain criteria
    By bruno in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-21-2006, 09:45 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