Add The Sum Of Cells By Color- With Different Values

Aug 16, 2008

I have this fantasy footy comp I run and every week I enter player by player scores. To make it easier for me I need to a strange formula. Basically can you make a formulua to sum cell based on text colour?

Every week the 3 players with the highest scores get votes. Eg highest gets 3 votes, second highest 2 votes and 3rd highest 1 vote. After each game I look thorough the players and change the colour of the 3 best to make them stand out. Green on black for highest, yellow on black for 2nd highest and red on black for third highest.
Is there a way to at the end of each week to have a the cell (for example cell v43 in my sample) to update or add up all the 3pts 2pts and 1pts that player has accumulated throughout the season?? In my example I have just hand counted them and inputed them.

View 14 Replies


ADVERTISEMENT

How Do I Sum Up Values Only In Cells That Are Color Filled

May 1, 2008

This thing drives me crazy for the past few days. Please helpI can go to sleep.

I have several columns with numerical data. When certain criteria are met, a person manually makes some of the column fields a green fill color via the color fill button.

Let's say I have data in cells E4 to E14

Below, I have a total field (auto Sum function used to total all),

And, another row with The Colored Green totals.

How do I enter the appropriate code to total only the fields that are green?

I have found some info on verious sites but I have been unsuccesful to implement.
[url]

I attach a sample sheet, I was playing around a bit, you can ignore the fill color red, just deal with the green fields.

View 10 Replies View Related

Color Fill Cells Based On Value Being Between 2 Values

Feb 22, 2008

create formula/condition to colour fill different cells based on multiple Criteria.

View 3 Replies View Related

VBA To Color Cells - Search Workbook For Specific Values?

Mar 22, 2013

I am trying to create a VBA to:

1. Search workbook for a specific values and then to color that cell with a corresponding color.

2. Search workbook for a specific values and then color other cells underneath (the next 3 merged rows after the cell containing the value) with a corresponding color.

View 3 Replies View Related

Conditional Format Color Of Cell Based On Values In Range Of Cells?

Oct 24, 2013

I would like to format the color of cell A1 on Sheet 1 based on true or false values from cell range A1:A10 on sheet 2. For instance:

1. If all cells on sheet 2 in range A1:A10 were false then cell A1 on sheet 1 would be red.

2. If some cells on sheet 2 in the range A1:A10 were false and some were true then cell A1 on sheet 1 would be yellow.

3. If all cells on sheet 2 in range A1:A10 were true then cell A1 on sheet 1 would be green.

View 5 Replies View Related

Color Column Charts Based On Font Color Data Cells

Oct 27, 2009

I have attached the relevant spreadsheet for which I need to alter the color of the columns based on Site number ( Sheet 1). % Mortality will be represented in the Y-Axis, and the Site numbers would be on the X-Axis. All columns (% Mortality) except one will be of the same color, and the one of a different color will indicate a specific site. As an example, site 86 is colored differently. The way I require the chart to look is shown on Sheet 1.

After reading through some great posts on Ozgrid, I managed to do this using conditional formatting (Sheet 2), but that sort of falls short because I am required to add a data table to the chart, and the parameter that is indicated by the column bars happens to appear twice in the data table.

I was wondering if this can be automated maybe using VBA, but with the possibility of simply matching the color of columns with the font color of respective entry in the data series.

View 9 Replies View Related

Color Cells Based On Color Of Preceeding Cell

Nov 18, 2007

I am looking for a very simple script that will achieve the following:

On the clicking of a button, Select and shade in a cell yellow, delete the yellow shading of the previous cell. The shading & selection should move up a column of cells, 1 at a time, in the following order:

From B10 to B9, then B9 to B8, B8 to B7 etc until the selection and shading is at B2. Once it is at B2 subsequent clicks will simply keep it at B2 (the top). Thus after 8 clicks the shading & selection should travel from B10 to B2, with only 1 cell being shaded yellow and selected at any one time.

View 5 Replies View Related

Macro To Color Cells Based On Their Font Color

Jun 18, 2008

I have a spreadsheet that i download from the net daily, which is seperated into columns of information.

I want to be able to look down a column and mark a cell in a seperate column if the cell font text is red.

For example looking down column A ... if the font text of a1 is red then mark the cell background colour of T1 red - if a2 text colour is red then mark the cell T2 red .... etc etc.

If the font colour in a1 or a2 ... etc etc is any other colour then do nothing.

