PC Review


Reply
Thread Tools Rate Thread

COUNTIF FORMULA ISSUES - NEED FORMULA CORRECTED

 
 
Debbi
Guest
Posts: n/a
 
      18th Nov 2009
I can not figure out what formula to use.I need to count the number of times
a certain word "Help Desk" comes up in Column G if the vlaue in Column B is
"1". I think I should use the count if statement but it does not seem to
work. Here is the formula I tried:

=COUNTIF('FP Export data'!$G$2:$G$11000,"Help Desk" & 'FP Export
data'!$B$2:$B$11000,"1")

FP Export data shows info as:

A Column B Column G Column

Lee 1 Help Desk

What I am trying to accomplish is search the B and G columns and count all
instances where Column B=1 and Column G=HelpDesk.

What did I do wrong?. I get the error "you entered too many arguments for
this function."
 
Reply With Quote
 
 
 
 
Jacob Skaria
Guest
Posts: n/a
 
      18th Nov 2009
When you have multiple criteria use SUMPRODUCT()

=SUMPRODUCT((B1:B10=1)*(G1:G10="Help Desk"))

=SUMPRODUCT((A1:A10=criteria1)*(B1:B10=criteria2))


If you are using 2007 check out help on COUNTIFS()

If this post helps click Yes
---------------
Jacob Skaria


"Debbi" wrote:

> I can not figure out what formula to use.I need to count the number of times
> a certain word "Help Desk" comes up in Column G if the vlaue in Column B is
> "1". I think I should use the count if statement but it does not seem to
> work. Here is the formula I tried:
>
> =COUNTIF('FP Export data'!$G$2:$G$11000,"Help Desk" & 'FP Export
> data'!$B$2:$B$11000,"1")
>
> FP Export data shows info as:
>
> A Column B Column G Column
>
> Lee 1 Help Desk
>
> What I am trying to accomplish is search the B and G columns and count all
> instances where Column B=1 and Column G=HelpDesk.
>
> What did I do wrong?. I get the error "you entered too many arguments for
> this function."

 
Reply With Quote
 
T. Valko
Guest
Posts: n/a
 
      18th Nov 2009
Try this (all on one line)...

=SUMPRODUCT(--('FP Export data'!$G$2:$G$11000="Help Desk"),
--('FP Export data'!$B$2:$B$11000=1))

Better to use cells to hold the criteria...

I2 = Help Desk
J2 = 1

=SUMPRODUCT(--('FP Export data'!$G$2:$G$11000=I2),
--('FP Export data'!$B$2:$B$11000=J2))

--
Biff
Microsoft Excel MVP


"Debbi" <(E-Mail Removed)> wrote in message
news:5101D8D2-70FB-4A2B-8D12-(E-Mail Removed)...
>I can not figure out what formula to use.I need to count the number of
>times
> a certain word "Help Desk" comes up in Column G if the vlaue in Column B
> is
> "1". I think I should use the count if statement but it does not seem to
> work. Here is the formula I tried:
>
> =COUNTIF('FP Export data'!$G$2:$G$11000,"Help Desk" & 'FP Export
> data'!$B$2:$B$11000,"1")
>
> FP Export data shows info as:
>
> A Column B Column G Column
>
> Lee 1 Help Desk
>
> What I am trying to accomplish is search the B and G columns and count all
> instances where Column B=1 and Column G=HelpDesk.
>
> What did I do wrong?. I get the error "you entered too many arguments for
> this function."



 
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
CountIf formula Verne Microsoft Excel Misc 4 8th Nov 2009 11:09 PM
Countif formula bel23 Microsoft Excel Misc 2 17th Sep 2009 08:13 PM
i corrected a formula, need go back to worksheet elie harb Microsoft Excel New Users 1 16th Mar 2009 10:57 PM
CountIf formula results in the formula itself being displayed. =?Utf-8?B?TmV3S2lk?= Microsoft Excel Worksheet Functions 9 21st Dec 2005 11:10 PM
Array formula reference (Corrected) JAK Microsoft Excel Misc 3 22nd Feb 2005 03:38 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:00 PM.