+ Reply to Thread
Results 1 to 2 of 2

Apply lookup function on raw data in bundles

  1. #1
    Registered User
    Join Date
    05-19-2017
    Location
    Pakistan
    MS-Off Ver
    2013
    Posts
    1

    Apply lookup function on raw data in bundles

    Hi Everyone, I am new to this forum, so this maybe a very amateur question.

    I have a list of data of leads (Raw data) and it has 3 columns

    Name Source Date
    XYZ FB 14/4/2017
    ABC FB 15.4/2017
    LMG SMS 16/4/2017
    LOP FB 17/4/2017
    YUO SMS 20/4/2017
    GMG FB 21/4/2017
    SMS FB 22/4/2017

    I want to apply lookup function from another set that will match with Names in the data above that has source as "FB" and exist between "14/4/2017 to 17/4/2017".

    I can't tamper with the arrangement of data above using filters, as I have to put this on auto. Any help will be really appreciated

  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 2403
    Posts
    44,063

    Re: Apply lookup function on raw data in bundles

    One way, using an array formula in D2, copied across and down:

    =IFERROR(INDEX(Sheet1!A:A,SMALL(IF(Sheet1!$B$2:$B$84=Sheet2!$B$3,IF(Sheet1!$C$2:$C$8>=Sheet2!$B$1,IF(Sheet1!$C$2:$C$8<=Sheet2!$B$2,ROW(Sheet1!$C$2:$C$8)))),ROWS(D$2:D2))),"")

    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...
    Attached Files Attached Files
    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.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

+ 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] apply function from multitext data with one cell
    By mazan2010 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-09-2016, 04:01 PM
  2. How to apply Lookup using multiple variables.
    By gauravhcu in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-10-2016, 12:38 PM
  3. [SOLVED] Apply lookup to cells that meet certain conditions
    By milkman94 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-28-2015, 12:20 AM
  4. [SOLVED] IF function: Do not apply function if no data?
    By Lehany in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-09-2014, 12:53 PM
  5. How to apply conditional formulas and date lookup
    By fungster in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-14-2012, 03:50 PM
  6. Apply a function to an empty cell, with brand new data from user?
    By 97s in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-18-2012, 09:00 AM
  7. Apply function to the data pasted into userform
    By wali in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-05-2010, 03:36 AM

Tags for this Thread

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