PC Review


Reply
Thread Tools Rate Thread

Count a specific month in a column

 
 
Elaine
Guest
Posts: n/a
 
      1st Jul 2008
Help,

Been working on this spreadsheet and it is starting to drive me Mad, I am
trying to count a column which it contains text and numbers, I am trying to
count every cell that contains the month July with no success.

I have tried wild cards and a pivot table, this give me a total of 6 when
there is only 4.

What am I doing wrong - please help
--
Thanks for your support
Elaine
 
Reply With Quote
 
 
 
 
Mike
Guest
Posts: n/a
 
      1st Jul 2008
Maybe something like this
=COUNTIF(A1:A5,"july")

"Elaine" wrote:

> Help,
>
> Been working on this spreadsheet and it is starting to drive me Mad, I am
> trying to count a column which it contains text and numbers, I am trying to
> count every cell that contains the month July with no success.
>
> I have tried wild cards and a pivot table, this give me a total of 6 when
> there is only 4.
>
> What am I doing wrong - please help
> --
> Thanks for your support
> Elaine

 
Reply With Quote
 
Elaine
Guest
Posts: n/a
 
      1st Jul 2008
Hi Mike

I have tried that it appears as zero, so I tried it with as a wildcard and
no no luck still appears as zero

All the column has is this:

17/07/2008
15/07/2008
18/02/1900
18/02/1900
07/07/2008
18/02/1900
04/07/2008

Trying to pull out the number of July Performance reviews

--
Thanks for your support
Elaine


"Mike" wrote:

> Maybe something like this
> =COUNTIF(A1:A5,"july")
>
> "Elaine" wrote:
>
> > Help,
> >
> > Been working on this spreadsheet and it is starting to drive me Mad, I am
> > trying to count a column which it contains text and numbers, I am trying to
> > count every cell that contains the month July with no success.
> >
> > I have tried wild cards and a pivot table, this give me a total of 6 when
> > there is only 4.
> >
> > What am I doing wrong - please help
> > --
> > Thanks for your support
> > Elaine

 
Reply With Quote
 
Pete_UK
Guest
Posts: n/a
 
      1st Jul 2008
Try this:

=SUMPRODUCT((MONTH(A1:A7)=7)*(YEAR(A1:A7)=2008))

Hope this helps.

Pete

On Jul 1, 1:30*am, Elaine <Ela...@discussions.microsoft.com> wrote:
> Hi Mike
>
> I have tried that it appears as zero, so I tried it with as a wildcard and
> no no luck still appears as zero
>
> All the column has is this:
>
> 17/07/2008
> 15/07/2008
> 18/02/1900
> 18/02/1900
> 07/07/2008
> 18/02/1900
> 04/07/2008
>
> Trying to pull out the number of July Performance reviews
>
> --
> Thanks for your support
> Elaine
>
>
>
> "Mike" wrote:
> > Maybe something like this
> > =COUNTIF(A1:A5,"july")

>
> > "Elaine" wrote:

>
> > > Help,

>
> > > Been working on this spreadsheet and it is starting to drive me Mad, Iam
> > > trying to count a column which it contains text and numbers, I am trying to
> > > count every cell that contains the month July with no success.

>
> > > I have tried wild cards and a pivot table, this give me a total of 6 when
> > > there is only 4.

>
> > > What am I doing wrong - please help
> > > --
> > > Thanks for your support
> > > Elaine- Hide quoted text -

>
> - Show quoted text -


 
Reply With Quote
 
Elaine
Guest
Posts: n/a
 
      1st Jul 2008
Got it to work by using =SUMPRODUCT(--(TEXT(C12:C18,"mmm")="Jul"))
--
Thanks for your support
Elaine


"Mike" wrote:

> Maybe something like this
> =COUNTIF(A1:A5,"july")
>
> "Elaine" wrote:
>
> > Help,
> >
> > Been working on this spreadsheet and it is starting to drive me Mad, I am
> > trying to count a column which it contains text and numbers, I am trying to
> > count every cell that contains the month July with no success.
> >
> > I have tried wild cards and a pivot table, this give me a total of 6 when
> > there is only 4.
> >
> > What am I doing wrong - please help
> > --
> > Thanks for your support
> > Elaine

 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      1st Jul 2008
