COUNTIF color = red?

Lisa928

Board Regular
Joined
Jun 13, 2002
Messages
173
I want to use a sumif and/or countif function in a spreadsheet, but I want it to associate with the color of the text. For example, countif text is red (not ="red" but red in color). I know I can do this with code in VBA, but looking to keep it simple for another user. Can excel differentiate between text color in functions?

Thanks in advance!
 
Hello,

This behavior occurs under one of the following conditions:

* You insert a list and then use the column headings in natural language formulas in a calculated column.
-or-
* You convert a list column that contains natural language formulas to a calculated column.

To work around this issue, create names for the list columns :

1. Click the column heading and drag the pointer to select all the cells in the column, including the cell in the new row at the bottom of the list.

You can do this for more than one column at a time.
2. On the Insert menu, point to Name, and then click Create.
3. In the Create Names dialog box, click to select Top row, and then click OK.

This assigns the column headings as names for the list column, including cells in the new row. As the list expands, the Name definition is updated to include the new rows. These names can be used in formulas in a calculated column.

Is
 
Upvote 0

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

Forum statistics

Threads
1,215,421
Messages
6,124,806
Members
449,191
Latest member
rscraig11

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top