+ Reply to Thread
Results 1 to 6 of 6

Sum of various non-blank cells

  1. #1
    Registered User
    Join Date
    06-24-2017
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    10

    Sum of various non-blank cells

    Good day. I'm trying to find the formula for cell F. Cells B:E are either blank or can have one of 25 different names. If B:E are blank, then F=5. For each cell with any name, add 1 to F. Names will only be entered starting with B. In other words, B will never be blank if there is any text in C, D or E. Any help would be greatly appreciated.

    B C D E F
    5
    text 6
    text text 7
    text text text 8
    text text text text 9

  2. #2
    Registered User
    Join Date
    06-24-2017
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Sum of various non-blank cells

    I'm sorry, my formatting failed. The numbers 5 to 9 should all be under F.

  3. #3
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: Sum of various non-blank cells

    How about
    =5+counta(B2:E2)

  4. #4
    Registered User
    Join Date
    06-24-2017
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Sum of various non-blank cells

    Thank you so much Fluff. Very much appreciated.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,482

    Re: Sum of various non-blank cells

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: Sum of various non-blank cells

    Quote Originally Posted by Canuckterrier View Post
    Thank you so much Fluff. Very much appreciated.
    You're welcome & thanks for the feedback

+ 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. Removing Blank Cells in the Pivot Table. (Blank) - Out of Range Cells
    By satishmen in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 07-09-2019, 06:30 AM
  2. Replies: 12
    Last Post: 05-29-2018, 05:11 PM
  3. Replies: 3
    Last Post: 07-24-2017, 01:41 PM
  4. Count blank cells in a range and contiguous blank cells also as single cells! Tricky One!
    By SebastianColombia in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-31-2015, 02:32 PM
  5. [SOLVED] Macro to fill blank cells in column A based on non-blank cells
    By ktalamantez in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-28-2014, 02:47 PM
  6. Replies: 5
    Last Post: 08-26-2013, 06:26 PM
  7. Advanced filter with blank cells / Dynamic named range with blank cells
    By Jason_2112 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-15-2010, 12:06 PM

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