• 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
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Conditional Formatting to add cell Icon|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Conditional Formatting to add cell Icon|General Excel Questions & Answers|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
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…Conditional Formatting to add cell …
sp_PrintTopic sp_TopicIcon
Conditional Formatting to add cell Icon
Avatar
jay bee

Active Member
Members
Level 0
Forum Posts: 5
Member Since:
November 11, 2018
sp_UserOfflineSmall Offline
1
November 11, 2018 - 11:54 pm
sp_Permalink sp_Print sp_EditHistory

Hi Excel Training Hub,

 

I’ve only just subscribed to your website. 

 

I have been using excel for a while but not a user of the full rich features it has.

I have a query which you may be able to help or guide. 

 

I would like to use a generic Microsoft template to track my work.  It does everything that I need except for I need to add another cell icon. Currently the column has two Done and Overdue.   I would like to add one for Ongoing – perhaps an amber light.   So when the drop down in the column %Complete is “Ongoing” an amber light icon appears in the Done/Complete? Column.

 

The formula in the Done/Complete? Column is as follows:

 

=IF(AND([@[Status ]]="Complete",[@[% Complete]]=1),1,IF(ISBLANK([@[Due Date ]]),-1,IF(AND([@[Status ]]<>"Complete",TODAY()>[@[Due Date ]]),0,-1)))

 

Please see picture below.  How can the formula be amended to include amber icons when the %Complete column is “Ongoing” rather than a number?

I have attached the template for your perusal.

 

Thank you, in advance, I look forward to hearing from you soon.

regards

sp_AnswersTopicSeeAnswer See Answer
Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
2
November 12, 2018 - 5:10 pm
sp_Permalink sp_Print

Hi Jay Bee

From your attachment, I noticed that the Conditional Formatting (CF) in column H is inconsistent.

I also noted that you have custom formatted the cells to allow it to display texts.

I have removed your CF from column H (too confusing) and recreated a new one.

I have modified the formula in column H to show -1,0,1 depending what is in column G.

This will allow the CF to display the correct icon.

It will also allow the cell custom formatting to display the text status.

Hope this helps.

Sunny

Avatar
jay bee

Active Member
Members
Level 0
Forum Posts: 5
Member Since:
November 11, 2018
sp_UserOfflineSmall Offline
3
November 12, 2018 - 9:26 pm
sp_Permalink sp_Print

Hi Sunny,

Thank you.  Maybe my query was not clear. 

I would like three icons to appear in the Done/Overdue column based on certain conditions:

1. Check for Complete (once %Complete column =100% then Done/Overdue column will return Green check for Complete.)

2 Flag for Overdue (if Start Date is after the Due Date then Done/Overdue column will return Red flag for Overdue)

3. Amber Circle for Ongoing (if %Complete column = "Ongoing"  Done/Overdue column will return Amber dot for Ongoing).

I have attached a snip of this scenario which hopefully depicts what I am trying to explain.

Again much appreciated Sunny for your help.

 

screenshot.PNGImage Enlarger

sp_PlupAttachments Attachments
  • sp_PlupImage screenshot.PNG (76 KB)
Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 870
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
4
November 12, 2018 - 11:10 pm
sp_Permalink sp_Print

Hello,

I am looking in the file uploaded by Sunny. You just need to add one extra condition in the formula in cell H4.

Current formula is: =IF([@[% Complete]]="",-1,IF(OR([@[% Complete]]="Ongoing",[@[% Complete]]<1),0,1))
Modified formula is: =IF(OR([@[% Complete]]="",[@[Due Date ]]<[@[Start Date ]]),-1,IF(OR([@[% Complete]]="Ongoing",[@[% Complete]]<1),0,1))

Br,
Anders

Avatar
jay bee

Active Member
Members
Level 0
Forum Posts: 5
Member Since:
November 11, 2018
sp_UserOfflineSmall Offline
5
November 13, 2018 - 9:30 am
sp_Permalink sp_Print

Hi Br Anders,

 

Amazing!  I want to learn to do this!

Tweaking, is it possible so that the only time you see the "Ongoing Icon" (Amber) is when %Complete column shows "Ongoing"?

If the %Complete is 100% then the Green check, otherwise Done/Complete column is just blank.

I hope that makes sense.  Even so, I can definitely use what you guys have collaboratively provided.

Thank you again, I am very grateful and it inspires me to learn.

 

Regards

Jay

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
6
November 13, 2018 - 11:33 am
sp_Permalink sp_Print

Hi Jay

Try this formula:

=IF(OR([@[% Complete]]="",[@[Due Date ]]<[@[Start Date ]]),-1,IF([@[% Complete]]="Ongoing",0,IF([@[% Complete]]=1,1,"")))

 

@Anders : Thanks for modifying my formula 🙂

Sunny

sp_AnswersTopicAnswer
Answers Post
Avatar
jay bee

Active Member
Members
Level 0
Forum Posts: 5
Member Since:
November 11, 2018
sp_UserOfflineSmall Offline
7
November 13, 2018 - 9:56 pm
sp_Permalink sp_Print

Perfect - amazing.  How did you guys learn Excel formulas?

I'm thinking as a first investment to complete the course offered on this hub.

I understand the logic just not the syntax of the formulas - no doubt practice makes perfect.

It's amazing to see it work.

Again, thanks for the collaborative effort and your insight....I'm keen to improve on this skill, so i too can add value to this forum.

Regards

Jay

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
8
November 14, 2018 - 12:40 am
sp_Permalink sp_Print

Hi Jay

Glad that we could help.

Learning Excel is definitely a good investment as the skills are very useful for your career.

Even if you use it for your personal you will find it is a tool that you can't live without.

A good place to start to learn Excel is to visit forums (like MOTH) where there are tons of materials for all level of skills.

Practice makes perfect, so you will need to invest a lot of time practicing what you learnt (and ask lots of questions).

Good luck with your quest to improve your Excel skills.

Sunny

Avatar
jay bee

Active Member
Members
Level 0
Forum Posts: 5
Member Since:
November 11, 2018
sp_UserOfflineSmall Offline
9
November 14, 2018 - 7:43 am
sp_Permalink sp_Print

Hi Sunny,

Thank you for your suggestions, i'll take a look. 

I have a good friend who I visit and lives in KL.  Great place, friendly people and great food choice.

Thanks again, it is good to be able to communicate to like minded people - unfortunately my circle of friends are not "excel boffins"

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Mia Nielsen, Jeff Krueger, Shanna Henseler, Lawrence Smith
Guest(s) 11
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
John Chisholm
vexokeb sdfg
John Jack
Malcolm Toy
Ray-Yu Yang
George Shihadeh
Naomi Rumble
Uwe von Gostomski
Jonathan Jones
drsven
Forum Stats:
Groups: 3
Forums: 24
Topics: 6212
Posts: 27236

 

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

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • 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
 

Company

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

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.