+ Reply to Thread
Results 1 to 9 of 9

Function to Pull Entire Row Based on Criteria

  1. #1
    Registered User
    Join Date
    05-14-2013
    Location
    Somewhere, Anywhere
    MS-Off Ver
    Excel 2016
    Posts
    82

    Function to Pull Entire Row Based on Criteria

    Hello,

    I am trying to pull the entire row(s) based on a specific criterion (employee ID). I only know how to pull one cell. Is it possible?

    I am using Windoes 10. Sorry I don't see an option to change my profile on my phone.

    Thanks in advance!
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: Function to Pull Entire Row Based on Criteria

    Maybe you are looking for a pivot

    Cheers
    Erwin
    Attached Files Attached Files
    I started learning VBA because I was lazy ...
    Still developing.... being more lazy...

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

    Re: Function to Pull Entire Row Based on Criteria

    You indicate your windows version, bit not your office version? If you tell me the office version, I can change that 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
    Registered User
    Join Date
    05-14-2013
    Location
    Somewhere, Anywhere
    MS-Off Ver
    Excel 2016
    Posts
    82
    Hi, I am using Office 2016. Thanks!

  5. #5
    Registered User
    Join Date
    05-14-2013
    Location
    Somewhere, Anywhere
    MS-Off Ver
    Excel 2016
    Posts
    82
    Thanks for the response. Unfortunately, I will need to calculate the remaining hours for each person after it is grouped and that will be cumbersome to recreate the table on a bi-monthly basis (adding lines etc). Do you know of any possible function to pull all lines?

  6. #6
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: Function to Pull Entire Row Based on Criteria

    What you can do is working with an array-formulas (to be entered with ctrl-shift-enter):
    Please Login or Register  to view this content.
    See also attachment
    Cheers
    Erwin
    Attached Files Attached Files

  7. #7
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,291

    Re: Function to Pull Entire Row Based on Criteria

    Another formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    05-14-2013
    Location
    Somewhere, Anywhere
    MS-Off Ver
    Excel 2016
    Posts
    82
    Thank you, Erwin! You are a genius!

  9. #9
    Registered User
    Join Date
    05-14-2013
    Location
    Somewhere, Anywhere
    MS-Off Ver
    Excel 2016
    Posts
    82
    Thanks you, Czeslaw! Appreciate your help! Both of you are Excel geniuses!

+ 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: 4
    Last Post: 01-11-2019, 02:38 PM
  2. Replies: 3
    Last Post: 12-28-2018, 05:01 PM
  3. [SOLVED] How to match multiple criteria from a list to pull entire row from another worksheet?
    By Ozymandius in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 06-18-2017, 01:39 AM
  4. Cut and Paste entire row based on criteria - Need help
    By NateS in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-11-2014, 04:52 PM
  5. Replies: 1
    Last Post: 09-04-2013, 02:07 PM
  6. [SOLVED] Delete entire row based on 2 criteria
    By coopman64 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-13-2012, 03:38 PM
  7. Delete entire row based on criteria
    By D_N_L in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-08-2011, 09:13 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