Results 1 to 4 of 4

VLOOKUP Formula (Lookup value and Lookup vector are in the same range )

Threaded View

  1. #1
    Registered User
    Join Date
    09-03-2020
    Location
    INDIA
    MS-Off Ver
    2013
    Posts
    18

    VLOOKUP Formula (Lookup value and Lookup vector are in the same range )

    Hi,


    Please find the attached sample file. How to extract status from previous month to current month and vice versa using VLOOKUP formula. Previous month data and Current month data are in the same range.

    Explanation :

    * Need to extract status from Current month (and) Need to extract status from Previous month
    i) in first scenario, B2:B21 are lookup values , B22:C40 is Lookup Vector
    ii) in Second scenario, B22:B40 are lookup values , B2:C21 is Lookup Vector

    * If current month return value (result range: D22:D40) is #N/A then we should consider that error value as "New"
    * If Previous month return value (result range: D2:D21) is #N/A then we should consider that error value as "Deleted"


    Any help would greatly appreciated.


    Note: For your reference, I added sample output data in the attached file(N2:Q41)


    Regards
    Raj Kumar
    Attached Files Attached Files
    Last edited by b_raj_kumar; 12-20-2021 at 07:36 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Merge Vlookup & Lookup With lookup criteria of name & Date Range
    By ravishekhar89 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-30-2021, 06:29 AM
  2. Explanation of Lookup function and vector form with table as a range
    By AlwaysExcel in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-12-2018, 06:07 PM
  3. [SOLVED] VLOOKUP, gives #N/A error (if Range lookup=0) or wrong data (if Range lookup=empty)
    By Ebalinska in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 01-14-2016, 05:55 AM
  4. Error with 2 lookup vector with 2 lookup result
    By Mdolasiya in forum Excel General
    Replies: 3
    Last Post: 11-06-2014, 06:18 AM
  5. Replies: 2
    Last Post: 05-19-2013, 08:46 AM
  6. Lookup vector - result vector
    By abousetta in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-23-2011, 02:59 AM
  7. unsorted lookup vector in LOOKUP
    By nidabp in forum Excel General
    Replies: 3
    Last Post: 05-06-2010, 10:49 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