#1   Report Post  
Brandy
 
Posts: n/a
Default Formula help

These are the two formulas I'm using. Do you see any
errors that pop out at you? If not, can you help me
figure out a way to make this work? Column F is gender so
the only options are M or F. Column G is ethnicity so the
only options are A,B,C,H,N,M,and O. Column T is the level
of placement, so the options are 1,2,3,4, or 5. The
formulas are intended to exclude data without these
criteria in a total count.

=SUMPRODUCT(--(F6:F232="F"),--(G6:G232="C"),--
(T6:T232="1"))

=SUMPRODUCT(--(G6:G232="C"),--(T6:T232="1"))


Column G is Ethnicity where the only options are
A,B,C,H,N,M, and O. Column A is the date of the
referral. This particular problem is that I need it to
calculate how many clients met these criteria in a
specific month.


=SUMPRODUCT(--(G6:G464="C"),--(TEXT(A6:A464,"mmm")="Oct")
*1)

=SUMPRODUCT(--(F6:F464="F"),--(G6:G464="C"),--(TEXT
(A6:A464,"mmm")="Oct")*1)
  #2   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

Brandy wrote:
These are the two formulas I'm using. Do you see any
errors that pop out at you? If not, can you help me
figure out a way to make this work? Column F is gender so
the only options are M or F. Column G is ethnicity so the
only options are A,B,C,H,N,M,and O. Column T is the level
of placement, so the options are 1,2,3,4, or 5. The
formulas are intended to exclude data without these
criteria in a total count.

=SUMPRODUCT(--(F6:F232="F"),--(G6:G232="C"),--
(T6:T232="1"))

=SUMPRODUCT(--(G6:G232="C"),--(T6:T232="1"))


Remove double quotes around 1.


Column G is Ethnicity where the only options are
A,B,C,H,N,M, and O. Column A is the date of the
referral. This particular problem is that I need it to
calculate how many clients met these criteria in a
specific month.


=SUMPRODUCT(--(G6:G464="C"),--(TEXT(A6:A464,"mmm")="Oct")
*1)

=SUMPRODUCT(--(F6:F464="F"),--(G6:G464="C"),--(TEXT
(A6:A464,"mmm")="Oct")*1)



There is no need for the *1 bit in the foregoing formulas.

You didn't specify any problem that you have regarding the latter two.
  #3   Report Post  
Brandy
 
Posts: n/a
Default

Thanks very much! The latter two were working, I just
entered the wrong data.

The first two are not working at all - and the removal of
the "" around the 1 did not change anything. Any other
ideas?


-----Original Message-----
Brandy wrote:
These are the two formulas I'm using. Do you see any
errors that pop out at you? If not, can you help me
figure out a way to make this work? Column F is gender

so
the only options are M or F. Column G is ethnicity so

the
only options are A,B,C,H,N,M,and O. Column T is the

level
of placement, so the options are 1,2,3,4, or 5. The
formulas are intended to exclude data without these
criteria in a total count.

=SUMPRODUCT(--(F6:F232="F"),--(G6:G232="C"),--
(T6:T232="1"))

=SUMPRODUCT(--(G6:G232="C"),--(T6:T232="1"))


Remove double quotes around 1.


Column G is Ethnicity where the only options are
A,B,C,H,N,M, and O. Column A is the date of the
referral. This particular problem is that I need it to
calculate how many clients met these criteria in a
specific month.


=SUMPRODUCT(--(G6:G464="C"),--(TEXT(A6:A464,"mmm")

="Oct")
*1)

=SUMPRODUCT(--(F6:F464="F"),--(G6:G464="C"),--(TEXT
(A6:A464,"mmm")="Oct")*1)



There is no need for the *1 bit in the foregoing formulas.

You didn't specify any problem that you have regarding

the latter two.
.

  #4   Report Post  
Brandy
 
Posts: n/a
Default

Duh!! Nevermind, wrong data. Everything works. Thanks
for your help!
-----Original Message-----
Brandy wrote:
These are the two formulas I'm using. Do you see any
errors that pop out at you? If not, can you help me
figure out a way to make this work? Column F is gender

so
the only options are M or F. Column G is ethnicity so

the
only options are A,B,C,H,N,M,and O. Column T is the

level
of placement, so the options are 1,2,3,4, or 5. The
formulas are intended to exclude data without these
criteria in a total count.

=SUMPRODUCT(--(F6:F232="F"),--(G6:G232="C"),--
(T6:T232="1"))

=SUMPRODUCT(--(G6:G232="C"),--(T6:T232="1"))


Remove double quotes around 1.


Column G is Ethnicity where the only options are
A,B,C,H,N,M, and O. Column A is the date of the
referral. This particular problem is that I need it to
calculate how many clients met these criteria in a
specific month.


=SUMPRODUCT(--(G6:G464="C"),--(TEXT(A6:A464,"mmm")

="Oct")
*1)

=SUMPRODUCT(--(F6:F464="F"),--(G6:G464="C"),--(TEXT
(A6:A464,"mmm")="Oct")*1)



There is no need for the *1 bit in the foregoing formulas.

You didn't specify any problem that you have regarding

the latter two.
.

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
Creating Formula using check boxes Anthony Slater Excel Discussion (Misc queries) 3 January 4th 05 03:03 PM
Converting an Excel formula to an Access query formula Adam Excel Discussion (Misc queries) 1 December 15th 04 03:38 AM
I want the results of a formula to show in cell, NOT THE FORMULA! ocbecky Excel Discussion (Misc queries) 4 December 10th 04 08:39 PM
Paste is is copying in formula, but display is wrong. Matt Excel Discussion (Misc queries) 2 December 7th 04 08:37 PM
Excel2K: Is it possible to use dynamic named ranges in custom data validation formula? Arvi Laanemets Excel Discussion (Misc queries) 0 December 2nd 04 11:29 AM


All times are GMT +1. The time now is 09:32 PM.

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

About Us

"It's about Microsoft Excel"