+ Reply to Thread
Results 1 to 7 of 7

Count fill color within defined date range

  1. #1
    Forum Contributor
    Join Date
    03-17-2017
    Location
    Alberta, Canada
    MS-Off Ver
    Microsoft Office Professional Plus 2010
    Posts
    130

    Count fill color within defined date range

    On the "Stats" sheet, cell C52 I would like a formula that uses the date range defined in cells C8 and D8 on the same sheet ("Stats"), to count the cells with No fill color, on the sheet named "FLHA" within the date range from row 3 to 59.

    On the "Stats" sheet, cell D52 I would like a formula that uses the date range defined in cells C8 and D8 on the same sheet ("Stats"), to Sum the cells on the sheet named "FLHA" within the date range from row 3 to 59.

    Example: Date range is defined in Cell C8 and D8 on the "Stats" page as: July 13 2023 - July 19, 2023. I want to know how many cells have No Fill on the sheet title "FLHA" from N3:T59.

    On the "Stats" sheet, cell E52 I would like a formula that uses the Month defined in cells C8 on the same sheet ("Stats"), to count the cells with No fill color, on the sheet named "FLHA" within the Month range Noted in Row A, from row 3 to 59.

    On the "Stats" sheet, cell E52 I would like a formula that uses the Month defined in cells C8 on the same sheet ("Stats"), to Sum the cells on the sheet named "FLHA" within the Month range Noted in Row A, from row 3 to 59.

    Good Luck, way beyond my ability, Muchly Muchly appreciate if someone could make this happen, I may be able to piggy back to get the rest. I deleted a bunch of tabs to get the file size down to something upload able.

    07. Employee Safety Statistics.zip

  2. #2
    Forum Contributor
    Join Date
    03-17-2017
    Location
    Alberta, Canada
    MS-Off Ver
    Microsoft Office Professional Plus 2010
    Posts
    130

    Re: Count fill color within defined date range

    Is this too hard?
    Did I not explain well?

    I have a deadline of today to get this complete. Wondering if theres something I can do to help someone help me

  3. #3
    Forum Contributor
    Join Date
    03-17-2017
    Location
    Alberta, Canada
    MS-Off Ver
    Microsoft Office Professional Plus 2010
    Posts
    130

    Re: Count fill color within defined date range

    I could use only one date (The Start Date) if that makes this easier.
    Search FLHA tab for Start Date. When found active cell offset down 1. Make selection from there over 7 (a week) and down to row 59. .Copy paste into a reference sheet that a formula using the Macro already written CountCellsbyColor does its thing.

    I Cannot get the search portion of this excel to work. I only get the result "Beggining Date Not Found"

    Please Login or Register  to view this content.

  4. #4
    Forum Expert
    Join Date
    07-23-2018
    Location
    UK
    MS-Off Ver
    O365 32bit (Windows)
    Posts
    1,980

    Re: Count fill color within defined date range

    Try

    Please Login or Register  to view this content.
    Usage
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    03-17-2017
    Location
    Alberta, Canada
    MS-Off Ver
    Microsoft Office Professional Plus 2010
    Posts
    130

    Re: Count fill color within defined date range

    Where do I put this and how do I run it? I understand its a module, but I dont understand how to use it. Sorry I am not very VBA smart.

  6. #6
    Forum Expert
    Join Date
    07-23-2018
    Location
    UK
    MS-Off Ver
    O365 32bit (Windows)
    Posts
    1,980

    Re: Count fill color within defined date range

    Function goes in the module, then the formula can go in cell C52 on the Stats sheet.

  7. #7
    Forum Contributor
    Join Date
    03-17-2017
    Location
    Alberta, Canada
    MS-Off Ver
    Microsoft Office Professional Plus 2010
    Posts
    130

    Re: Count fill color within defined date range

    Got it!!

    This is what I needed:
    Please Login or Register  to view this content.

+ 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] Count color cell in defined date range (Difficult)
    By PNick in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-19-2023, 12:59 PM
  2. User defined function- count color and count only visible rows
    By marsjanik1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-17-2016, 03:05 PM
  3. [SOLVED] Count Occurrences and Fill Cells with Results Using a Date Range
    By CWatsonJr in forum Excel General
    Replies: 20
    Last Post: 06-07-2012, 02:33 PM
  4. Count Cells in a Row based on color and date range
    By indnracn2 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-14-2009, 11:12 PM
  5. Is there a way to count cells in a range based on fill color?
    By eehinmd in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-16-2006, 01:15 PM
  6. Replies: 2
    Last Post: 01-19-2005, 05:06 PM
  7. [SOLVED] Formula to count the cells in a range that have a fill color.
    By Molly F in forum Excel General
    Replies: 2
    Last Post: 01-19-2005, 04: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