+ Reply to Thread
Results 1 to 8 of 8

Multiple column status - Formula

  1. #1
    Registered User
    Join Date
    10-21-2010
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    46

    Multiple column status - Formula

    Hiya,

    I am not Pro with Formulas but I want to maintain a file for all the details about employee documents submitted.

    Eg. Column A to Column F has all the required document name viz.. Photo ID proof, Address Proof etc.

    The Final column "G" I have to Manually enter "Incomplete" if any of the cells are empty.

    I tried the IF & Then Formula (after a lot research on this site) but it works fine until the first 3 columns and then I get confused myself :P

    Is there a shorter way to simply check value of each column and if any of the column between A to F is empty "Blank" then I get a msg "Incomplete" in the Final Column.

    Any Help will be appreciated.
    Thanks
    Lin

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Multiple column status - Formula

    hi Lin. assuming data is in A1:F1, try:
    =IF(COUNTA(A1:F1)<>6,"Incomplete","")

    so if it's all filled up, it will show a blank.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Multiple column status - Formula

    Maybe
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Multiple column status - Formula

    @ benishiryo

    Be careful with COUNTA(),
    If the cell value is formula derived and the result is "", then COUNTA() will count that cell.

    See this workbook
    Attached Files Attached Files

  5. #5
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Multiple column status - Formula

    @Marcol

    yeah, oversight on my part. thanks for the heads up

  6. #6
    Registered User
    Join Date
    10-21-2010
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    46

    Re: Multiple column status - Formula

    @ Marcol & @ benishiryo,

    Thank you for the formula, it worked...but... I have a column of "Date" in the row.

    This formula doesn't work over there. Can you please guide further.

    Here's the attachment...

    Lin
    Attached Files Attached Files

  7. #7
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Multiple column status - Formula

    Ahhh ... the joys of Excel!

    Excel treats numbers as if they are less than "", see row 2 in this example sheet, and text as being greater than "".

    COUNTA() and COUNTIF() can both return unexpected results.

    1/. COUNTA() counts all cells that are not null, however it will include any cell with a formula that returns "" See Column W, the grey cells in the table A4:N10 contain formulae.

    2/.COUNTIF() If the criteria is ">""" text will be counted, excluding blanks (Col S), so far so good.

    So you might reasonably expect "<""" to count numbers ... Wrong! It counts blanks returned by formulae.(Col T)

    How do you get it to count numbers?
    ">=0" counts positive numbers and zeros, "<0" counts negative numbers, so add them together, or use "<"&99^99, but this is pointless because COUNT() does the business.

    So COUNTIF() counts if the stated criteria is TRUE, numbers, as such, are a problem.

    3/. It is often stated - "Use COUNTIF/S() rather than SUMPRODUCT()"
    this works for this example sheet
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    This looks like an alternative, but isn't!
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Summing up, if your worksheet doesn't have cells with formulae that return "" use this ...
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Otherwise use the SUMPRODUCT formula above.

    Rant over! ...
    Attached Files Attached Files
    Last edited by Marcol; 12-08-2012 at 10:35 AM.

  8. #8
    Registered User
    Join Date
    10-21-2010
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    46

    Re: Multiple column status - Formula

    Whoa... that was too much for my brain :P ... but it indeed solved my query.. Thank You @ Marcol.

    The COUNTIF formula was the one that worked for my requirement.

    Also I learned many new terms in excel.. all thanks to your patient explanation that you provided.

    Thanks,
    Lin

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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