#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 173
Default Total of cells

How can i count the total of cells if they match a certain criteria?

Eg

A B
1 T1 MON

So i can total all the number of times this occurs in the rows?

Many Thanks

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 151
Default Total of cells

Hi Neil,

If you are trying to count how many times Monday appears in a list for
example, use 'countif'. If you follow the formula bar or

=countif(A1:A45,b1)

A1 : A45 are the rows you are counting if Monday appears
B1 has 'Monday' in it

Hope this helps

Amanda



"Neil" wrote:

How can i count the total of cells if they match a certain criteria?

Eg

A B
1 T1 MON

So i can total all the number of times this occurs in the rows?

Many Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,311
Default Total of cells

I'm assuming you're trying to match two criteria. For this you'll need to
use SUMPRODUCT. Your column ranges can't be refereced as "A:A". You must
specify a row range. (ex. - A1:A10.)

=SUMPRODUCT(--(A1:A10="T1"),--(B1:B10="MON"))

HTH,
Paul



"Neil" wrote in message
...
How can i count the total of cells if they match a certain criteria?

Eg

A B
1 T1 MON

So i can total all the number of times this occurs in the rows?

Many 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
The total of a couple cells and only include one of the cells if Jennifer Excel Discussion (Misc queries) 3 April 18th 07 07:43 AM
Grand total time between two total cells Gwynn Excel Discussion (Misc queries) 4 May 9th 06 09:00 PM
In several cells I have =?+423.55 I want total w/o the 423.55. lheck77 Excel Worksheet Functions 2 January 2nd 06 09:22 PM
SUMIF - Can I total the value of cells if three other cells = set mg_sv_r Excel Worksheet Functions 3 December 7th 05 04:51 PM
add 2 cells w/ 2 dec each, total=whole # except if answers is 2.9. SusanN Excel Discussion (Misc queries) 7 March 29th 05 09:47 PM


All times are GMT +1. The time now is 02:51 AM.

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

About Us

"It's about Microsoft Excel"