+ Reply to Thread
Results 1 to 7 of 7

Formula Help to not count blank cells

  1. #1
    Registered User
    Join Date
    03-23-2020
    Location
    Sydney, Australia
    MS-Off Ver
    365
    Posts
    20

    Formula Help to not count blank cells

    Hi,

    I have created a calculator now to count between dates to determine gaps in years and total years worked. my only issue is If I don't fill out every field my sum is showing as a - value, how can I make it so that however many dates I fill in it only calculates based on that.

    Affected formulas are Total Days (E31)
    Breaks in Days (E32)

    Thank you
    Attached Images Attached Images
    Last edited by AusExcelNewb; 06-17-2020 at 03:06 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    12-14-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2007
    Posts
    439

    Re: Formula Help to not count blank cells

    So difficult to understand what you want. Please add some data and the result you want.

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Formula Help to not count blank cells

    Not sure what are you doing, but you appear to count days manually. Try another solution automatically to see if it solves:
    Working Days
    Please Login or Register  to view this content.
    Change "Y" to "N" to get Breaks in Days
    sum the 2 cells to get Total Days.
    Quang PT

  4. #4
    Registered User
    Join Date
    03-23-2020
    Location
    Sydney, Australia
    MS-Off Ver
    365
    Posts
    20

    Re: Formula Help to not count blank cells

    Sorry added some data to the upload, Essentially Im adding to those marked Y years worked the N picks up the date between the last finish date and next start date to work out how many days break in dates.

    I then total both to work out how many years months and days they worked (minus the breaks)

    So currently I have to fill in every Y cell to get a result want it so that regardless of how many cells I populate it works
    Last edited by AusExcelNewb; 06-16-2020 at 11:39 PM.

  5. #5
    Registered User
    Join Date
    03-23-2020
    Location
    Sydney, Australia
    MS-Off Ver
    365
    Posts
    20

    Re: Formula Help to not count blank cells

    Thanks Tried that but its still showing the Breaks in days as negative value

  6. #6
    Valued Forum Contributor
    Join Date
    12-14-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2007
    Posts
    439

    Re: Formula Help to not count blank cells

    Breaks in Days
    Please Login or Register  to view this content.
    Working Days
    Please Login or Register  to view this content.
    Total Days = Working Days + Breaks in Days
    ❖ Please mark your thread is SOLVED if there has been offered a solution that works fine for you.

    ❖ If you like solutions provided by anyone, feel free to add reputation by clicking on ✶ Add Reputation bottom left of their posts.

  7. #7
    Registered User
    Join Date
    03-23-2020
    Location
    Sydney, Australia
    MS-Off Ver
    365
    Posts
    20

    Re: Formula Help to not count blank cells

    Quote Originally Posted by huuthang_bd View Post
    Breaks in Days
    Please Login or Register  to view this content.
    Working Days
    Please Login or Register  to view this content.
    Total Days = Working Days + Breaks in Days
    Works Perfect thank you

+ 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] Getting Sumproduct Formula to not Count Blank Cells
    By Alan L 185 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-31-2019, 09:31 AM
  2. [SOLVED] Count blank cells but there's a formula
    By trolle in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-15-2018, 10:05 AM
  3. [SOLVED] Conditional count blank cells formula
    By JimboJamesUK in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-28-2017, 08:20 PM
  4. [SOLVED] how to count cells with values but ignore blank cells with formula and in a month?
    By Imran Magsi in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-17-2017, 03:58 AM
  5. How to count blank cells that contain formula?
    By IntricateFool in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-21-2013, 09:33 PM
  6. how can I count blank cells as a zero, when using formula please??
    By Ted in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-22-2005, 02:15 PM
  7. formula to count cells not blanK
    By pmarques in forum Excel Formulas & Functions
    Replies: 52
    Last Post: 09-06-2005, 07:05 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