I have 5 columns I wish to look down and mark in 5 seperate columns - I have tried to do this by conditional formating but don't know the fomula for checking font colour.

View 9 Replies View Related

Excel 2010 :: Color Fill A Range Of Cells If Specific Cells Not Blank

Feb 7, 2013

I am using Excel 2010 and basically i am trying to fill a range of cell with a green color if any value was enter in a specific cells. Example: I would like to fill range: A10:c13 with a green color (regardless of the cells content in this range) if a value was entered in cell C10 or C11 or C12 or C13.

I've tried conditional formatting but unfortunately I'll have to apply formatting for every cell and for a range of over hundred cells is not efficient.

View 7 Replies View Related

Color Cells Based On Adjacent Cells Being Empty & Add Text

Apr 2, 2008

I’m trying to make my life a bit easier, by adding a few macros and formulas to the spreadsheet (Everything was done completely manually before I got here!!!).
What I would like to do is take two columns, which contain a start and end time for work shifts, and colour them GREEN once I have entered a name in the Worker column (Along side the two with the time), and also to fill a cell with a Yes or a No. I’m aware of auto conditioning, and I’ve tried to have a play to get this to work, but I just can’t work it out.
I have posted a link to an image which shows what I want. I hope I've explained it well enough!

http://img530.imageshack.us/img530/6239/excelspfk0.jpg

View 9 Replies View Related

Color Blank Cells In A Row Between 2 Cells With Specific Number

Jan 31, 2013

I have a similar question regarding coloring of empty cells between two cells with specific numbers as posted in below thread : [URL] .....

This is exactly what I want. But here I have some problem with formula.

=COUNTIF(A1:Z1,1)=1

Above formula could pick cell value 1 and color the empty cells in a row between the cells having value=1. But if I want to use the same formatting for other numbers like 2 or 3 it doesn't work.

For example in row(A1:Z1) I have A1=1, D1=1, and F1=2, K1=2, and O1=3, U1=3

I required multiple conditional formatting that could color the cells based on values first from A to D then from F to K and finally from O to U.

I'm using above formatting it works with cells having values 1 but its not working for 2, 3 or any other cells values.

I have already tried replacing 1 in above formula with 2 and 3 but it doesn't work.

View 1 Replies View Related

Fill Cells Color In Worbook Based On Other Cells

Jan 27, 2005

how can I automatically fill cells with certain colors based on the value of the cell. (i.e. I want to search an entire workbook and fill cells with values between 80 and 99 green, 60 to 79 yellow and 0 to 59 red.)

View 9 Replies View Related

Color Cells Based On Multiple Conditions Of Different Cells

Jan 15, 2008

I’m trying to change color in cell B9 according to different conditions in Cell C9 (than on b10 according to c10 and so long until necessary - probably will be around 2000 lines). Since there are more than 3 conditions and in two cases condition depends on the color of the C Column, I can not use conditional formatting. I’ve searched and found similar forums here, but since I’m ignorant in VBA code, I couldn’t manage to make adjustments. So if you can help me with the code, I would really appreciate it!

Condition and Results required would be:

IF column C = “S” than on Column B = color cell light blue with white border
IF column C = “P” than on Column B = color cell Green with white border
IF column C = “A” than on Column B = color cell Yellow with white border
IF column C = “L” than on Column B = color cell Red with white border
IF column C = “C” than on Column B = color cell Dark Blue with white border
IF column C = “ ” than on Column B = color cell white
IF column C = “V” and has white background than on Column B = color cell white
IF column C = “V” and has a Dark Grey background than on Column B = color cell Dark Grey

I don’t know if the last two are feasible.

View 6 Replies View Related

Sum Of Values Depending On Color

Sep 29, 2009

How can i do sum of the values which are in red color

CODEAMTA1B2C3D4E5F6G7H8

View 9 Replies View Related

Color Range Between Specified Values

Nov 21, 2007

I'm using this conditional format formula (compliments of "shg")

= COUNTIF($T$16:$T16, "R") * COUNTIF($T16:$T$600, "R")

Which fills a color (Red) based on a specified value, up to the last entry.

The conditional format is within a range ("Range1") in column P. The formula looks in column T for a value of "R" , in which it fills the cells between the first an last value with the color Red.

as a brief example:

Column..P,.....T

1..................X
2........Red.....R
3........Red.....X
4........Red.....R
5........Red.....X
6........Red.....X
7........Red.....R
8..................X
9..................X

