+ Reply to Thread
Results 1 to 8 of 8

Countblanks

  1. #1
    Registered User
    Join Date
    02-13-2016
    Location
    Malta
    MS-Off Ver
    Mac 2016
    Posts
    13

    Countblanks

    I HAVE THE FOLLOWING DATA:

    A | B | C | D | E | F |
    TYPE | DIAMETER | QTY | METERS | FEET | INCHES | RESULT I want to acheive
    a | 50 | 2 | 1 | blank | blank | OK/1
    b | 40 | 3 | blank | 2 | 5 | OK/1
    c | 32 | 5 | blank | blank | 6 | OK/1
    c | 32 | 5 | blank | 6 | BLANK | OK/1
    a | 25 | 6 | 1 | 3 | blank | ERROR/0
    a | 25 | 6 | blank | blank | blank | ERROR/0
    a | 25 | 6 | 2 | blank | 4 | ERROR/0

    THEREFORE I WANT A FORMULA THAT TELLS ME THAT COLUMNS A,B,C, AND SUM OF COLUMNS D,E,F IS <0

    IF EITHER A, OR, B OR C OR SUM OF D AND E ANF F IS 0 IT RETURNS AN ERROR.
    Last edited by GordonP; 02-14-2016 at 06:16 AM.

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Countblanks

    Fix your CAPS key

  3. #3
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: Countblanks

    =if(or(a1="",b1="",c1="",sum(d1:f1)=0),"error message","ok message")
    Happy with my advice? Click on the * reputation button below

  4. #4
    Registered User
    Join Date
    02-13-2016
    Location
    Malta
    MS-Off Ver
    Mac 2016
    Posts
    13

    Re: Countblanks

    DEAR CROOZA,

    Thanks for your reply. i amended abit the formula as follows:

    =IF(OR(A44="",B44="",C44="",SUM(D44:F44)<1),"INCOMPLETE","1")

    and its working as i want it except for when the whole range that is A44:f44 is empty i want it still to return 1

  5. #5
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.95 for Mac MS 365
    Posts
    8,690

    Re: Countblanks

    you could amend it to this... =IF(OR(A44="",B44="",C44="",sum(A44:c44)<1,SUM(D44:F44)<1),"INCOMPLETE","1")
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  6. #6
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Countblanks

    Hi
    I suppose that you want only one measure unit. If so you can use
    =IF(AND(A3<>"",B3>0,C3>0,COUNT(D3:F3)=1),"Ok/1","ERROR/0")
    Note: In Row 4 my result is ERROR/0, not the result you want acheive

  7. #7
    Registered User
    Join Date
    02-13-2016
    Location
    Malta
    MS-Off Ver
    Mac 2016
    Posts
    13

    Re: Countblanks

    Dear All,

    Thanks for your help.

    I found out this formula very well to cater for what i need.

    =IF(OR(A44="",B44="",C44="",SUM(D44:F44)<1),"INCOMPLETE","1")

    except for when the whole range that is A44:f44 is empty i want it still to return 1.

    How can i tweet it?

  8. #8
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Countblanks

    Hi
    Try
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    =IF(OR(A44="",B44="",C44="",SUM(D44:F44)<1),"INCOMPLETE",IF(AND(A44="",B44="",C44="",D44="",E44="",F44=""),"","1")

+ 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] Help with countblanks
    By Jay147 in forum Excel - New Users/Basics
    Replies: 8
    Last Post: 11-11-2013, 01:35 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