+ Reply to Thread
Results 1 to 1 of 1

Multiple IF, vlookup conditions and varying results

  1. #1
    Registered User
    Join Date
    03-25-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1

    Multiple IF, vlookup conditions and varying results

    Hi There,

    I'm trying to compare 2 worksheets with 100+ columns and 1500+ rows and each worksheet have the same columns but the data changes from week to week (i.e. previous week vs current week). I'm using the IF statement with vlookup formula which works for most cells but others have errors. The data in the cells are numeric, blanks, memo field (definition), alphanumeric, alpha, etc.

    I want the formula to do the following compare:
    1) if previous week = blank and current week = abc then result = Mismatch
    2) if previous week = abc and current week = blank then result = Mismatch
    3) if previous week = abc and current week = abc then result = abc
    4) if previous week = def and current week = abc then result = Mismatch
    5) if previous week = [memo field for definition] and current week = [memo field for definition] then result = [memo field for definition]

    =IF(OR(ISBLANK(VLOOKUP(CurrentDD!I2,PreviousDD!I:I,0)),ISNA(VLOOKUP(CurrentDD!I2,PreviousDD!I:I,1,FALSE))),"",VLOOKUP(CurrentDD!I2,PreviousDD!I:I,1,FALSE))

    The formula doesn't work when comparing a blank cell vs populated cell as the result is always blank and the memo field gives an error #value. I tried adding another criteria for the Mismatch but no luck. Can you please help me with the correct formula? I've been at this for 3 days now and am very frustrated so any help would be much appreciated.

    Thank you so much in advance.
    Attached Images Attached Images

+ 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] Average results based on multiple conditions and by month
    By Tanya_ in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-14-2013, 06:41 PM
  2. [SOLVED] Vlookup - Country conditions (Multiple conditions)
    By dluhut in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-26-2013, 11:42 AM
  3. SUM based on two conditions in an array with varying lengths
    By jd354 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-06-2012, 06:38 PM
  4. one formula wiht multiple conditions and results..
    By Pavan Shetty in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-13-2012, 04:48 AM
  5. [SOLVED] Returning only unique results based on multiple conditions
    By Dickens153 in forum Excel General
    Replies: 5
    Last Post: 03-29-2012, 12:29 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