#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 181
Default Formula Help

I am currently using the formula
=SUMPRODUCT((MAR_06!$C$2:$C$20000=$A70)*(MAR_06!$J $2:$J$200000)*MAR_06!$J$2:$J$20000)

Where Mar_06 = month ( sperate sheet)

What I would like is a formula that looks at column "c" and sum $$ by the
different months

Thanks

ce
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default Formula Help

Something like MONTH($C$2:$C$20000=3) would return the sum of all March values.

So, try something along the lines of =SUMPRODUCT(MONTH($C$2:$C$20000=3)[rest
of formula])

Dave
--
Brevity is the soul of wit.


"Curtis" wrote:

I am currently using the formula
=SUMPRODUCT((MAR_06!$C$2:$C$20000=$A70)*(MAR_06!$J $2:$J$200000)*MAR_06!$J$2:$J$20000)

Where Mar_06 = month ( sperate sheet)

What I would like is a formula that looks at column "c" and sum $$ by the
different months

Thanks

ce

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 181
Default Formula Help

Thanks Dave

The formula now looks like this

=SUMPRODUCT(MONTH(Data!$C$2:$C$20000=2)*(Data!$C$2 :$C$20000=$A12)*(Data!$J$2:$J$200000)*Data!$J$2:$ J$20000)

However it reurns the same value for all months and iresepctive of refernece
$a12, $b12, etc...

Thanks

"Dave F" wrote:

Something like MONTH($C$2:$C$20000=3) would return the sum of all March values.

So, try something along the lines of =SUMPRODUCT(MONTH($C$2:$C$20000=3)[rest
of formula])

Dave
--
Brevity is the soul of wit.


"Curtis" wrote:

I am currently using the formula
=SUMPRODUCT((MAR_06!$C$2:$C$20000=$A70)*(MAR_06!$J $2:$J$200000)*MAR_06!$J$2:$J$20000)

Where Mar_06 = month ( sperate sheet)

What I would like is a formula that looks at column "c" and sum $$ by the
different months

Thanks

ce

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 181
Default Formula Help

Sorry Formual typo but the reults are still the same

=SUMPRODUCT(MONTH(Data!$B$2:$B$20000=3)*(Data!$C$2 :$C$20000=$A12)*(Data!$J$2:$J$200000)*Data!$J$2:$ J$20000)

"Curtis" wrote:

Thanks Dave

The formula now looks like this

=SUMPRODUCT(MONTH(Data!$C$2:$C$20000=2)*(Data!$C$2 :$C$20000=$A12)*(Data!$J$2:$J$200000)*Data!$J$2:$ J$20000)

However it reurns the same value for all months and iresepctive of refernece
$a12, $b12, etc...

Thanks

"Dave F" wrote:

Something like MONTH($C$2:$C$20000=3) would return the sum of all March values.

So, try something along the lines of =SUMPRODUCT(MONTH($C$2:$C$20000=3)[rest
of formula])

Dave
--
Brevity is the soul of wit.


"Curtis" wrote:

I am currently using the formula
=SUMPRODUCT((MAR_06!$C$2:$C$20000=$A70)*(MAR_06!$J $2:$J$200000)*MAR_06!$J$2:$J$20000)

Where Mar_06 = month ( sperate sheet)

What I would like is a formula that looks at column "c" and sum $$ by the
different months

Thanks

ce

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 195
Default Formula Help

hi Curtis,

I guess you need to rewrite the formula as:

=SUMPRODUCT((MONTH(Data!$B$2:$B$20000=3)*(Data!$C$ 2:$C$20000=$A12)*(Data!$J$2:$J$200000)*(Data!$J$2 :$J$20000)))

Just use the brackets properly.

I hope that will work for you.

Thanks,

Shail


Curtis wrote:
Sorry Formual typo but the reults are still the same

=SUMPRODUCT(MONTH(Data!$B$2:$B$20000=3)*(Data!$C$2 :$C$20000=$A12)*(Data!$J$2:$J$200000)*Data!$J$2:$ J$20000)

"Curtis" wrote:

Thanks Dave

The formula now looks like this

=SUMPRODUCT(MONTH(Data!$C$2:$C$20000=2)*(Data!$C$2 :$C$20000=$A12)*(Data!$J$2:$J$200000)*Data!$J$2:$ J$20000)

However it reurns the same value for all months and iresepctive of refernece
$a12, $b12, etc...

Thanks

"Dave F" wrote:

Something like MONTH($C$2:$C$20000=3) would return the sum of all March values.

So, try something along the lines of =SUMPRODUCT(MONTH($C$2:$C$20000=3)[rest
of formula])

Dave
--
Brevity is the soul of wit.


"Curtis" wrote:

I am currently using the formula
=SUMPRODUCT((MAR_06!$C$2:$C$20000=$A70)*(MAR_06!$J $2:$J$200000)*MAR_06!$J$2:$J$20000)

Where Mar_06 = month ( sperate sheet)

What I would like is a formula that looks at column "c" and sum $$ by the
different months

Thanks

ce




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 181
Default Formula Help

Still does not respect the month. It produces the same value irrespectve of
whether
SUMPRODUCT((MONTH(Data!$B$2:$B$20000=3) or
SUMPRODUCT((MONTH(Data!$B$2:$B$20000=4)

Thanks

ce

"shail" wrote:

hi Curtis,

I guess you need to rewrite the formula as:

=SUMPRODUCT((MONTH(Data!$B$2:$B$20000=3)*(Data!$C$ 2:$C$20000=$A12)*(Data!$J$2:$J$200000)*(Data!$J$2 :$J$20000)))

Just use the brackets properly.

I hope that will work for you.

Thanks,

Shail


Curtis wrote:
Sorry Formual typo but the reults are still the same

=SUMPRODUCT(MONTH(Data!$B$2:$B$20000=3)*(Data!$C$2 :$C$20000=$A12)*(Data!$J$2:$J$200000)*Data!$J$2:$ J$20000)

"Curtis" wrote:

Thanks Dave

The formula now looks like this

=SUMPRODUCT(MONTH(Data!$C$2:$C$20000=2)*(Data!$C$2 :$C$20000=$A12)*(Data!$J$2:$J$200000)*Data!$J$2:$ J$20000)

However it reurns the same value for all months and iresepctive of refernece
$a12, $b12, etc...

Thanks

"Dave F" wrote:

Something like MONTH($C$2:$C$20000=3) would return the sum of all March values.

So, try something along the lines of =SUMPRODUCT(MONTH($C$2:$C$20000=3)[rest
of formula])

Dave
--
Brevity is the soul of wit.


"Curtis" wrote:

I am currently using the formula
=SUMPRODUCT((MAR_06!$C$2:$C$20000=$A70)*(MAR_06!$J $2:$J$200000)*MAR_06!$J$2:$J$20000)

Where Mar_06 = month ( sperate sheet)

What I would like is a formula that looks at column "c" and sum $$ by the
different months

Thanks

ce



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
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Creating a check mark box MarthaSue Setting up and Configuration of Excel 18 April 28th 05 12:31 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


All times are GMT +1. The time now is 01:23 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"