+ Reply to Thread
Results 1 to 4 of 4

IF and VLOOKUP statemanet...need to get rid of #N/A and get 0 instead

  1. #1
    Registered User
    Join Date
    05-04-2006
    Location
    Sweden
    Posts
    22

    Unhappy IF and VLOOKUP statemanet...need to get rid of #N/A and get 0 instead

    Hi!!

    I have Excel 2002 and have a problem. I have a formula that compare the Data between to sheets. I want to when there is no match for the formula to return the value 0 but instead it keeps returning #N/A and I can't find a way to change it.
    I have tried with another If statement in the middle but without luck.

    Please help me?

    Formula:
    =IF(VLOOKUP(A3;Månad_innan!$A$2:$M$4000;13;FALSE)<>"";VLOOKUP(A3;Månad_innan!$A$2:$M$4000;13;FALSE);"")

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,719
    Try

    =IF(ISNA(VLOOKUP(A3;Månad_innan!$A$2:$M$4000;13;FALSE));0;VLOOKUP(A3;Månad_innan!$A$2:$M$4000;13;FALSE))

  3. #3
    Registered User
    Join Date
    05-04-2006
    Location
    Sweden
    Posts
    22
    Hi!

    Thanks for the tip it really helped me.
    I added some stuff for it to be complete

    This is the result and it worked like a charm
    =IF(ISNA(VLOOKUP(A2;Månad_innan!$A$2:$M$4000;13;FALSE));"0";VLOOKUP(A2;Månad_innan!$A$2:$M$4000;13;FALSE)-(M2*2)+(-1)-(O2+P2+Q2+R2+S2+T2+U2+V2))

  4. #4
    Registered User
    Join Date
    01-11-2007
    Posts
    94
    How about it is just Vlookup simple no If or nested formula

    I dont think Isnot numeric will work


    Any other suggesstions


    NK

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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