Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-17-2014, 12:52 PM
Franktoon Franktoon is offline Header must toggle text & color + show count of conditionally formatted cells below Windows 7 64bit Header must toggle text & color + show count of conditionally formatted cells below Office 2010 64bit
Novice
Header must toggle text & color + show count of conditionally formatted cells below
 
Join Date: Feb 2014
Posts: 2
Franktoon is on a distinguished road
Default Header must toggle text & color + show count of conditionally formatted cells below

My spreadsheet has a list of well over a thousand items purchased, among which are numerous computers. Newer items are added to the next row at bottom. Column G shows a list of Warranty Expiration Dates for those computers. From time to time these expire and we haven’t noticed to check for defects in the units because we’re normally adding new purchases at the bottom of the spreadsheet, not checking on old purchases.

I’ve formatted column G to highlight each cell with a red background if its warranty ends within the next 30 days. [To do that, I selected rows 2 to the end, and using Conditional Formatting, I selected the Rule Type: “Format only cells that contain”: Cell Value between =TODAY() and =TODAY()+30. Only the color background changes to red and the font changes to italics. Text itself does not change.] Now, the cells with expiring warranties turn red—but I don’t normally see those cells.



How do I format the column heading to toggle its text and color based on conditionally formatted cells below it AND include a count of those changed cells? I want the column G heading (G1) to toggle between its normal title (“Warranty Expires” with yellow background) to “X Warranties almost up” with a red background and where X is the number of cells in column G currently showing its a red background. Is this possible?
Reply With Quote
  #2  
Old 02-17-2014, 07:40 PM
macropod's Avatar
macropod macropod is offline Header must toggle text & color + show count of conditionally formatted cells below Windows 7 32bit Header must toggle text & color + show count of conditionally formatted cells below Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You say you want a toggle, but how is that to be implemented?

As for the count, you'll need to use a formula such as SUMPRODUCT or SUMIFS that uses the same logic as your conditional formatting to tally the items.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 02-18-2014, 09:10 AM
Franktoon Franktoon is offline Header must toggle text & color + show count of conditionally formatted cells below Windows 7 64bit Header must toggle text & color + show count of conditionally formatted cells below Office 2010 64bit
Novice
Header must toggle text & color + show count of conditionally formatted cells below
 
Join Date: Feb 2014
Posts: 2
Franktoon is on a distinguished road
Default

Thanks for pointing that out. I would like the column header to toggle its text and color whenever any of the cells below it change their background color. (Those, in turn, change color whenever they come within 30 days of their Expiration date, per their conditional formula.)
Reply With Quote
  #4  
Old 02-18-2014, 02:10 PM
macropod's Avatar
macropod macropod is offline Header must toggle text & color + show count of conditionally formatted cells below Windows 7 32bit Header must toggle text & color + show count of conditionally formatted cells below Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Can you attach a workbook to a post with some representative data (delete anything sensitive)? You do this via the paperclip symbol on the 'Go Advanced' tab.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
conditional format, count, toggle



Similar Threads
Thread Thread Starter Forum Replies Last Post
Header must toggle text & color + show count of conditionally formatted cells below Conditionally Color Formatting Text selected from a dropdown list in Word 2010 pgammag Word 9 08-20-2019 04:17 PM
Header must toggle text & color + show count of conditionally formatted cells below How can I count cells based on their fill color that was set by conditional format trueimage Excel Programming 1 10-25-2013 12:08 PM
How to merge two columns & replace contents of cells conditionally? mag Excel 3 10-24-2012 01:07 PM
Header must toggle text & color + show count of conditionally formatted cells below How to count the total cells that contains text data? Learner7 Excel 1 06-30-2011 04:13 PM
Odd behaviour in formatted cells furface00 Excel 3 03-11-2011 08:02 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:34 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft