#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Formatting mark 2

I have a range of cells say A1 to A5 and A6:A8 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 and
A6:A8 that
have a 1 in
In cell C1 I want to display the total number of cells in range A1:A5 and
A6:A8 that
have a 2 in
In cell D1 I want to display the total number of cells in range A1:A5 and
A6:A8 that
have a 3 in

How do I do it ?

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Formatting mark 2

=countif(a1:a8,1)

this is a contiguous range (a1:a5, a6:a8 = a1:a8)


"Andy_Trow" wrote:

I have a range of cells say A1 to A5 and A6:A8 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 and
A6:A8 that
have a 1 in
In cell C1 I want to display the total number of cells in range A1:A5 and
A6:A8 that
have a 2 in
In cell D1 I want to display the total number of cells in range A1:A5 and
A6:A8 that
have a 3 in

How do I do it ?

Thanks

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
# mark help Excel Worksheet Functions 2 May 3rd 07 08:40 PM
The mark is bugging me! LOL Wayne Knazek Excel Worksheet Functions 2 July 17th 06 07:05 PM
using conditional formatting to mark repeated names in list? Mansure Morgan Excel Discussion (Misc queries) 3 June 2nd 06 01:06 PM
Check Mark Anthony Viscomi Excel Discussion (Misc queries) 7 February 2nd 06 04:26 PM
Mark last record of a particular name jdb Excel Discussion (Misc queries) 1 December 8th 04 07:24 PM


All times are GMT +1. The time now is 02:54 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"