1. Count the numbers in different rows in the Excel table according to the number color and exclamation mark:
Use conditional formatting to mark the color:
Use the formula to count numbers with exclamation marks:
=COUNTIF(A:A, "&[Red]")
to count the number of red numbers with exclamation marks. 2. Count the number of red numbers in the Excel table:
Conditional formatting Mark the red numbers:
Use the formula to count red numbers:
=COUNTIF(A:A, "Red")
to count the number of red numbers. 3. Automatically sum the red font columns in the Excel table:
Use conditional formatting formulas:
=CELL("color",A1)=3
, where A1 is the cell to be automatically summed. Use VBA macro to implement automatic summation:
Alt F11
to open VBA editor. Summary:
Different row numbers are counted according to color and conditions: Use conditional formatting to mark colors, And use the COUNTIF or SUMIF function for statistics.
Counting the number of red numbers: Realize the counting of the number of red numbers through conditional formatting and the formula COUNTIF or SUMIF.
Automatically sum columns with red font: Use conditional formatting formulas or write VBA macros to automatically sum columns with red font.
The above is the detailed content of Ask an expert: I urgently need help. How can I operate based on the color of numbers and the number of rows in an EXCEL table?. For more information, please follow other related articles on the PHP Chinese website!