Pie Chart With Two Sections - Red And Green Colours
Jul 2, 2012
I have a very simple pie chart, no 3D angles, no shading, no tilting, no exploding (i.e. exploded view).
In fact it is so simple, it is just 2 sections.
I want one section to be GREEN, and the other section to be RED
Green is good, Red is bad, of course, just like traffic lights.
So, how do I get these colours to be green/red. Not worried about which data series (of 2) is a particular colour, I can swop these easily.
View 2 Replies
ADVERTISEMENT
Oct 4, 2012
is it possible to create a pie chart with the colours that are in the cells (fill colour) which contains the data.
View 1 Replies
View Related
Jan 21, 2010
I have a spreadsheet which reports across different categories, but there's a lot of info. So simplify this, I've written a simple macro that changes the series range in an existing chart, so top level and by category. This works well apart from I'm using excel 2007, and some people aren't, so the default colours look fine on my version, but change to some awful colours on anyone with an earlier version of excel. I need a way of changing the colours to standard ones depending on which macro is being run.
I have tried running the following, but I get an error, basically saying the series hasn't been selected.
ActiveSheet.ChartObjects("Chart 6").Activate
ActiveChart.SeriesCollection(3).Select
ActiveChart.SeriesCollection(3).Interior.Color = RGB(255, 0, 0)
View 9 Replies
View Related
May 6, 2014
I'm sure this will be an easy query.
These are marks scored by 5 people in 10 exams
Name of the student
MARKS
MARKS
MARKS
MARKS
MARKS
MARKS
MARKS
MARKS
MARKS
MARKS[code]....
Range
A1 to K6
In each row top 5 MARKS should be filled with BLUE,VIOLET,YELLOW,RED AND PINK
If its not possible. Top 3 with dark colour, remaining 2 with light colour using conditional formatting
View 1 Replies
View Related
Oct 29, 2007
The idea came about after wanting to show a 'gold' 'silver' and 'bronze' background colour, but having to plump for yellow, grey and orange looked a little crap :f
If not, can a workaround be created by using code and a picture or 2?
View 9 Replies
View Related
Jan 13, 2009
The equation is basically: 10^[A/20]+10^[B/20]+10^[C/20]. Now imagine that there is no input value for C. I need to make it so that it won't add the bit I've highlighted in green.
View 5 Replies
View Related
May 8, 2014
i have 7 columns from A to E of horse racing data.
Col A is Date, B is Time, C is number of horses in the race, D is the result placing E is the Odds
The data is in Date order and then by time then by order of place eg 1st 2nd 3rd etc
I am trying to sort the data by Odds for each race
Pseudo code would be;
Read Cell C2 (the start of the data) to determine the number of runners (example answer 10)
Select range Rows A2:A12 (10 rows from data in C2)
Sort Selection by column E[code]...
I wish the above pseudo code works as it seems so simple
View 2 Replies
View Related
Nov 10, 2009
I have a summary sheet with a table and it needs to show how many people have 14 or more hours available based on a few reports. This is split by different levels (i.e Manager, Senior Manager etc) and various different areas.
The reports are placed in seperate sheets and i need the table to be automatically updated via either a formula or macro, rather then the manual process of going through each sheet and having to filter and then count.
View 13 Replies
View Related
May 22, 2009
I have a user form with a button to clear the entire form on a click. I also have the form seperated into 2 frames, how do I set a button to clear only one of the two frames. Also how do I set a button to clear one text box on a frame? I know it must be simple, but I can't seem to figure it out.
View 3 Replies
View Related
Dec 21, 2011
CompanyCodePropertyCount of StegdiwSum of WidgetsCompany XYZ
Example 1XXXXXX10.00Example 1 Total10.00
Example 2ZZZXXX22.00XXXZZZZ22.00Example 2 Total44.00
Example 3QQQZZZ33.00ZZZQQQ33.00QQQXXX33.00Example 3 Total99.00COMPANY XYZ Total1413
I am recreating a pivot table made by a prior user using new data. I have been able to figure out the format. But I would also like to color the sections in the same way, similar to that show above. How to color different sections of a pivot table?
View 1 Replies
View Related
Apr 10, 2012
My question is can I use cpu clock or some other means temporarily as an indicator before and after sections of code to display run speed until I find the best optimised code solution.
View 1 Replies
View Related
Sep 15, 2012
In my spreadsheet (27,000 + rows), there are sections (multiple rows) that are duplicates of other sections. A section is a header row followed by other rows of data.
The number of rows in each in section can vary from 5-20 – therefore, you cannot use the number of rows as a criteria.
However, each section has a header row that contains a four digit number. The following is an example of two such sections:
Basic -- Zero Line ==> Zero Line ID=7076 (submitted by Calvin Campbell)
Star Thru
Pass Thru
Trade By
Star Thru
one half Square Thru
[Code] ..........
As you will notice the header row contains an ID number. Every header contains “ID=” followed by the four digit ID number.
I need a macro that will identify the duplicate IDs and their sections and delete the duplicate rows of data.
I mention the following – which may or may not be useful.
- Not only are the header rows duplicates but the content of the entire section is duplicate
- There are no blank rows in the spreadsheet
- Entire rows may be deleted (not just specific cells)
- The data will be in Column A
- There’s only one duplicate of any given ID
There are a total of 2716 sections. It has been determined that 201 of them are duplicates. I can provide the 201 duplicate ID’s if needed.
View 9 Replies
View Related
Dec 3, 2013
I want to convert multiple sections that contains formulas to values. Usually i did this by coping range of cells, and paste as Values. But now i have multilple sections and excel doesn't allowe me to copy multiple sections. (i can not use clipboard, because there are more than 2.5 k rows)
View 7 Replies
View Related
Aug 14, 2013
I am using Excel 2010 64-bit (with SP2 and all other updates installed).
I have a worksheet where some cells have a yellow background, based on conditional formatting of what is in column A. (Note that data in column A changes, so the row can sometimes be yellow and sometimes be white.)
I need to sort this worksheet as follows:
1. By background color, so yellow is on top, white is on bottom.
2. Then, within the yellow rows, data in column J.
3. Then, within the white rows, data in column A.
Currently, I do this manually by sorting the entire worksheet by column A, then selecting only those rows that are yellow and sorting by column J.
Is there a way to combine these steps, perhaps with a macro?
I initially thought to make each "background color" its own table, but since column A can change and thus the background color of a row can change, I need to be able to have rows move from yellow section to white section. I don't think having two separate tables allows that.
View 2 Replies
View Related
Aug 14, 2014
I have one master excel file (masterexcel.xlsx) and 100 small excel files. The small excel files are saved as M30.xlsx, M31.xlsx, M32.xlsx, M33.xlsx, M34.xlsx....
I want to open the M30 file, copy a certain section and paste it into the master excel file, close the M30 file whilst saving the new information in a file called recording. Then open the next file which is M31, copy a certain section and paste it into the master excel file, close the M31 file and then open m32 and so on....
How do I create a loop for the files so it automatically opens the files in the order M30, M31, M32.......and performs the aforementioned actions.
I have attempted the following for m30 but i need to make it a loop for m31, m32, m33, m34, 35 and so on....
[Code] .....
View 1 Replies
View Related
Jan 3, 2012
I am trying to rank records from multiple sections of a single array. Since there are over 100 sections I want to use a formula. Using the MATCH function I have the first row for each section of the array (Col D below). The psuedo code of what I'm trying to do is:
RANK(B1,Bfirst row of section:Bfirst row of next section -1)
Example (results in Column C):
A B C D
1 West 100 3 1
2 West 150 1 4
3 West 125 2
4 East 50 3
5 East 75 2
5 East 140 1
I will also need to increment the section as I complete each section of the array. Am I trying to do too much in a single cell??
View 1 Replies
View Related
Jul 5, 2014
I am setting up a template to use to track candidates throughout their lifecycle. I am also creating a 'summary report' on another worksheet that counts total number of candidates, counts the number of candidates that have been submitted to the client, count of the number of candidates that have been interviewed by the client, etc.
How do I count the number of candidates in the spreadsheet?
In Cells A6:B5, I have "Submitted"
In Cells A7-?? I have dates for those candidates that have been submitted.
Then a new section titled, "In Process"
A list of candidates are contained within that section.
Then a new section titled, "For Review"
etc.
There are multiple sections, so the date in Column A1 may not always be in a constant row, as it depends on how many candidates are within a certain 'phase'.
I have a column I5, titled "Status" This column has a built in drop-down list that contains pre-defined status, for example, "Submitted", "Candidate Declined", "2nd Message Sent", etc. I need to be able to create a summary report based on a count of candidates that fit certain 'Statuses'. For example, count the number of candidates that were Interviewed. This could be a combination of Statuses: Phone screen with client, 1st F2F, 2nd F2F, etc.
(At home, I am using Excel 2003. At work, I am using Excel 2007. So if it's easier to create in Excel 2007, that's fine.)
View 4 Replies
View Related
Feb 4, 2008
I am new to excel and need a formula for conditional formatting. In E1 I will be putting a date for the month and in cell J1 I want it to highlight green if there is a date in E1 and if there is nothing in E1 I want it to be red.
View 9 Replies
View Related
Feb 19, 2009
I am trying to create a formula that looks at a spreadsheet containing training percentages for employees. I need to look at these percentages and based on the date that the person started I need to look at certain rules. First it needs to look at what has happened more recently , moving to a new department or promotion. Next it needs to use that info to decide which rule to use. Ex. the person started 90 days ago then they are subject to rule A. The training percentage then needs to be looked at to see what rating they have. EX. percentage < 90% but > 75% gives a rating of 1. percentage than 50% gives rating of 2. percentage < than 50% rating of 3. Rule B would contain different criteria. My problem is that I tried nesting IF statements but I need more than 7. When I tried to do this in VBA I couldn't get it to work.
View 9 Replies
View Related
Apr 23, 2006
Somehow, from a fresh instal of Excel (to try and cure the same problem), and Insert Module, the box is green. Viewing a macro, the background is green, some of the code is black on green, but most is black or blue in white boxes cut out of the green. The code appears normal on another computer.
View 7 Replies
View Related
Aug 6, 2009
I've devised a monthly savings sheet to allow me to track my savings towards a deposit on a house. My target is xxx a month, but as I could contribute loose amounts of money I'd like to be able to display a field next to each month of how much over I've contributed or how much under I've contributed.
I'd like this to be represented as:- If I contribute more than xxx for a month then display it as green text and calculate how much over has been contributed.
If I contribute less than xxx for a month then display it as red text and calculator how much under the contribution has been. I'm really not sure how to do this, I would do it manually normally but surely there is a way of automatically representing it.
View 4 Replies
View Related
Dec 18, 2009
Look within sheet "highlowperf" column K and copy the row containing cells that are filled green in column K into sheet "overallperfomers" starting from row 9 within the "overallperformers" sheet until completed. It needs to be from row 9 as i have other data above this which i need to keep intact.
Further to this i do not require all information from the row that is found to contain a green fill. I wish to copy columns A B C D E F G K.
If this second part is not possible I can settle to just copy the whole row over and i will try and work around.
View 6 Replies
View Related
Oct 10, 2011
If the results are < or = to 60, then I want result to be green. If the result is > 60, then I want to result to be red
View 2 Replies
View Related
Apr 12, 2013
I have a column that shows green when a target has been reached.
On a separate sheet, in the same workbook I have the number of days which target has been reached in the month. At present I have to update this manually, is there a way to automate this?
View 1 Replies
View Related
Apr 24, 2013
I need to sum the cells that are light green in color. The color is manually added. I guess I need a macro for this. I have never done a macro so be very specific.
View 5 Replies
View Related
Apr 16, 2009
I am trying to figure out how would be the best way in VBA to identify if a cell is colored green (column C) then in column L I want to say "YES" else nothing.
I have came up with a count so I know how many records to look at but have nothing from there.
Public Sub KPI()
Dim cls As Object
Dim i As Integer
Dim rng As Range
Set rng = Range("C9:C100")
For Each cls In rng
If cls.Value "" Then
i = i + 1
End If
Next
End Sub
View 9 Replies
View Related
Dec 22, 2008
I have a query where I am trying to find out how many people passed in green, amber and red from a series of data. I know (from the attached file) how to find out how many greens, ambers and reds there were, but how can I find out how many of the 7 in cell B12 passed in Green?
View 2 Replies
View Related
Mar 4, 2009
See attached document. In cell G4 i need a format which will make the cell green, amber or red depending on the values in Cells I7 to I9.
3 Greens = Cell G4 to be green
2 Greens, 1 Amber = Cell G4 to be amber
2 Greens, 1 Red = Cell G4 to be red
View 2 Replies
View Related
May 19, 2009
I'm trying to make a "weight-based" spreadsheet. I want to show a difference between numbers so if an item lost 5 lbs, there would be a "-5" and it would be in green font showing good.
For example, a box weighs 20 lbs and then drops down to 15 lbs. This would be a good result. So I would have 20 lbs in A4 and 15 lbs in A6 and I want to show the difference in A8. However, since I want the box to lose weight, I want it to show a negative value of "-5" in green font meaning it is good. And vice versa, I want it to show "+3" in red font if the box gained weight.
I can't really figure out how to get the signs working properly. I'm assuming to use an "if" function in where if the difference is a loss, show the negative sign and have it in green font. And if the difference is a gain, show the positive sign in red font.
View 2 Replies
View Related
Sep 5, 2009
Ceck this attached file and let me knw what i did mistake in Conditional Formatting
=E2="we have more than 90 days" i like to fill green colors in e2 cell
=E2="we have less than 90 days" i like to fill red color in e2 cell
but its only showing green and white..
View 2 Replies
View Related