+ Reply to Thread
Results 1 to 5 of 5

Removing #N/A using ISNA

  1. #1
    Registered User
    Join Date
    02-11-2011
    Location
    London, UK
    MS-Off Ver
    Excel 2003
    Posts
    7

    Removing #N/A using ISNA

    Hi,

    I am trying to remove #N/A in this formula, how can I insert ISNA so that #N/A is no more in place?

    Basically, I am trying to look for a invoice number and its value and compare it to old invoice data to check if it was already booked. Have used concatenate to combine the invoice number and its value (so that if same invoice is booked with difference value - my formula picks up)

    Data is returning with #N/A value for new invoices which were not booked. And I am unable to insert the INSA in below formula. Can someone help me with this?


    =IF(C4="","",VLOOKUP(CONCATENATE('Invoice Download'!C4&'Invoice Download!J4),'Old Invoice 2011'!$H:$Q,10,0))


    Thanks & Regards to all of you!

  2. #2
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Removing #N/A using ISNA

    What do you wan't it to do if it returns #N/A?

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  3. #3
    Registered User
    Join Date
    02-11-2011
    Location
    London, UK
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Removing #N/A using ISNA

    Hi Dom,
    Thanks for the post! I want the field to be blank.

    Would appreciate your help!

    B.Rgds,

  4. #4
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Removing #N/A using ISNA

    Try this:

    =IF(OR(C4="",ISNA(VLOOKUP(CONCATENATE('Invoice Download'!C4&'Invoice Download!J4),'Old Invoice 2011'!$H:$Q,10,0))),"",VLOOKUP(CONCATENATE('Invoice Download'!C4&'Invoice Download!J4),'Old Invoice 2011'!$H:$Q,10,0))

    Dom

  5. #5
    Registered User
    Join Date
    02-11-2011
    Location
    London, UK
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Removing #N/A using ISNA

    Hi Dom,

    Nice one! Worked perfect.. with bit of tweak where I removed C4="" and the rest went through

    Thanks a lot!

+ 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