+ Reply to Thread
Results 1 to 2 of 2

Return blank cell for IFS formula for Vlookup data with blank cells.

  1. #1
    Registered User
    Join Date
    01-23-2023
    Location
    Bristol, UK
    MS-Off Ver
    Latest
    Posts
    1

    Return blank cell for IFS formula for Vlookup data with blank cells.

    Hi all,

    I have an IFS formula designed to return date values from vlookups based on 4 different scenarios. Where the returned data is blank i.e. no date has been entered into the lookedup cells, I want the returned cell value to be blank rather than return '0' (it's actually returning 00 January 1900 but that's expected in this use case).

    Does anyone know how I can ensure that the cell remains blank if the lookup cell has no data? So, I specifically want a solution for 'if blank' not 'if not found'. I tried including Len=0,"" within the formula but this was too many arguments.

    Here's the formula which is returning a 'zero' value for blank cells at present:

    =IFS($B$19=Sheet1!$A$1,VLOOKUP('Invoice Template'!$B$10,Customers!$B$1:$AN$245,19,FALSE),$B$19=Sheet1!$A$2,VLOOKUP('Invoice Template'!$B$10,Customers!$B$1:$AN$245,25,FALSE),$B$19=Sheet1!$A$3,VLOOKUP(Customers!$B$1:$AN$245,31,FALSE),'Invoice Template'!$B$19=Sheet1!$A$4,VLOOKUP('Invoice Template'!$B$10,Customers!$B$1:$AN$245,37,FALSE))

    Thanks in advance for any suggestions

  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 2406
    Posts
    44,662

    Re: Return blank cell for IFS formula for Vlookup data with blank cells.

    If the returned value (when present) is TEXT,

    try

    =formula&""

    or if a number

    =iferror(1/(1/formula),"")

    failing that... post a sample excel file - see yellow banner (top).
    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

+ 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. [SOLVED] Range of cells are blank, return a blank or continue with formula
    By nickpavlov in forum Excel General
    Replies: 6
    Last Post: 01-15-2023, 08:38 PM
  2. IF/VLOOKUP - If Vlookup is blank, run IF formula, if still blank, return a blank
    By EvolutionJulie in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-09-2021, 06:29 PM
  3. VLookup Formula to return blank if #NA or Blank
    By JammerFSMC in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-14-2017, 03:28 PM
  4. [SOLVED] If two cells are blank then return blank, else vlookup cell with populated data
    By Jason G in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-06-2017, 10:20 AM
  5. Replies: 1
    Last Post: 07-22-2016, 04:03 PM
  6. Replies: 1
    Last Post: 09-04-2013, 07:23 AM
  7. [SOLVED] Need formula to return blank instead of #N/A when source cell is blank, using VLOOKUP
    By TMB1234 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-03-2013, 07:16 PM

Tags for this Thread

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