Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Can SUMPRODUCT be used to extract varying data in a column?

I am working with counting student data based on term status, sex, college,
degree, campus and major. I have 9 columns of data (5519 records). I have
been using SUMPRODUCT to get a count of data in each column based on the
criteria I specify. Basically all columns have the same general data as noted
below:

TmSt Sx Col Lv Deg Cls Cm Prg Maj
FT M GN GN PHD G2 N BEN2_PHD BEN2
FT S GN GN PHD G2 N NEU2_PHD NEU2

My problem arises because the column labeled "Maj" has differing data based
on the program a student is pursuing. Is there a way this can be accomplished?

Thanking you in advance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 296
Default Can SUMPRODUCT be used to extract varying data in a column?

It's not quite clear what it is you're trying to count in the Maj
column.

Your example below suggests that it's essentially the same as the Prg
column but with just the first 4 characters.

What do you mean by differing data, and could you give an example of
the formula and the result you expect?

Rgds


On Fri, 25 Aug 2006 07:25:02 -0700, Jakki
wrote:

I am working with counting student data based on term status, sex, college,
degree, campus and major. I have 9 columns of data (5519 records). I have
been using SUMPRODUCT to get a count of data in each column based on the
criteria I specify. Basically all columns have the same general data as noted
below:

TmSt Sx Col Lv Deg Cls Cm Prg Maj
FT M GN GN PHD G2 N BEN2_PHD BEN2
FT S GN GN PHD G2 N NEU2_PHD NEU2

My problem arises because the column labeled "Maj" has differing data based
on the program a student is pursuing. Is there a way this can be accomplished?

Thanking you in advance.


__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Can SUMPRODUCT be used to extract varying data in a column?

This is the formula I have used thusfar:

=SUMPRODUCT(($A$206:$A$5723="FT")*($B$206:$B$5723= "M")*($C$206:$C$5723="GN")*($D$206:$D$5723="GN")*( $E$206:$E$5723="PHD")*($G$206:$G$5723="N")-(I206:I5723="BEN2"))

