+ Reply to Thread
Results 1 to 5 of 5

Formula to tally total percentage based on whether or not certain fields are blank

  1. #1
    Forum Contributor Mvaldesi's Avatar
    Join Date
    01-21-2011
    Location
    Plano, TX
    MS-Off Ver
    MS365 (PC) v.2108
    Posts
    259

    Question Formula to tally total percentage based on whether or not certain fields are blank

    Good morning, folks; need a little help. I think I’m over thinking this; feels like it should be relatively simple...

    I have an Excel spreadsheet with columns that represent the date 5 steps of a process were completed, i.e.: “Step 1” (Column A) was completed on 4/29/2016, “Step 2” (Column B) on 4/30/2016, etc. Given the 5 separate columns (A through E,) I’m looking for a formula to drop in Column F that looks at whether or not each of the fields is populated with a date to tally a total percentage of the process completed, i.e.: if only Columns A and D are populated with a date (not blank,) the process is 40% complete (each step being roughly 20% of the overall process.)

    I’ve tried nesting “IF” statements to add “0.2” for each populated date, but as the function stops at the first instance of TRUE, I can’t get it to work out logically in cases where say Column A is populated, B is blank and C is populated or any potential combination of blanks and non-blanks between the 5 columns.

    I hope this makes sense and someone can lend a hand; thanks in advance!

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Formula to tally total percentage based on whether or not certain fields are blank

    Definitely overthinking :-)
    If each step defines 20% of the overall process the calculation should just be

    number of dates entered in the range * 20%
    ie

    =COUNTA(A1:E1)*20%
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,215

    Re: Formula to tally total percentage based on whether or not certain fields are blank

    So A and C can be populated but B be blank? Is this a general rule i.e. there is no requirement for consecutive cells to be completed? And A+C = 40% or 60%?

  4. #4
    Forum Contributor Mvaldesi's Avatar
    Join Date
    01-21-2011
    Location
    Plano, TX
    MS-Off Ver
    MS365 (PC) v.2108
    Posts
    259

    Re: Formula to tally total percentage based on whether or not certain fields are blank

    Quote Originally Posted by Special-K View Post
    Definitely overthinking :-)
    If each step defines 20% of the overall process the calculation should just be

    number of dates entered in the range * 20%
    ie

    =COUNTA(A1:E1)*20%
    Oh, good lord; I'm an idiot. Evidently, the coffee hasn't quite kicked in yet.

    That works perfectly, my friend; thank you so much. If I'm lucky, I'm done being dumb for the day because there's a lot of it left...

  5. #5
    Forum Contributor Mvaldesi's Avatar
    Join Date
    01-21-2011
    Location
    Plano, TX
    MS-Off Ver
    MS365 (PC) v.2108
    Posts
    259

    Re: Formula to tally total percentage based on whether or not certain fields are blank

    Quote Originally Posted by JohnTopley View Post
    So A and C can be populated but B be blank? Is this a general rule i.e. there is no requirement for consecutive cells to be completed? And A+C = 40% or 60%?
    Thanks for the response, but (ironically) Special-K has already helped "special" me! But to answer your question, no, there is no requirement that cells be filled consecutively; yours was the first solution I tried until I was told so.

+ 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] Find all entries in a range and tally numbers based on codes in adjacent fields
    By reynastus2 in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 11-07-2014, 10:28 PM
  2. [SOLVED] Projections based on a predefined percentage of total
    By djasper6 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-14-2014, 01:04 AM
  3. [SOLVED] Cell That Recalculates Total Based On Percentage Input
    By Microsoftnovice in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-17-2012, 11:13 AM
  4. Replies: 4
    Last Post: 03-04-2012, 12:21 PM
  5. Tally of Fields with Entry
    By jimmihundreds in forum Excel General
    Replies: 2
    Last Post: 06-15-2010, 12:38 PM
  6. Calculated Fields Based on Running Total Fields?
    By Kruncher in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-12-2006, 01:25 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