PC Review


Reply
 
 
Skip
Guest
Posts: n/a
 
      8th Mar 2011
I have about 500 sales entries. Using autosort, I pull out all
Mondays
(they are scattered though out the 500)
I want then to count then number of Monday entries, but the formula
counts all and my result is 500. I know this is explained poorly.
Thanks
 
Reply With Quote
 
 
 
 
Jim Cone
Guest
Posts: n/a
 
      8th Mar 2011
Your explanation would be better if you included the formula and your Excel version.
Also, consider providing a response to those who answer your questions.
--
Jim Cone
Portland, Oregon USA
http://www.mediafire.com/PrimitiveSoftware
(free and commercial excel programs)




"Skip" <(E-Mail Removed)>
wrote in message
news:d468a3e8-65f6-4eed-8258-(E-Mail Removed)...
>I have about 500 sales entries. Using autosort, I pull out all
> Mondays
> (they are scattered though out the 500)
> I want then to count then number of Monday entries, but the formula
> counts all and my result is 500. I know this is explained poorly.
> Thanks



 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      8th Mar 2011
I believe you mean autofilter, not autosort.

Check out help on the SUBTOTAL function for working with filtered ranges.

e.g. for counting use argument of 2

=SUBTOTAL(2,range)


Gord Dibben MS Excel MVP


On Tue, 8 Mar 2011 05:28:51 -0800 (PST), Skip <(E-Mail Removed)> wrote:

>I have about 500 sales entries. Using autosort, I pull out all
>Mondays
>(they are scattered though out the 500)
>I want then to count then number of Monday entries, but the formula
>counts all and my result is 500. I know this is explained poorly.
>Thanks

 
Reply With Quote
 
David8
Guest
Posts: n/a
 
      8th Mar 2011

"Skip" <(E-Mail Removed)> wrote in message
news:d468a3e8-65f6-4eed-8258-(E-Mail Removed)...
>I have about 500 sales entries. Using autosort, I pull out all
> Mondays
> (they are scattered though out the 500)
> I want then to count then number of Monday entries, but the formula
> counts all and my result is 500. I know this is explained poorly.
> Thanks


I understand what you mean. My spreadsheet contains 40 Columns and over
8000 Rows of data.

Assuming the day is in Column B and Row 1 contains headings, use:
=COUNTIF(B2:B500,"Monday"). This counts the number of times "Monday" occurs
in a column but assumes only one transaction for that day. If you have
several transactions for a Monday (recorded in another column, say Column C)
I suggest you use =Sumif(A2:C500,"Monday",C2:C500) where:

A2:A500 defines the database under consideration;
"Monday" defines the criteria - it must be in the first column of the part
of the database under consideration;
C2:C500 defines the column to be added where the entry in Column A is
"Monday".

Note: If Column D contains the transaction value you can get the total of
sales for Mondays using =Sumif(A2500,"Monday",D2500). Refer to the help
section.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
count duplicats, display incremental count, restart count at changein value JenIT Microsoft Excel Programming 2 24th Aug 2010 09:10 PM
Count unique field1 combined with count field2, both grouped andungrouped john.mctigue@health.wa.gov.au Microsoft Access Queries 3 19th Dec 2008 03:52 AM
Count Employee Work Time - Don't Double-count Overlapping Apts. =?Utf-8?B?Sg==?= Microsoft Excel Worksheet Functions 0 27th Apr 2007 05:52 AM
how to get count(col1), count(col2), count(sol3) with only one query Mario Krsnic Microsoft Access Queries 2 27th Oct 2006 06:52 PM
Count Intervals of Filtered TEXT values in Column and Return Count across a Row Sam via OfficeKB.com Microsoft Excel Worksheet Functions 9 31st Jul 2005 03:37 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:35 PM.