Column I must also subtract "NEU2" to arrive a final total of 59. If I
subtract I206:I5723="NEU2" I receive an error message (#VALUE).

I appreciate your help.

"Richard Buttrey" wrote:

It's not quite clear what it is you're trying to count in the Maj
column.

Your example below suggests that it's essentially the same as the Prg
column but with just the first 4 characters.

What do you mean by differing data, and could you give an example of
the formula and the result you expect?

Rgds


On Fri, 25 Aug 2006 07:25:02 -0700, Jakki
wrote:

I am working with counting student data based on term status, sex, college,
degree, campus and major. I have 9 columns of data (5519 records). I have
been using SUMPRODUCT to get a count of data in each column based on the
criteria I specify. Basically all columns have the same general data as noted
below:

TmSt Sx Col Lv Deg Cls Cm Prg Maj
FT M GN GN PHD G2 N BEN2_PHD BEN2
FT S GN GN PHD G2 N NEU2_PHD NEU2

My problem arises because the column labeled "Maj" has differing data based
on the program a student is pursuing. Is there a way this can be accomplished?

Thanking you in advance.


__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Can SUMPRODUCT be used to extract varying data in a column?

Subtract COUNT(I206:I5723,"NEU2")

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Jakki" wrote in message
...
This is the formula I have used thusfar:


=SUMPRODUCT(($A$206:$A$5723="FT")*($B$206:$B$5723= "M")*($C$206:$C$5723="GN")
*($D$206:$D$5723="GN")*($E$206:$E$5723="PHD")*($G$ 206:$G$5723="N")-(I206:I57
23="BEN2"))

Column I must also subtract "NEU2" to arrive a final total of 59. If I
subtract I206:I5723="NEU2" I receive an error message (#VALUE).

I appreciate your help.

"Richard Buttrey" wrote:

It's not quite clear what it is you're trying to count in the Maj
column.

Your example below suggests that it's essentially the same as the Prg
column but with just the first 4 characters.

What do you mean by differing data, and could you give an example of
the formula and the result you expect?

Rgds


On Fri, 25 Aug 2006 07:25:02 -0700, Jakki
wrote:

I am working with counting student data based on term status, sex,

college,
degree, campus and major. I have 9 columns of data (5519 records). I

have
been using SUMPRODUCT to get a count of data in each column based on

the
criteria I specify. Basically all columns have the same general data as

noted
below:

TmSt Sx Col Lv Deg Cls Cm Prg

Maj
FT M GN GN PHD G2 N BEN2_PHD BEN2
FT S GN GN PHD G2 N NEU2_PHD NEU2

My problem arises because the column labeled "Maj" has differing data

based
on the program a student is pursuing. Is there a way this can be

accomplished?

Thanking you in advance.


__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Can SUMPRODUCT be used to extract varying data in a column?

Can't you just do the count based upon the columns other than Maj?

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Jakki" wrote in message
...
I am working with counting student data based on term status, sex,

college,
degree, campus and major. I have 9 columns of data (5519 records). I have
been using SUMPRODUCT to get a count of data in each column based on the
criteria I specify. Basically all columns have the same general data as

noted
below:

TmSt Sx Col Lv Deg Cls Cm Prg Maj
FT M GN GN PHD G2 N BEN2_PHD BEN2
FT S GN GN PHD G2 N NEU2_PHD NEU2

My problem arises because the column labeled "Maj" has differing data

based
on the program a student is pursuing. Is there a way this can be

accomplished?

Thanking you in advance.





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Can SUMPRODUCT be used to extract varying data in a column?

I wish it was that simple. There will be other rows of information that will
use the same formula(s) but the major will change. I tried your suggestion of
subtracting the other data element but it still will not give me the total of
59. The formula has not subtracted the 2 "NEU2" records.

Thanks for all your help.

"Bob Phillips" wrote:

Can't you just do the count based upon the columns other than Maj?

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Jakki" wrote in message
...
I am working with counting student data based on term status, sex,

college,
degree, campus and major. I have 9 columns of data (5519 records). I have
been using SUMPRODUCT to get a count of data in each column based on the
criteria I specify. Basically all columns have the same general data as

noted
below:

TmSt Sx Col Lv Deg Cls Cm Prg Maj
FT M GN GN PHD G2 N BEN2_PHD BEN2
FT S GN GN PHD G2 N NEU2_PHD NEU2

My problem arises because the column labeled "Maj" has differing data

based
on the program a student is pursuing. Is there a way this can be

accomplished?

Thanking you in advance.




  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Can SUMPRODUCT be used to extract varying data in a column?

I think Bob meant to say (in posting no 4):

Subtract COUNTIF(I206:I5723,"NEU2")

Hope this helps.

Pete

Jakki wrote:
I wish it was that simple. There will be other rows of information that will
use the same formula(s) but the major will change. I tried your suggestion of
subtracting the other data element but it still will not give me the total of
59. The formula has not subtracted the 2 "NEU2" records.

Thanks for all your help.

"Bob Phillips" wrote:

Can't you just do the count based upon the columns other than Maj?

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Jakki" wrote in message
...
I am working with counting student data based on term status, sex,

college,
degree, campus and major. I have 9 columns of data (5519 records). I have
been using SUMPRODUCT to get a count of data in each column based on the
criteria I specify. Basically all columns have the same general data as

noted
below:

TmSt Sx Col Lv Deg Cls Cm Prg Maj
FT M GN GN PHD G2 N BEN2_PHD BEN2
FT S GN GN PHD G2 N NEU2_PHD NEU2

My problem arises because the column labeled "Maj" has differing data

based
on the program a student is pursuing. Is there a way this can be

accomplished?

Thanking you in advance.





  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Can SUMPRODUCT be used to extract varying data in a column?

Thanks Pete_UK; tried your suggestion and I received a negative answer
(-220659). I have tried COUNT, COUNTIF, and SUMPRODUCT to no avail. Perhaps I
should be using a different function or formula? The one column of
information is really causing the problem.

"Pete_UK" wrote:

I think Bob meant to say (in posting no 4):

Subtract COUNTIF(I206:I5723,"NEU2")

Hope this helps.

Pete

Jakki wrote:
I wish it was that simple. There will be other rows of information that will
use the same formula(s) but the major will change. I tried your suggestion of
subtracting the other data element but it still will not give me the total of
59. The formula has not subtracted the 2 "NEU2" records.

Thanks for all your help.

"Bob Phillips" wrote:

Can't you just do the count based upon the columns other than Maj?

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Jakki" wrote in message
...
I am working with counting student data based on term status, sex,
college,
degree, campus and major. I have 9 columns of data (5519 records). I have
been using SUMPRODUCT to get a count of data in each column based on the
criteria I specify. Basically all columns have the same general data as
noted
below:

TmSt Sx Col Lv Deg Cls Cm Prg Maj
FT M GN GN PHD G2 N BEN2_PHD BEN2
FT S GN GN PHD G2 N NEU2_PHD NEU2

My problem arises because the column labeled "Maj" has differing data
based
on the program a student is pursuing. Is there a way this can be
accomplished?

Thanking you in advance.





  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Can SUMPRODUCT be used to extract varying data in a column?

Jakki,

try putting the formula:

=COUNTIF(i206:i5723,"NEU2")

in a cell somewhere - it should return 2 if you only have 2 records, so
if you subtract this from your earlier SP formula I don't see how you
can get -220659, unless the SP formula itself is returning -220657

Pete

Jakki wrote:
Thanks Pete_UK; tried your suggestion and I received a negative answer
(-220659). I have tried COUNT, COUNTIF, and SUMPRODUCT to no avail. Perhaps I
should be using a different function or formula? The one column of
information is really causing the problem.

"Pete_UK" wrote:

I think Bob meant to say (in posting no 4):

Subtract COUNTIF(I206:I5723,"NEU2")

Hope this helps.

Pete

Jakki wrote:
I wish it was that simple. There will be other rows of information that will
use the same formula(s) but the major will change. I tried your suggestion of
subtracting the other data element but it still will not give me the total of
59. The formula has not subtracted the 2 "NEU2" records.

Thanks for all your help.

"Bob Phillips" wrote:

Can't you just do the count based upon the columns other than Maj?

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Jakki" wrote in message
...
I am working with counting student data based on term status, sex,
college,
degree, campus and major. I have 9 columns of data (5519 records). I have
been using SUMPRODUCT to get a count of data in each column based on the
criteria I specify. Basically all columns have the same general data as
noted
below:

TmSt Sx Col Lv Deg Cls Cm Prg Maj
FT M GN GN PHD G2 N BEN2_PHD BEN2
FT S GN GN PHD G2 N NEU2_PHD NEU2

My problem arises because the column labeled "Maj" has differing data
based
on the program a student is pursuing. Is there a way this can be
accomplished?

Thanking you in advance.






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
Conditional Format as a MACRO Gunjani Excel Worksheet Functions 3 March 29th 06 05:22 PM
Return SEARCHED Column Number of Numeric Label and Value Sam via OfficeKB.com Excel Worksheet Functions 23 January 30th 06 06:16 PM
extract data Column 1 starting with A1, A4, A7, A10, etc. Arlene Excel Worksheet Functions 1 September 13th 05 04:51 PM
If I have data for varying times in a column chart, how do I space tc1967uk Charts and Charting in Excel 1 February 22nd 05 06:03 PM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM


All times are GMT +1. The time now is 09:08 AM.

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"