+ Reply to Thread
Results 1 to 5 of 5

Help needed with complex nested Vlookup, IF statement formula

  1. #1
    Registered User
    Join Date
    12-18-2023
    Location
    Dublin
    MS-Off Ver
    2021 Pro
    Posts
    2

    Question Help needed with complex nested Vlookup, IF statement formula

    I need help and I am hoping someone here can assist.

    I have a formula pulling data from a specific sheet, looking up using acc numbers. It is looking for a specific result, if yes it writes "Yes" and if it gets anything else it writes "No". There is an iferror check there also that if it gets an error result it replaces that with a "No" also.

    =IFERROR(IF(VLOOKUP(A2,'**file location on server**\[**file name**]**Sheet name**'!$B$2:$CM$500000,43,0)="**Specific result I am looking for**","Yes","No"),"No")

    When I run that formula I get all No's, which is incorrect, yet when I separate the formula out in different cells and then do the nested parts in stages it works fine and I can verify that the data is correct. Same principle but just in stages instead of nested like above.

    Any thoughts? I can see nothing wrong with the formula and in principle it should be working

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2404
    Posts
    13,407

    Re: Help needed with complex nested Vlookup, IF statement formula

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not told us about this. You are required to do so. Cross-posts are allowed but you must provide a link to your posts on other sites.

    Please see Forum Rule #7 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important: https://excelguru.ca/a-message-to-forum-cross-posters/

    (Note: this requirement is not optional. No help to be offered until you provide a link or, for members with fewer than 10 posts, a comment telling us where else you have posted this query.)

    Since you are new I will post it for you this time
    https://www.mrexcel.com/board/thread...rmula.1252055/
    Dave

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2404
    Posts
    13,407

    Re: Help needed with complex nested Vlookup, IF statement formula

    Ethnod,

    I accidentally issued you an infraction. What I intended was a warning. I've removed the infraction. My apologies.

    Dave

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,794

    Re: Help needed with complex nested Vlookup, IF statement formula

    You also closed the thread, Dave, so the reply that I was composing was lost when I came to posting it.

    Pete

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2404
    Posts
    13,407

    Re: Help needed with complex nested Vlookup, IF statement formula

    Quote Originally Posted by Pete_UK View Post
    You also closed the thread, Dave, so the reply that I was composing was lost when I came to posting it.

    Pete
    Yeah. My apologies Pete. I had not realized that I did that until some time late. Fortunately Ali caught that and fixed it.

+ 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. Help needed top break the complex nested if formula
    By chandra 2185 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-07-2013, 02:50 PM
  2. Nested VLookup, Match Formula Help Needed
    By jealkon in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-08-2013, 02:18 PM
  3. Replies: 11
    Last Post: 10-26-2011, 03:24 PM
  4. complex nested IF statement
    By snoopy990 in forum Excel General
    Replies: 2
    Last Post: 07-01-2011, 01:28 AM
  5. Nested IF Statement-complex
    By Kheldar in forum Excel General
    Replies: 11
    Last Post: 02-09-2011, 10:34 AM
  6. Complex IF Statement help needed
    By djboggs in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 08-30-2007, 03:17 PM
  7. Formula too long - Nested IF statement with VLOOKUP
    By FurniKing in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-26-2006, 04:34 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