However my workbook has become very slow.. I have several columns utilizing this conditional format .(albeit trigered by a different letter value)

Is there a way to incorporate this functionality into a macro, one which i can initiate via button assignment?

View 9 Replies View Related

Charting Color According To Dates And RGB Values

Feb 26, 2014

I have a spreadsheet with 4 columns. The first column is a Date/Time object and the next three columns represent the R, G, and B values of a color. The color values are 8-bit numbers(0-255). What I'd like to do is create an area or bar chart where the x-axis are the dates and the y-axis is the overall brightness of the color (a simple average of R,G,B would suffice). However, I'd ideally like the color of the bar to be displayed by the R, G, and B values from the cells. Is this possible? I've attached a dummy file for reference.

View 6 Replies View Related

Find And Replace COLOR Of Values?

Jul 27, 2013

Is there a way to find specific values and change their colors all at once in xls?

For example, if it looked like:

1 4 5 3 7
4 2 6 3 1
5 9 2 6 4

And if I tell it to change every 4 to red, it'd be like:

1 4 5 3 7
4 2 6 3 1
5 9 2 6 4

Or changing the cells' color would be ok, too.

View 1 Replies View Related

Clarification Of Color Property Values

Nov 2, 2012

I'm confused about values for the color property. Two systems I understand what values to provide as arguments. The third is a mystery.

' Question 1 - line 3 below - this is the result of recording a macro
' I don't understand the meaning of the line 3 argument related to lines 1 and 2 arguments
' How do I convert from args of lines 1,2 to the arg of line 3?
Selection.Interior.Color = RGB(60, 70, 90) 'arguments in decimal
Selection.Interior.Color = RGB(&H3C, &H46, &H5A) 'args in hex, begin values with "&H"
Selection.Interior.Color = 16737996 'How to get this argument?

' Question 2 - line below - Is there are more concise syntax for the arguments?
Selection.Interior.Color = RGB(&H3C, &H46, &H5A) 'better way than &H before each arg?

View 2 Replies View Related

Mark Duplicate Values With Color Or Something

Jan 30, 2008

Excel 2007 User

Colum b:b I have values "x", "a", "b" and so on ....

But some time value x is on row 10 and row 2000

I want to mark that row on a color or something

Example:

Like a loop, So I found ...

A on cell b2

A on cell b24

View 9 Replies View Related

Color Code Values With Function

Mar 5, 2010

I have values that I want to color code in my table. Originally I was tagging them as numbers, but instead I need them as colors.

Function conversion(pVal As Double)

If pVal > 0.05 Then
conversion = "1"
ElseIf pVal > 0.001 Then
conversion = "2"
ElseIf pVal > 0.0001 Then
conversion = "3"
ElseIf pVal > 0.00001 Then
conversion = "4"

End If

End Function

Now I want instead of conversion = "1" etc to be

Function conversion(pVal As Double)

If pVal > 0.05 Then
(make white)
ElseIf pVal > 0.001 Then
(make brighter blue)
ElseIf pVal > 0.0001 Then
(make green)
ElseIf pVal > 0.00001 Then
(make navy blue)

End If

End Function

I want the text and cell the same color (number and cell so the number disappears so that I just have a colored cell but the value is still there if I want to look at it).

View 9 Replies View Related

Cell Color To List Of Values

Aug 14, 2006

I am trying to get a list of values for cells that have been colored.

The following is the macro that I have but I am not an expert on VBA

I think I need two things to achieve this.

1. Would really appreciate if someone would please help me debug this?

2. After I get this list of values I would like to be able to apply this to a worksheet and in one column define the differing row colors by a value. What would be method to do this?

Sub PrintRGBValues()

Dim intNumColor As Integer
Dim strHexVal, strRGBVal As String

'Create the column headers,
Range("A1").Select
ActiveCell.Formula = "Color"
ActiveCell.Offset(0, 1).Formula = "Index"
ActiveCell.Offset(0, 3).Formula = "Red"
ActiveCell.Offset(0, 4).Formula = "Green"
ActiveCell.Offset(0, 5).Formula = "Blue"

ActiveCell.Offset(1, 0).Activate

View 6 Replies View Related

Color Code Text Values

Jan 9, 2008

Is it possible to use different text colours as part of the [Value_If_True] or [Value_If_False] when using an IF formula? For example =IF(AS3<34,"ok","not ok")
In the above formula I would like the “ok” value to be in Blue and the “not ok” value in Red.

