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  

sumproduct with 4 conditions



 
 
Thread Tools Display Modes
  #1  
Old March 19th, 2010, 08:31 PM posted to microsoft.public.excel.worksheet.functions
EXCELably Challenged[_2_]
external usenet poster
 
Posts: 1
Default sumproduct with 4 conditions

i need to have a single formula that will count the number of times 4
different conditions are met. I 2 types of members, in 3 different markets.
i need to identify, the member type A, from market A, during January, that is
not duplicated.
i have the date converted to a text field in column B (labeled all january
dates as j110), market in column C, name in column E (last name space first
name) and member type in column H(indicated by an x in field if true). I am
using the following formula and it wont work. I could really use some help.
thanks.

=SUMPRODUCT(--('Total Class Attendance-Sign In'!C3:C20000="aus"),--('Total
Class Attendance-Sign In'!H3:H20000="x"),--('Total Class Attendance-Sign
In'!B3:B20000="j110"),--(('Total Class Attendance-Sign
In'!E3:E20000"")/(CountIf('Total Class Attendance-Sign In'!E3:E20000,'Total
Class Attendance-Sign In'!E3:E20000&"")))


  #2  
Old March 19th, 2010, 10:46 PM posted to microsoft.public.excel.worksheet.functions
Fred Smith[_4_]
external usenet poster
 
Posts: 2,386
Default sumproduct with 4 conditions

1. You probably want J110, not "j110"
2. You probably want to remove the &"" after E3:E20000, or explain to us
what it's for.
3. Not sure why you converted dates to text, but it will work as long as
you're comparing text to text, or date to date.

If you need more help, post back with what you mean by "won't work". Error
returned? Zero returned? Wrong value returned? etc.

Finally, my bet is your task would be a lot simpler with a Pivot Table.

Regards,
Fred

"EXCELably Challenged" wrote
in message ...
i need to have a single formula that will count the number of times 4
different conditions are met. I 2 types of members, in 3 different
markets.
i need to identify, the member type A, from market A, during January, that
is
not duplicated.
i have the date converted to a text field in column B (labeled all january
dates as j110), market in column C, name in column E (last name space
first
name) and member type in column H(indicated by an x in field if true). I
am
using the following formula and it wont work. I could really use some
help.
thanks.

=SUMPRODUCT(--('Total Class Attendance-Sign In'!C3:C20000="aus"),--('Total
Class Attendance-Sign In'!H3:H20000="x"),--('Total Class Attendance-Sign
In'!B3:B20000="j110"),--(('Total Class Attendance-Sign
In'!E3:E20000"")/(CountIf('Total Class Attendance-Sign
In'!E3:E20000,'Total
Class Attendance-Sign In'!E3:E20000&"")))



 




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 04:31 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.