+ Reply to Thread
Results 1 to 2 of 2

Macro Help - Last cell in range not being counting in running total

  1. #1
    Forum Contributor
    Join Date
    12-18-2011
    Location
    long island
    MS-Off Ver
    365
    Posts
    236

    Macro Help - Last cell in range not being counting in running total

    In the attached workbook, the macro determines unique items in column D. It then determines how many cells to highlight based on the condition that running total in column AB is greater than the average in column V. When the condition is met, highlight the necessary cells (for every unique item in column D).
    Where I am running into trouble is, well ALL items in column D are required to meet the condition, it does not highlight. The best example can be seen in rows 2 - 10 and 11- 23. In rows 11 - 23, rows 11 and 12 are highlighted because the condition has been met. However, ALL of rows 2 - 10 are required to meet the condition but they are not highlighting.
    Attached Files Attached Files

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,202

    Re: Macro Help - Last cell in range not being counting in running total

    In the attached workbook, the macro determines unique items in column D
    Surely you mean Running Total based on Column E
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

+ 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. Replies: 8
    Last Post: 07-19-2017, 12:06 PM
  2. [SOLVED] Macro for Running Total in a cell that is clearable and not a comment?
    By ADSibbio in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-12-2017, 11:58 AM
  3. running total cell macro
    By kpfeif in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-22-2014, 10:30 AM
  4. [SOLVED] Running Macro on cell change in a range in one workbook on a different workboox
    By capson in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-15-2014, 03:40 PM
  5. [SOLVED] Macro for running a macro when any cell in a range of cells changes
    By gm2612 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 12-27-2013, 11:36 PM
  6. [SOLVED] Macro for running total
    By prakashananth in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-01-2013, 10:26 AM
  7. Running total in a range of cells
    By heitres in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-04-2013, 01:29 AM

Tags for this Thread

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