or...
=SUMPRODUCT(--(month(C12:C18)=7))

or for a given year:
=SUMPRODUCT(--(TEXT(C12:C18,"yyyymm")="200807"))





Elaine wrote:
>
> Got it to work by using =SUMPRODUCT(--(TEXT(C12:C18,"mmm")="Jul"))
> --
> Thanks for your support
> Elaine
>
> "Mike" wrote:
>
> > Maybe something like this
> > =COUNTIF(A1:A5,"july")
> >
> > "Elaine" wrote:
> >
> > > Help,
> > >
> > > Been working on this spreadsheet and it is starting to drive me Mad, I am
> > > trying to count a column which it contains text and numbers, I am trying to
> > > count every cell that contains the month July with no success.
> > >
> > > I have tried wild cards and a pivot table, this give me a total of 6 when
> > > there is only 4.
> > >
> > > What am I doing wrong - please help
> > > --
> > > Thanks for your support
> > > Elaine


--

Dave Peterson
 
Reply With Quote
 
Elaine
Guest
Posts: n/a
 
      1st Jul 2008
Thanks
Pete got it before I got your message, have now added the year on, working
perfectly now
--
Thanks for your support
Elaine


"Pete_UK" wrote:

> Try this:
>
> =SUMPRODUCT((MONTH(A1:A7)=7)*(YEAR(A1:A7)=2008))
>
> Hope this helps.
>
> Pete
>
> On Jul 1, 1:30 am, Elaine <Ela...@discussions.microsoft.com> wrote:
> > Hi Mike
> >
> > I have tried that it appears as zero, so I tried it with as a wildcard and
> > no no luck still appears as zero
> >
> > All the column has is this:
> >
> > 17/07/2008
> > 15/07/2008
> > 18/02/1900
> > 18/02/1900
> > 07/07/2008
> > 18/02/1900
> > 04/07/2008
> >
> > Trying to pull out the number of July Performance reviews
> >
> > --
> > Thanks for your support
> > Elaine
> >
> >
> >
> > "Mike" wrote:
> > > Maybe something like this
> > > =COUNTIF(A1:A5,"july")

> >
> > > "Elaine" wrote:

> >
> > > > Help,

> >
> > > > Been working on this spreadsheet and it is starting to drive me Mad, I am
> > > > trying to count a column which it contains text and numbers, I am trying to
> > > > count every cell that contains the month July with no success.

> >
> > > > I have tried wild cards and a pivot table, this give me a total of 6 when
> > > > there is only 4.

> >
> > > > What am I doing wrong - please help
> > > > --
> > > > Thanks for your support
> > > > Elaine- Hide quoted text -

> >
> > - Show quoted text -

>
>

 
Reply With Quote
 
Pete_UK
Guest
Posts: n/a
 
      1st Jul 2008
You're welcome, Elaine - thanks for feeding back.

Pete

On Jul 1, 1:55*am, Elaine <Ela...@discussions.microsoft.com> wrote:
> Thanks
> Pete got it before I got your message, have now added the year on, working
> perfectly now
> --
> Thanks for your support
> Elaine
>
>

 
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 mails for specific given month MSExchange2003Student Microsoft Outlook Discussion 0 16th Apr 2007 04:36 PM
Re: Formula to count month-specific items Lori Microsoft Excel Misc 0 4th Jan 2007 01:45 PM
RE: HELP HELP - COUNT IF A SPECIFIC MONTH =?Utf-8?B?TWFyayBE?= Microsoft Excel Worksheet Functions 2 13th Nov 2003 02:16 PM
Re: HELP HELP - COUNT IF A SPECIFIC MONTH Don Guillett Microsoft Excel Worksheet Functions 0 12th Nov 2003 05:06 PM
Re: HELP HELP - COUNT IF A SPECIFIC MONTH Jason Morin Microsoft Excel Worksheet Functions 0 12th Nov 2003 04:51 PM


Features
 

Advertising
 

Newsgroups
 


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