A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Countif help needed



 
 
Thread Tools Display Modes
  #1  
Old May 11th, 2010, 03:11 PM posted to microsoft.public.excel.worksheet.functions
Jessica Krall
external usenet poster
 
Posts: 1
Default Countif help needed

I am trying to use a countif statement for column A to count the number of
times a District is "CAR" PLUS those CAR listings where column N (DAYS) is
499. I've tried =COUNTIF(A:A="CAR")+(N:N="499") and

=SUM((District="CAR")*(Days499)) as an array, but neither works...help
please!!

Jess
  #2  
Old May 11th, 2010, 03:17 PM posted to microsoft.public.excel.worksheet.functions
Bernie Deitrick
external usenet poster
 
Posts: 2,496
Default Countif help needed

Jessica,

Close:

=SUMPRODUCT((District="CAR")*(Days499))


HTH,
Bernie
MS Excel MVP


"Jessica Krall" Jessica wrote in message
...
I am trying to use a countif statement for column A to count the number of
times a District is "CAR" PLUS those CAR listings where column N (DAYS) is
499. I've tried =COUNTIF(A:A="CAR")+(N:N="499") and

=SUM((District="CAR")*(Days499)) as an array, but neither works...help
please!!

Jess



  #3  
Old May 11th, 2010, 03:19 PM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
Default Countif help needed

Try something like this...

=SUMPRODUCT(--(A1:A10="car"),--(N1:N10499))

Note that with SUMPRODUCT you *can't* use entire columns as range references
unless you're using Excel 2007.

--
Biff
Microsoft Excel MVP


"Jessica Krall" Jessica wrote in message
...
I am trying to use a countif statement for column A to count the number of
times a District is "CAR" PLUS those CAR listings where column N (DAYS) is
499. I've tried =COUNTIF(A:A="CAR")+(N:N="499") and

=SUM((District="CAR")*(Days499)) as an array, but neither works...help
please!!

Jess



  #4  
Old May 11th, 2010, 03:29 PM posted to microsoft.public.excel.worksheet.functions
Dave Peterson[_2_]
external usenet poster
 
Posts: 69
Default Countif help needed

And if you're using xl2007, take a look at =countifs() in Excel's help.

And if District and Days are names of entirecolumns, then Biff explained why it
failed in xl2003 (and below).



Jessica Krall wrote:

I am trying to use a countif statement for column A to count the number of
times a District is "CAR" PLUS those CAR listings where column N (DAYS) is

499. I've tried =COUNTIF(A:A="CAR")+(N:N="499") and


=SUM((District="CAR")*(Days499)) as an array, but neither works...help
please!!

Jess


--

Dave Peterson
  #5  
Old May 11th, 2010, 03:51 PM posted to microsoft.public.excel.worksheet.functions
RonaldoOneNil
external usenet poster
 
Posts: 345
Default Countif help needed

Use this and adjust the range accordingly

=SUMPRODUCT((A1:A1000="CAR")*(N1:N1000499))

"Jessica Krall" wrote:

I am trying to use a countif statement for column A to count the number of
times a District is "CAR" PLUS those CAR listings where column N (DAYS) is
499. I've tried =COUNTIF(A:A="CAR")+(N:N="499") and

=SUM((District="CAR")*(Days499)) as an array, but neither works...help
please!!

Jess

  #6  
Old May 11th, 2010, 04:12 PM posted to microsoft.public.excel.worksheet.functions
Jessica Krall[_2_]
external usenet poster
 
Posts: 1
Default Countif help needed

Thank you so much...enjoy your day!
Jess
--
--------
Jessica Krall
Virginia USA


"T. Valko" wrote:

Try something like this...

=SUMPRODUCT(--(A1:A10="car"),--(N1:N10499))

Note that with SUMPRODUCT you *can't* use entire columns as range references
unless you're using Excel 2007.

--
Biff
Microsoft Excel MVP


"Jessica Krall" Jessica wrote in message
...
I am trying to use a countif statement for column A to count the number of
times a District is "CAR" PLUS those CAR listings where column N (DAYS) is
499. I've tried =COUNTIF(A:A="CAR")+(N:N="499") and

=SUM((District="CAR")*(Days499)) as an array, but neither works...help
please!!

Jess



.

  #7  
Old May 11th, 2010, 06:47 PM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
Default Countif help needed

You're welcome!

--
Biff
Microsoft Excel MVP


"Jessica Krall" wrote in message
...
Thank you so much...enjoy your day!
Jess
--
--------
Jessica Krall
Virginia USA


"T. Valko" wrote:

Try something like this...

=SUMPRODUCT(--(A1:A10="car"),--(N1:N10499))

Note that with SUMPRODUCT you *can't* use entire columns as range
references
unless you're using Excel 2007.

--
Biff
Microsoft Excel MVP


"Jessica Krall" Jessica wrote in
message
...
I am trying to use a countif statement for column A to count the number
of
times a District is "CAR" PLUS those CAR listings where column N (DAYS)
is
499. I've tried =COUNTIF(A:A="CAR")+(N:N="499") and
=SUM((District="CAR")*(Days499)) as an array, but neither works...help
please!!

Jess



.



 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:03 AM.


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