+ Reply to Thread
Results 1 to 5 of 5

Search within a range in dependance of another column and retrun something else :-)

  1. #1
    Registered User
    Join Date
    11-23-2017
    Location
    Germany
    MS-Off Ver
    2019
    Posts
    51

    Search within a range in dependance of another column and retrun something else :-)

    Hi guys,

    I am trying to search a date within a range in dependance of a personnel number and return the corresponsing working %. Can you please help?
    PN Working% From To
    1000 50% 01.01.2016 30.06.2017
    1000 100% 01.07.2017 31.12.2018
    1005 30% 01.01.2010 31.12.2016
    1005 100% 01.01.2017 31.12.2020

    PN Date Working %
    1000 01.05.2016 SEARCH
    1000 01.08.2017 SEARCH
    1005 01.05.2015 SEARCH
    1005 01.09.2019 SEARCH



    Excel is attached.

    Thanks a lot.
    Attached Files Attached Files
    Last edited by JasXel; 05-03-2018 at 03:47 AM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Search within a range in dependance of another column and retrun something else :-)

    Maybe:

    =AVERAGEIFS(B:B,A:A,K2,C:C,"<="&L2,D:D,">="&L2)

    except that ypu will probably need ; and not , as a separator.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    11-23-2017
    Location
    Germany
    MS-Off Ver
    2019
    Posts
    51

    Re: Search within a range in dependance of another column and retrun something else :-)

    Thanks, but unfortunately that did not work. Maybe I was not clear in my initial post

    PN Date Working %
    1000 01.05.2016 SEARCH for PN 1000 and date 01.05.2016 in the range of C and D, but only for that particular PN and then return the working %, which is in this case 50%

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Search within a range in dependance of another column and retrun something else :-)

    See what is in the attached sheet, and then supply expected answers for the four cases.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    11-23-2017
    Location
    Germany
    MS-Off Ver
    2019
    Posts
    51

    Re: Search within a range in dependance of another column and retrun something else :-)

    YESSSS!!! My appologies for not getting it sooner. That is what I was looking for, thank you so much!

+ 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. search within range of values in of 1 column in another column
    By johnny_alpaca in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-16-2015, 02:09 PM
  2. [SOLVED] Formula Generation: Search column range, display cell from different column.
    By Old4xford in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-31-2014, 11:30 AM
  3. Retrun headers of large values in range
    By fluters1243 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-26-2014, 05:11 PM
  4. [SOLVED] summing up random results in dependance on their values
    By canis01 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-16-2013, 05:48 AM
  5. Replies: 1
    Last Post: 12-03-2012, 08:14 AM
  6. [SOLVED] Using dynmanic range names to retrun intersect on a table
    By bobslay71 in forum Excel General
    Replies: 3
    Last Post: 06-07-2012, 06:21 AM
  7. [SOLVED] Loop through column headers to search from column name and get cell range
    By Pie in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 12-28-2005, 08:20 PM

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