Formating

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a range of cells say A1 to A5 that can have the numbers 1, 2, or 3 in
them.

In cell B1 I want to display the total number of cells in range A1:A5 that
have a 1 in
In cell C1 I want to display the total number of cells in range A1:A5 that
have a 2 in
In cell D1 I want to display the total number of cells in range A1:A5 that
have a 3 in

How do I do it ?

Thanks
 
B1: =COUNTIF(A1:A5,1)
C1: =COUNTIF(A1:A5,2)
D1: =COUNTIF(A1:A5,3)

Stephane.
 
in B1:

=COUNTIF(A1:A5,1)

in C1:

=COUNTIF(A1:A5,2)

in D1:

=COUNTIF(A1:A5,3)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Formatting mark 2 1
Real-time sorting 11
Multi-demensional frequency distribution 4
Return latest value from data range 4
Conditional Formating Question 5
if statement 2
selecting a range 2
NumberFormat 6

Back
Top