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  

multifunction formula



 
 
Thread Tools Display Modes
  #1  
Old August 20th, 2008, 05:13 PM posted to microsoft.public.excel.worksheet.functions
Bobbie
external usenet poster
 
Posts: 23
Default multifunction formula

I am trying to do a formula that would give me a count for multiple factors
A B
Loacation name Event type

looking for a count if location= specific name and Event type=specific
This is what I have, but is not working. What am I missing. Help....

=COUNT(IF('2008 Events'!C2:C220=Sheet2!A7,IF('2008
Events'!F2:F220=Sheet2!C1,0),0))
--
Thanks, Bobbie
  #2  
Old August 20th, 2008, 05:25 PM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
Default multifunction formula

Try this:

=SUMPRODUCT(--('2008 Events'!C2:C220=Sheet2!A7),--('2008
Events'!F2:F220=Sheet2!C1))


--
Biff
Microsoft Excel MVP


"Bobbie" wrote in message
news
I am trying to do a formula that would give me a count for multiple factors
A B
Loacation name Event type

looking for a count if location= specific name and Event type=specific
This is what I have, but is not working. What am I missing. Help....

=COUNT(IF('2008 Events'!C2:C220=Sheet2!A7,IF('2008
Events'!F2:F220=Sheet2!C1,0),0))
--
Thanks, Bobbie



 




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 01:29 PM.


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