+ Reply to Thread
Results 1 to 5 of 5

To find the rows with vlookup value #N/A

  1. #1
    Registered User
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2003
    Posts
    32

    Unhappy To find the rows with vlookup value #N/A

    Hello,

    I put vlookup in the column AE and if there is any #N/A in the column the macro should exit and stop.

    could anyone help me on this?

    Please Login or Register  to view this content.
    Thank you,
    Sudharshan

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: To find the rows with vlookup value #N/A

    Try this...

    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2003
    Posts
    32

    Re: To find the rows with vlookup value #N/A

    Hello,

    I have some #N/A's in column AE but this code is changing the whole column with "#VALUE!" and it pops the message "No File exists".

    Can you please help me on this.

    Thank you for the help.
    Attached Images Attached Images

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: To find the rows with vlookup value #N/A

    Please understand my code doesn't changing anything from your original.

  5. #5
    Registered User
    Join Date
    05-13-2014
    Location
    Best
    MS-Off Ver
    Excel 2007
    Posts
    60

    Re: To find the rows with vlookup value #N/A

    Quote Originally Posted by sudharshan86 View Post
    Hello,

    I put vlookup in the column AE and if there is any #N/A in the column the macro should exit and stop.

    could anyone help me on this?

    Please Login or Register  to view this content.
    Thank you,
    Sudharshan

    "=VLOOKUP(B2,'" & sourcesheet.Name & "'!$A1:$D" & SourceLastRow & ",4,0)"
    replace your code with the above statement and it will probably work!

+ 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. Replies: 1
    Last Post: 12-17-2012, 08:00 PM
  2. Can you use to VLookup to find rows that "Contains" a value?
    By Motox in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 09-04-2012, 04:43 AM
  3. Multiple Row Match (VLOOKUP Extended) to find Multiple Rows
    By Niper in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-24-2011, 10:58 AM
  4. Using VLOOKUP to find multiple occurrences and find the Total quantity
    By susanpa in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-30-2009, 09:54 AM
  5. Replies: 4
    Last Post: 10-18-2006, 12:25 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