Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 420
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 117
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
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



.



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
Help Needed with Dynamic CountIF Steve Excel Worksheet Functions 4 April 26th 10 03:01 PM
Help needed on possible countif.. GD Excel Discussion (Misc queries) 3 April 6th 09 12:59 PM
fomula help needed on countif [email protected] Excel Discussion (Misc queries) 3 October 12th 06 01:12 PM
CountIf Function Help Needed Mark Excel Worksheet Functions 4 January 30th 06 03:37 AM
Countif help needed tamato43 Excel Discussion (Misc queries) 2 March 19th 05 11:56 PM


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

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"