Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

excel

ResolvedVersion 2016

Marco has attended:
Multiple applications course

Excel

Is it possible to create a formula to count the number of certain coloured cells in an excel document

RE: Excel

Hi Marco,

Thank you for the forum question.

Yes and No.

Yes if you know how to use VBA codes in Excel.

No using a formula.

The countif or Countifs function can count one criteria or many but unfortunately not colours.

The countif structure:

=Countif(range,Criteria)

If you want to count how many values you have greater than 200 in the Excel range A1:A200 the function should look like this:

=Countif(A1:A200,">"&200)

If you want to count how many times you have "HR" in the Excel range A1:A200 the function should look like this:

=Countif(A1:A200,"HR")

The countif can work with one criteria the Countifs with from 1 to 128 criteria.




Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

 

Training courses

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Microsoft Office tip:

Standard Ctrl Keys

Here are some standard Ctrl keys you can use in all your Office applications.
A - Select All
B - Bold Text
C - Copy
F - Find
G - GoTo
H - Replace
I - Italics
K - Insert Hyperlinks
N - New File
O - Open File
P - Print
S - Save
U - Underline
V - Paste
W - Save and Close
X - Cut
Y - Redo
Z - Undo

Other vary between applications. See additional lists.

View all Microsoft Office hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.16 secs.