The idea of getting a scatter chart to have a smooth spectrum from http://www.ozgrid.com/Excel/xy-scatter-color.htm is brilliant, but there is a slight problem I am having with it. The number of points possible in the chart determines the color, rather than the values of cells. I have a table with 100 rows and the chart is based off data from that table; however, instead of using cell references in SERIES, I have named ranges, as part of the table returns a shortened list of values based on user-selected parameters.
In short, this means that if only 7 values are returned in this shortened table, the coloration sees 7 values out of 100 and goes only 7/100ths of the way from red to green. Is there a way to get the coloration based on a certain value in the worksheet for that row? For example, if I have a list of test scores ranging from 0% to 100%, can I get the same coloration to show for a score of 88%, regardless of whether one record is selected or all of them?
Also, if I wanted a user to be able to easily change the parameters of the spectrum so that they could see a spectrum of scores from 50% to 100%, can I get the macro to look these values up from the worksheet?
There are two modules in what I am using now, the class module is called CSpectrum and reads:....
I have a Pivot Chart with 5 data series requiring 3 different formats.
Data: In my Pivot Table I have the following Fields - Type, Year, Month, Sales.
The Years are always the most Recent 2 Years (Currently 2011,2012).
The Months are, well, the Months Jan Through Dec.
The Sales are 'Number of Sales in The Period'
The Type is one of 3: Sales, Cumulative Sales and Change.
Sales has a field for every month in 2011 and 2012, the same for cumulative and finally, Change has the difference between 2011 and 2012 sales for each month.
Now when I plot these on the chart I have
Sales 2011, Sales 2012 Plotted as a line chart on the primary axis,
Change Plotted as a bar chart on the primary axis, with invert if negative formatting,
Cumulative Sales 2011, Cumulative Sales 2012, Plotted as a line chart on the Secondary axis. With the same colours per year as Sales, but as a Dashed Line.
I want this formatting to remain static as the data updates, and if possible when the series changes name (which i'm not sure is possible) because, come January the data series will be 2013/2012 not 2012/2011.
With the other formatting is seems to sometimes stay static and sometimes just decides to reformat everything and switch axes and i'm not really sure why.
Hey Guys- I'm not sure if this is even possible but I need some help. I have attached a file below similar to a gantt chart. I need help with the conditional formatting, as I have manually changed the colors to match what I need automated.
Basically I have 6 tasks and I need to change dates for individual projects but I also need the corresponding color to also change.
A little background on what i am doing. I have a spreadsheet that tracks when i have blown the dust out of our computers. I have set up conditional formatting so that the text turns red after 300 days and the cell turns yellow after 600 days. However, some computers are in high dust environments. I would like the spreadsheet to tell me to blow the dust out of these sooner. see the attached sheet.
I currently have a thermometer chart in Excel 2013 that I set up with percentages along the Y-Axis. The thermometers are showing spending based on a budgeted number. Currently, the project is over-budget so I have adjusted the thermometer scale to go far beyond 100%.
I would like to have the percentages past 100% show in red along the lefthand side.
I am trying to format the colour of a column chart based on the value of the x axis (not the y axis value). Firstly I need to know if it is possible. Secondly I would appreciate any hints / VBA code that could be useful.
I am trying to format the colors of the bubbles on my bubble chart to Green (>5), Yellow (4-5), or Red (<4) based on the value used to create the bubblesize.
The problem that I am having is that .BubbleSizes is property of type String, not range like .xValues, or .Values. So instead of pulling in the value, I am pulling in the reference and getting a "Type Mismatch" Error. The reference of my data for .BubbleSizes is $D$5:$D51. Each row is it's own series and the list is dynamic, so I need to be able to support future rows without a lot of maintenance.
Here is the code that I have so far.
VB: Sub DataSeriesFormat() ' ' DataSeriesFormat Macro ' Format Data Series based on defined parameters for Green, Yellow, and Red. Created by Derek Steinmetz 7/24/12 ' Dim x As Integer Dim val As Variant Dim Green As Range
I am trying to format the date in my x-axis which is currently 'month-day-year' but I would llike it to be 'month-year' I know it is because my data that was used for the date is 'month-day-year' but since I am using power pivot I can not change the data. Is there a way I can change it to my desired format so that my pivot chart will only have the 'month-year' format in the x-axis?
I have set up a spreadsheet with a set of dates occurring in one column.What I would like is for the cell to highlight in yellow if the value is 3-6 months ago more from today's date and then highlight in red if the value is 6 months or more from today's date.I'm using office 2013 if that makes a difference
I have a column contain cell with value of dates. The value is from Vlookup formula. The problem is when I try to do color code to yellow for any past date from current date to all cells that contain the date value in that column, I dont see any change.
The formula I used for past date from current is =today()-1 (so that should be correct). So, I am wondering why none of the dates that past do not change the color thru the conditional formatting I did.
The Conditional formatting formula I used:
"Format only cells that contain" -- > Cell Value -- > less than or equal to -- > =today()-1
I have 2 columns that I need to set conditional formatting for. In one column (D) I have a date of when a person needs to be paid. In the next column (E) I have when the date of payment was or nothing indicating I have still not paid this person. What I need column D to do is have conditional formatting (im assuming this is the right way to do this) color the cell if we are late or if the person has not been paid yet according to the date in the E cells. Here is what I have so far:
(in cell D1) Condition 1: Cell Value is greater then =$E1 Color grey
Condition 2: Cell value is less than =$E1 Color pink
He is where im running into the trouble. Condition 1 indicates that if cell D is greater then cell E then I have paid the person on time or sooner (grey). Condition 2 shows that if cell D is a date before the date in cell E then it turns pink indicating I was late on payment.
What I also need the condition to do is change cell D pink if there is no info in cell E, which is indicating that I still need to pay someone. So I tried a 3rd condition, but it doesn’t coincide with condition 1. I tried:
Condition 3: Cell value is greater then 0 Color pink
What I need the 3rd condition to do is say if cell E has nothing in it then I need cell D to change to pink. Im assuming I need 3 conditions for this to work, but im not to sure.
I have a column of dates in column M, and in A1 I have the formula =TODAY() for today's date. I would like to conditionally format all of column M (up to row 198) so that it turns orange if the date in M is before today and after or equal to 3 working days before the date in M.
I have this =AND($A$1<M2,$A$1>=(WORKDAY(M2,-3))) But it doesn't appear to be working because it's highlighting dates after todays date.
I have two date columns named "start_date" and "Dead_line".
Both the columns are in the date format. Ex: 9/14/13 9:14 AM
i want the third column to be the "status" column.
if sysdate-dead_line < 30 % of (dead_line - start_date), then the status column should become green. if sysdate-dead_line is between 30 % and 70 % of (dead_line - start_date), then the status column should become amber. if sysdate-dead_line > 70% of (dead_line - start_date), then the status column should become red.
First the dead_line - start_date to be converted to hours, then have to do conditional formatting like mentioned above.
I want set a condition in a cell that contains a date , to change to a colour when this date has passed another date by 3 days. E.g. order date received date if the received date has gone over 3 days past the order date i want it to flag up and change colour.
Despite 'Google is my Friend' and lot of test, I got a bug in my formula. I'd like to colorize date between (Today + 30) and (Today + 60) The line with the xlsBetween operator, fail...
Existing solution : I know how to bypass this issue, but it's really an awfull solution : fill all column with orange, and then the Conditional formating will overrun the orange color when nedeed. Works but I don't like it ...
I feel like this is a pretty simple question to answer but I cant find an answer to it anywhere or I'm just not skilled enough to understand it. I have two columns D and E that have dates in them. Column D is the purchase date of a computer and column E is how many years months and days its been since it was purchased. I want both columns to be the same color. If the computer is 2 years old or less I want it green, 3-4 yrs old yellow and 4+ red. I have it working for column D but I can't figure out how to apply it to column E.
I need to know if new entries are made within the last 7 days. I do not need the date posted to my viewing just a highlight in my choosing of color. I only want the conditional format to last 7 days then it can go away to normal format. Is this possible or is there an alternative function available to solve same problem?
I am trying to use conditional formatting to highlight items that are either past due or coming due soon. The data to be evualuated is in a report that I extract from another system and run bi-weekly or monthly. The dates included in the report represent the date in which something was last updated, certified, tested, etc. All dates expire one-year from when they were last completed. The colors that I want are as follows:
If something is past due (date shown is more than 1 year old) or due within 30 days = RED.
If something is due within 31-60 days = YELLOW
If something is due within 61-90 days = GREEN
So, if an item on a report is showing it was "LAST UPDATED" on 2/21/2007 it should show up RED because it is due within the next 30 days.
If an item is not expired (less than 1-year old) and falls outside of the defined 90 day window then it should just remain as is with no formatting.