• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member
  • Login

How to count conditionally formatted colored cells|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / How to count conditionally formatted colored cells|General Excel Questions & Answers|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumGeneral Excel Questions & Answe…How to count conditionally formatte…
sp_PrintTopic sp_TopicIcon
How to count conditionally formatted colored cells
Avatar
Nagaraj Rathinam

New Member
Members
Level 0
Forum Posts: 2
Member Since:
March 5, 2022
sp_UserOfflineSmall Offline
1
April 7, 2022 - 10:04 pm
sp_Permalink sp_Print

Hi, Good Day,

 

Kindly guide me on how to count conditionally formatted colored cells

Sl. No Issue Date Target Period Target Date Actual Closeout Date Workflow Status Remarks
1 18-Apr-19 30 18-May-19 10-May-19 Closed  
2 10-May-19 30 9-Jun-19 21-Jun-19 Closed  
3 6-Jun-19 30 6-Jul-19 30-Jun-19 Closed  
4 15-Jun-19 30 15-Jul-19 30-Jun-19 Closed  
5 12-Jul-19 30 11-Aug-19 8-Aug-19 Closed  
6 24-Feb-20 30 25-Mar-20 15-Mar-20 Closed  
7 25-Feb-20 30 26-Mar-20 15-Mar-20 Closed  
8 3-Mar-20 30 2-Apr-20 10-Apr-20 Closed  
9 8-Mar-20 30 7-Apr-20 6-Apr-20 Closed  
10 9-Mar-20 30 8-Apr-20 16-Apr-20 Closed  
11 29-April-2021 30 29-May-21 25-May-21 Closed  
12 03-May-2021 30 2-Jun-21 3-Jun-21 Closed  
13 15-May-2021 30 14-Jun-21 18-Jun-21 Closed  
14 20-May-2021 30 19-Jun-21 18-Jun-21 Closed  
15 03-June-2021 30 3-Jul-21 9-Jul-21 Closed  
16 31-Jan-22 30 2-Mar-22 28-Feb-22 Closed  
17 31-Jan-22 30 2-Mar-22 5-Mar-22 Open  
18 4-Feb-22 30 6-Mar-22 5-Mar-22 Open  
19 17-Feb-22 30 19-Mar-22 20-Mar-22 Open  
20 17-Feb-22 30 19-Mar-22 23-Mar-22 Open  

 

Color Code Color Target Status 2019 2020 2021 2022
    On-Time        
    Overdue        
  1. How to count the conditionally formatted colored cells and how to summarize the same
  2. Excel file attached
sp_AnswersTopicSeeAnswer See Answer
Avatar
Jessica Stewart
Northern USA
Member
Members


Trusted Members
Level 0
Forum Posts: 219
Member Since:
February 13, 2021
sp_UserOfflineSmall Offline
2
April 8, 2022 - 12:57 am
sp_Permalink sp_Print

Unfortunately, there isn't a way without VBA.

Avatar
Riny van Eekelen
Örnsköldsvik, Sweden
Moderator
Members


Trusted Members

Moderators

Power BI
Level 1
Forum Posts: 598
Member Since:
January 31, 2022
sp_UserOfflineSmall Offline
3
April 8, 2022 - 4:51 am
sp_Permalink sp_Print

Why not use a formula similar to the CF rule for "Overdue", and its opposite for "On Time"?

 

In J2: =SUM(--(E2:E21<=D2:D21)), returning 11

In J3: =SUM(--(E2:E21>D2:D21)), returning 9

Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 880
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
4
April 8, 2022 - 5:35 am
sp_Permalink sp_Print

Hello,

As Jessica writes, you need VBA if you want to count by colour, but why bother when you can use the same criterias used in the CF rules and use SUMPRODUCT.

=SUMPRODUCT(($E$2:$E$21>$D$2:$D$21)*(L$1=YEAR($E$2:$E$21)))

Br,
Anders

sp_AnswersTopicAnswer
Answers Post
sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Ayal Telem, Mark McCosker, Marius Normantas
Guest(s) 11
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 880
Purfleet: 414
Frans Visser: 346
David_Ng: 306
lea cohen: 237
Jessica Stewart: 219
A.Maurizio: 213
Aye Mu: 201
jaryszek: 183
Newest Members:
Ashley Hughes
Herbie Key
Trevor Pindling
Stevan Kanjo
Erin Sheldon
Nikita Bhatia
Sheilah Taylor
Clare Webber
David Jenssen
Dominic Brosnahan
Forum Stats:
Groups: 3
Forums: 24
Topics: 6526
Posts: 28576

 

Member Stats:
Guest Posters: 49
Members: 32810
Moderators: 2
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel Office Scripts
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook

Sign up to our newsletter and join over 400,000
others who learn Excel and Power BI with us.

 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate
  • Sponsor Our Newsletter

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.