#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Sumproduct??

I was going to use sumproduct but i cant get it to work so i am thinking it
is the onrg formula

I have two columns (well more really but only 2 in each calc).

Column A will be blank or have "C" in it
Column B will have a monitary value
There are a lot of rows

I want to say

If Col A has a C then add the value in column B

So there will be multiple rows with C in and i want a total value of column
B that have the corresponding C in col A
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Sumproduct??

=SUMIF(A:A,"C",B:B)

"drizzy" wrote:

I was going to use sumproduct but i cant get it to work so i am thinking it
is the onrg formula

I have two columns (well more really but only 2 in each calc).

Column A will be blank or have "C" in it
Column B will have a monitary value
There are a lot of rows

I want to say

If Col A has a C then add the value in column B

So there will be multiple rows with C in and i want a total value of column
B that have the corresponding C in col A

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 303
Default Sumproduct??

sumif(A:A,"C",B:B)

or
=SUMPRODUCT((A1:A12="C")*(B1:B12))

can't do full columns in sumproduct


--
Greetings from New Zealand


"drizzy" wrote in message
...
I was going to use sumproduct but i cant get it to work so i am thinking it
is the onrg formula

I have two columns (well more really but only 2 in each calc).

Column A will be blank or have "C" in it
Column B will have a monitary value
There are a lot of rows

I want to say

If Col A has a C then add the value in column B

So there will be multiple rows with C in and i want a total value of
column
B that have the corresponding C in col A



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Sumproduct??

"can't do full columns in sumproduct"

The latest version XL2007, yes you can do full columns but not the early
versions


"Bill Kuunders" wrote:

sumif(A:A,"C",B:B)

or
=SUMPRODUCT((A1:A12="C")*(B1:B12))

can't do full columns in sumproduct


--
Greetings from New Zealand


"drizzy" wrote in message
...
I was going to use sumproduct but i cant get it to work so i am thinking it
is the onrg formula

I have two columns (well more really but only 2 in each calc).

Column A will be blank or have "C" in it
Column B will have a monitary value
There are a lot of rows

I want to say

If Col A has a C then add the value in column B

So there will be multiple rows with C in and i want a total value of
column
B that have the corresponding C in col A




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
Sumproduct jaybird2307 Excel Worksheet Functions 2 July 7th 06 01:13 PM
Sumproduct? cjjoo Excel Worksheet Functions 9 October 11th 05 12:31 PM
Sumproduct? imjustme Excel Discussion (Misc queries) 1 September 7th 05 03:43 AM
SUMPRODUCT Help Sam via OfficeKB.com Excel Worksheet Functions 2 August 30th 05 02:24 AM
SUMPRODUCT Help Sam via OfficeKB.com Excel Worksheet Functions 2 August 29th 05 06:38 PM


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