+ Reply to Thread
Results 1 to 16 of 16

Cumulative count according to value in another cell

  1. #1
    Registered User
    Join Date
    03-24-2017
    Location
    Auchterarder, Scotland
    MS-Off Ver
    Microsoft 365
    Posts
    78

    Cumulative count according to value in another cell

    Ok, I am struggling with this one a little bit. If you open the sheet I have attached this will be much easier to explain.

    I have a list of tasks that will be done - they have a planned date, a forecast date and an actual completed date. In my Actual Completion Column (K) I want the data to display as follows:

    - I want the percentage value to be counted from column G
    - I only want this percentage to count once the Actual Date column F has been populated
    - I want the actual completion to be cumulative from all values that have been added in so far
    - the actual date in column F will trigger the addition of the pecentage from column G into column K - but only from the correct date in column I

    Please ignore the planned completion number only going to 90% - I have more data to go in.

    Thank You in advance for your help!
    Last edited by ejsdon; 04-01-2017 at 02:46 AM. Reason: Removed attachment

  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 2406
    Posts
    44,662

    Re: Cumulative count according to value in another cell

    This SHOULD work

    =IF(F4="","",G4)

    BUT it depends on what you are seeing in column F. If you have a pile of irritating 0 Jan 00, amend that formula to read:

    =IF('Yourpathway'!F4="","",='Yourpathway'!F4)
    Last edited by Glenn Kennedy; 04-01-2017 at 02:31 AM.
    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

  3. #3
    Registered User
    Join Date
    03-24-2017
    Location
    Auchterarder, Scotland
    MS-Off Ver
    Microsoft 365
    Posts
    78

    Re: Cumulative count according to value in another cell

    Hi Glenn, see my private message reply.

  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 2406
    Posts
    44,662

    Re: Cumulative count according to value in another cell

    Done. can you see all the 0 Jan/00 values?

  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 2406
    Posts
    44,662

    Re: Cumulative count according to value in another cell

    Another way to get rid of them is =iferror(1/(1/your_reference),"")

  6. #6
    Registered User
    Join Date
    03-24-2017
    Location
    Auchterarder, Scotland
    MS-Off Ver
    Microsoft 365
    Posts
    78

    Re: Cumulative count according to value in another cell

    Yes, getting an error screen when I try to input your formula.

    I am happy to keep the 0-Jan-00 values - it just means that another date hasn't been inputted from a different tab.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,301

    Re: Cumulative count according to value in another cell

    Quote Originally Posted by ejsdon View Post
    Hi Glenn, see my private message reply.
    It is contrary to the spirit of these forums to take discussions to private messages. All questions and answers will benefit other posters like yourself when discussed in public threads. The point of having a public forum is to share solutions to common (and sometimes uncommon) problems with all members. Please keep the entire discussion here in the thread. Thanks.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  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 2406
    Posts
    44,662

    Re: Cumulative count according to value in another cell

    God, but they would annoy me...

    =IF(F4=0,"",G4)

    will work

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Cumulative count according to value in another cell

    AliGW there was a valid reason.

  10. #10
    Registered User
    Join Date
    03-24-2017
    Location
    Auchterarder, Scotland
    MS-Off Ver
    Microsoft 365
    Posts
    78

    Re: Cumulative count according to value in another cell

    Ok Glenn - thank you that is working - though not cumulative with previous value. And theer are blanks between the change in values - I would like these to be the same as the highest value to date.

    Sorry for the bother.

    Hi AliGW - I was asking Glenn by private message to remove a pathway that identified my work scope - I understand the ethos of the forum and will avoid private messaging wherever possible.

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,301

    Re: Cumulative count according to value in another cell

    Understood - thanks for the clarification. May I suggest that you do it yourself next time before posting your sample sheet, which anyone can download?

  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 2406
    Posts
    44,662

    Re: Cumulative count according to value in another cell

    Missed that bit. One way:

    =IF(F4=0,"",G4+IFERROR(LOOKUP(1E+100,$K$3:K3),0))

  13. #13
    Registered User
    Join Date
    03-24-2017
    Location
    Auchterarder, Scotland
    MS-Off Ver
    Microsoft 365
    Posts
    78

    Re: Cumulative count according to value in another cell

    Ok Glenn that is working - Thank You. One more thing - between the updated values in column K I have blanks - how do I make these equal the last value - i.e. K5 = 0.022222222 - K6 to K* are blank - I'd like them to display the latest vale, i.e. 0.022222222 - and for taht to happen between each change.

  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 2406
    Posts
    44,662

    Re: Cumulative count according to value in another cell

    K3
    =IF(F4=0,0,G4)

    K4 and down:
    =IF(F5=0,K4,G5+K4)

  15. #15
    Registered User
    Join Date
    03-24-2017
    Location
    Auchterarder, Scotland
    MS-Off Ver
    Microsoft 365
    Posts
    78

    Re: Cumulative count according to value in another cell

    Thank You Glenn, you've been a great help.

  16. #16
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Cumulative count according to value in another cell

    You're welcome. We got here in the end!!

+ 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. how to do a cumulative count?
    By jbaich in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-18-2015, 01:23 AM
  2. [SOLVED] Cumulative Cell Count
    By score in forum Excel General
    Replies: 18
    Last Post: 01-01-2013, 06:43 PM
  3. [SOLVED] Count cells based on cumulative sum
    By rpulido in forum Excel General
    Replies: 2
    Last Post: 04-18-2012, 02:05 AM
  4. Memory issues - Cumulative count?
    By Undulate in forum Excel General
    Replies: 1
    Last Post: 01-28-2012, 09:15 PM
  5. Cumulative count
    By Undulate in forum Excel General
    Replies: 4
    Last Post: 01-17-2012, 07:57 AM
  6. Cumulative Count Function
    By larryg003 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-28-2010, 01:08 PM
  7. Count number to reach a cumulative value
    By Bruce in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-25-2005, 02: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