+ Reply to Thread
Results 1 to 2 of 2

Large Nested IF with additional check

  1. #1
    Registered User
    Join Date
    11-18-2019
    Location
    Derby England
    MS-Off Ver
    13
    Posts
    1

    Large Nested IF with additional check

    Good Evening all

    This is my first post so thank you in advance.

    I have the following formula looking up if a cell has either TSE, DME, MAM etc then vlooking up a table with a corresponding code against a post code.

    This also looks up ad6 first to check it's blank, if not it returns the AD6 code.

    =IF(AD6=0,(IFERROR(IF(V6="DME",VLOOKUP(G:G,'CMF Pack'!A:K,10,FALSE),IF(V6="TSE",VLOOKUP(G:G,'CMF Pack'!A:K,9,FALSE),IF(V6="MAM",VLOOKUP(G:G,'CMF Pack'!A:E,5,FALSE),IF(V6="KAM",VLOOKUP(G:G,'CMF Pack'!A:G,7,FALSE),IF(V6="AM",VLOOKUP(G:G,'CMF Pack'!A:K,6,0)))))),"Bad Postcode")),AD6)

    I now need this to check another cell, lets say AC6 as well to check it doesn't say "Rejected", if it does, it needs to not do the above, and simply =p6

    so to simplify, if AD6 is blank, it looks up V6 and returns the Vlookup, if it's not blank it returns AD6, <- this works, -> the bit I am missing..... I need it to ignore these two commands if AC6 has "Rejected" in and return P6

    Hope that makes sense

    Thanks

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Large Nested IF with additional check

    Please read the yellow banner at the top of the page and post a SMALL sample sheet.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

+ 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. Adding Additional Check Boxes
    By WWST in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-06-2018, 01:39 PM
  2. Formula to perform additional check
    By dhineshreddy in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 06-01-2017, 11:41 AM
  3. Replies: 1
    Last Post: 11-22-2016, 01:54 AM
  4. [SOLVED] Add additional attachments to email if Check box checked
    By Jissenka in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-19-2016, 09:31 PM
  5. Additional Code to check for duplicates in multiple columns
    By Craigs in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-03-2014, 04:19 AM
  6. Adding a check-box without additional text
    By MavGunloc in forum Excel General
    Replies: 2
    Last Post: 04-01-2013, 04:29 PM
  7. [SOLVED] Nested Formula - Additional Help needed
    By jealkon in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-28-2012, 02:56 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