View 2 Replies View Related

Color Blank Cells Between 2 Cells With A Number In Them

Apr 20, 2008

creating this code or fomatting in my excel file. I want to fill color in cells between the two cells that has value of say "1" or anything in it. There will be only 2 numbers at any time in any row that has the value in it. All other cells will have value of "0" or can be changed to empty cells. So, the formula should check from say range "A3 to Z3" in row and for example it gets the first numbered cell in C3 then it start filling color from C3 cell until it reaches the other cell in that range that has the number in it. Say the row "A3 to Z3" has 1 number in C3 and other in cell H3 then it should fill color between this two cells from C3,D3,E3,F3,G3 and H3.

View 7 Replies View Related

Color Cells Based On Difference Between Two Cells

Jun 3, 2008

I have a 2 lists of manually entered values where the values in each row are related. They are related in the sense that if the difference between them is equal to or less than, a given amount then the cell containing one value is colored Blue. e.g.

COl A holds Value x while COl B holds value y. I need to check which value is entered in columns A and B and if a given difference or greater exists colour the cell in COl B. For example the relationship relevant to a COL A value of 21.0 is 11.0.

So, I enter the following;

A1 B1

21.0 13.0 <----------------No color Blue

I enter new values

21.0 9.5 <----------------B1 is blue.........................

View 2 Replies View Related

Change Cell Color With Different Dropdown Values

Jun 12, 2013

I would like to have the cell color changed according to what value is chosen from a drop down menu. I guess you need to make some kind of rule with conditional formatting ...

View 14 Replies View Related

Searches Through A Range And Changes Back Color To Values

Feb 11, 2014

I am doing a spread sheet for participation in a class. What I want is for whenever a student is absent, i.e. has a 0 in their point box for the day, that cell turns red. I have tried to make the .find method work but it has been uncooperative and so far and I can't seem to get it to even run. This is what I have so far:

HTML Code: 

Private Sub For_Loop_Click()
Set v = .Find(0, LookIn:=xlValues)
For Each v In [B6:B46]
Do
If v.Value = 0 Then v.Interior.ColorIndext = 3
Set c = .FindNext(c)

End If
End With
End Sub

View 2 Replies View Related

Format Color Of Certain Cell If Two Values Match?

Nov 18, 2013

I'm trying to format the color of a certain cell, if two values match.

A1=100
B1="Choose"

I want to format B1 to color RED, if A1=any number, and B1="Choose".

B1 contains list-data where you can chose from different values.

So if A1 contains a value, and B1 has not been set a different value than "Choose", format B1 to RED. Which would indicate that you have to set a value for the rest of the worksheet to work.

View 5 Replies View Related

Color Matched Values Excel Formula

Sep 14, 2009

This may be out of the realm, but is there a way I can have a cell(s) with text in it change to another color?

To be a little clearer. Cell H3 (but i have a small formula in cell h3) has 9 and cell A4 has the same value (9) (or number or value etc..)

i would to color red for H3 if it find matches in range A4:F4
like this:

View 9 Replies View Related

Formatting Cell To Fill Color Based On 2 Of 3 Values?

Jul 23, 2013

I'm trying to discover the best way to accomplish formatting a cell by filling it a certain color based on 2 of 3 criteria of other cells.

Column A has the title of the field. Cells B1:D1 have one of 3 values: Nothing/blank, Complete, or x. If all of the x's are gone within the range of B1:D1, I'd like to automatically format cell A1 to fill in Blue (or any color).

A1__________________B1_________________C1_____________D1
Generic Name______Complete_______________x_____________

If the 'x' in C1 is changed to the value of 'Complete', I'd like A1/Generic Name to be filled in with a color.

View 8 Replies View Related

Change Color Of Entire Row Before Or After Inserting Values On Sheet?

Nov 1, 2013

I'm Trying to change the value of a row when a determine condition happens, and I was thinking of doing it after the insert was made, but maybe it's easier before the insert (?) The thing is i've tried both, and i'm doing it wrong because it's not working

Code:
With ThisWorkbook.Worksheets("Site Configuration List")
.Range("A").EntireRow.Offset(1, 0).Insert
' Tried this .Range("A").EntireRow.Interior.Color = 49407

[Code].....

Obviously not at the same time, but no of those work. The call to the sub where the code above is implemented, is inside a loop, however, with each one of the things I've tried, when it gets to the line the program just stops. No error or anything.

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved