+ Reply to Thread
Results 1 to 5 of 5

Make if formulae ignore blanks

  1. #1
    Registered User
    Join Date
    09-17-2014
    Location
    UK
    MS-Off Ver
    MS Office 365 Version 2208
    Posts
    27

    Make if formulae ignore blanks

    I have an IF formulae checking a column of numbers and returning either a word or blank depending on true or false.
    However the formulae takes a blank cell as true, I don't want this!
    Would like the formulae to ignore all blanks if possible.
    Any ideas?

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Make if formulae ignore blanks

    What is the formula you using now?
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Make if formulae ignore blanks

    Maybe something like this?

    =IF(A2="","",your-formula)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Make if formulae ignore blanks

    try this

    Please Login or Register  to view this content.
    I know that may look a little weird, but without seeing your IF statement I can only fake it....

    HTH
    Ernest

    Please consider adding a * if I helped

    Nothing drives me crazy - I'm always close enough to walk....

  5. #5
    Registered User
    Join Date
    09-17-2014
    Location
    UK
    MS-Off Ver
    MS Office 365 Version 2208
    Posts
    27

    Re: Make if formulae ignore blanks

    Well the if statement already looks like this!
    =IF(AND(COUNTIF($C$8:$C$600,C8)=2,C8>=$I$5,D8<=$I$6),"in",IF(AND(COUNTIF($C$8:$C$600,C8)=3,C8>=$J$5,D8<=$J$6),"in",""))
    So I'm trying to get it to avoid data that doesn't have numbers is it classes it as true

+ 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] Sumproduct to ignore blanks
    By Dgp2012 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-16-2020, 02:07 PM
  2. [SOLVED] MIN/MAX IF To Ignore Blanks
    By splendidus in forum Excel General
    Replies: 2
    Last Post: 07-04-2012, 04:00 PM
  3. Getting graphs to ignore formulae
    By Stu100 in forum Excel General
    Replies: 6
    Last Post: 10-28-2010, 09:09 AM
  4. Replies: 3
    Last Post: 10-22-2007, 01:41 PM
  5. Ignore blanks or zeros
    By gil0730 in forum Excel General
    Replies: 1
    Last Post: 02-03-2005, 12:12 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