+ Reply to Thread
Results 1 to 17 of 17

count if cell empty

  1. #1
    Forum Contributor
    Join Date
    05-16-2012
    Location
    Latina, ITALY
    MS-Off Ver
    Excel 2010--2016
    Posts
    947

    count if cell empty

    Good evening, I ask your help to find a number of empty cells.
    Looking at the attached file, in column H-I (highlighted in yellow)
    I would like to count how many cells have a value in cell H12-I18-I24
    and what is missing is N. and Date,
    for the first column H, the number N is missing in H10
    and in H11 the date.

    The result for the whole table is 3 in N3
    and the total 275.00 in N4

    I tried with:

    = COUNTIFS ($ E $ 12: $ E $ 79, $ D1, I$12:I$79, "" & "")
    but from an incorrect result.
    Thanks
    Attached Files Attached Files

  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
    43,986

    Re: count if cell empty

    I do not understand what you are asking...
    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

  3. #3
    Forum Contributor
    Join Date
    05-16-2012
    Location
    Latina, ITALY
    MS-Off Ver
    Excel 2010--2016
    Posts
    947

    Re: count if cell empty

    Thanks, I understand it's not easy to explain it, try again.
    I have 12 elevations 1 per month composed of 5 rows x 8 columns.
    Let's take the first month from F10: M14.

    In H10-H11 (I have colored yellow) because, as you can see,
    If you compare it with column F and I are missing
    * the N. and the date and in H12 there is an amount.

    You need to count how many times it occurs in F10: M80
    that is, that the first two lines of each table have
    empty cells but the third row has a value.

    I hope it is clearer, otherwise ask.
    Thanks

  4. #4
    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
    43,986

    Re: count if cell empty

    Yes. In N3:

    =SUMPRODUCT(($E$10:$E$76="N°")*($F$10:$M$76="")*($F$11:$M$77="")*($F$12:$M$78<>""))

    You may need ; instead of ,

    Will look at Part 2 in a moment.

  5. #5
    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
    43,986

    Re: count if cell empty

    Ahh. that bit was easy:

    =SUMPRODUCT(($E$10:$E$76="N°")*($F$10:$M$76="")*($F$11:$M$77="")*($F$12:$M$78<>"")*$F$12:$M$78)

  6. #6
    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
    43,986

    Re: count if cell empty

    Your file attached.
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    05-16-2012
    Location
    Latina, ITALY
    MS-Off Ver
    Excel 2010--2016
    Posts
    947

    Re: count if cell empty

    Hi, yes you understand me now it seems to work.

    I ask you one last thing

    following the reasoning of first in cell H2
    referring to Cristian reports me 1
    but, as shown below, in H12 I have an amount but the cells
    H10-H11 are empty so the result would be 0
    Could you also fix this formula?
    Thanks

  8. #8
    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
    43,986

    Re: count if cell empty

    ?? In F2, copied across and dnown:

    =SUMPRODUCT(($C$12:$C$78=$E2)*(F$10:F$76<>"")*(F$11:F$77<>"")*(F$12:F$78<>""))
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    05-16-2012
    Location
    Latina, ITALY
    MS-Off Ver
    Excel 2010--2016
    Posts
    947

    Re: count if cell empty

    Here I am, bye
    then I had some problems ...
    if calcellis for example I28-I29 in N3 did not change the result
    I modified the formula adding at the end:
    (($ F $ 12: M $ 78 $ <> "") + ($ F $ 13: M $ 79 $ <> ""))

    Even in N4 I did the same
    Now everything seems ok.
    Thanks you are great as always.

  10. #10
    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
    43,986

    Re: count if cell empty

    You're welcome. Just shout if you hit any other issues.

  11. #11
    Forum Contributor
    Join Date
    05-16-2012
    Location
    Latina, ITALY
    MS-Off Ver
    Excel 2010--2016
    Posts
    947

    Re: count if cell empty

    Hi, sorry if I return to the discussion if you prefer to open a new one but after fixing the formulas I can't find the right one.
    In the attached file the cells are colored to better understand what I would like.
    The results entered by hand L4: N4
    in line L5: N5 find my proofs.

    The previous one you gave me and found in N5 worked
    but, putting example in line F14 of the text, from error.
    Thanks
    Attached Files Attached Files

  12. #12
    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
    43,986

    Re: count if cell empty

    No, here is fine. I am just a bit lost by your description. Where is your expected result??

  13. #13
    Forum Contributor
    Join Date
    05-16-2012
    Location
    Latina, ITALY
    MS-Off Ver
    Excel 2010--2016
    Posts
    947

    Re: count if cell empty

    Excuse the confusion
    the result goes from L4: N4
    I entered what must come out by hand.

    in practice all the amounts that have the line
    10-16-22-28 ... compiled

  14. #14
    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
    43,986

    Re: count if cell empty

    OK. Looking at it now...

  15. #15
    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
    43,986

    Re: count if cell empty

    So.... to count, for cristian and Cinzia, the date and the fattuara, above the name must be non-blank.

    and for the fattuara, fattuara must be blank and the date non-blank.

    Correct?

    see yellow cells.
    Attached Files Attached Files

  16. #16
    Forum Contributor
    Join Date
    05-16-2012
    Location
    Latina, ITALY
    MS-Off Ver
    Excel 2010--2016
    Posts
    947

    Re: count if cell empty

    You see the expert's hand.
    works ok.
    I adjusted the range of M4 ... $ E $ 13: $ E $ 79 = M $ 2 ... F13: $ M79 ...
    gave 0 instead of 75

    Thanks again

    I hope I'm not bothering you yet.

  17. #17
    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
    43,986

    Re: count if cell empty

    Not at all!! If you were paying for my time, I'd be concerned that you had moved away from the original Terms of Reference... Then, Id charge a supplementary fee.

    This bit of my life is done for fun... so I don't really care.

+ 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. Show count if cell is empty or not
    By snkhan in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-09-2019, 11:10 AM
  2. [SOLVED] Count number of empty cells and sum up too the first non-empty cell.
    By CraftyGamer in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-28-2017, 11:35 AM
  3. [SOLVED] extract number from cell contain text and count of non empty cell
    By mazan2010 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-03-2017, 01:17 PM
  4. [SOLVED] Don't have empty cell count as 0 value??
    By ISUCyclones in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-10-2016, 04:36 PM
  5. Replies: 10
    Last Post: 09-26-2015, 08:26 PM
  6. [SOLVED] Equation to count empty cell
    By n07cn3 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-29-2014, 03:34 AM
  7. Replies: 5
    Last Post: 05-18-2006, 05:40 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