Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default SUMIF with two conditions

Hi, experts

I need to sum a column with values if two conditions are met in two
other columns. Let me explain the case with an example:
I have a list of projects (each project belongs to a business area and
a region). I have the projects in column A, the business area in
column B, the region in column C and the value of the project in
column D.

I need to know e.g. What is the value of the projects in a particular
business area in a particular region.

Thanks for your help

Javi
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default SUMIF with two conditions

Put the business area you want to find out about in E1, the region in
F1, and this formula in G1:

=SUMPRODUCT((B1:B1000=E1)*(C1:C1000=F1)*(D1:D1000) )

Adjust the ranges to suit, but you can't use complete columns (except
in XL2007).

Hope this helps.

Pete

On Jan 25, 11:01*am, wrote:
Hi, experts

I need to sum a column with values if two conditions are met in two
other columns. Let me explain the case with an example:
I have a list of projects (each project belongs to a business area and
a region). I have the projects in column A, the business area in
column B, the region in column C and the value of the project in
column D.

I need to know e.g. What is the value of the projects in a particular
business area in a particular region.

Thanks for your help

Javi


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default SUMIF with two conditions

On Jan 25, 12:06 pm, Pete_UK wrote:
Put the business area you want to find out about in E1, the region in
F1, and this formula in G1:

=SUMPRODUCT((B1:B1000=E1)*(C1:C1000=F1)*(D1:D1000) )

Adjust the ranges to suit, but you can't use complete columns (except
in XL2007).

Hope this helps.

Pete

On Jan 25, 11:01 am, wrote:

Hi, experts


I need to sum a column with values if two conditions are met in two
other columns. Let me explain the case with an example:
I have a list of projects (each project belongs to a business area and
a region). I have the projects in column A, the business area in
column B, the region in column C and the value of the project in
column D.


I need to know e.g. What is the value of the projects in a particular
business area in a particular region.


Thanks for your help


Javi


It doesn´t work. Any idea why?
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default SUMIF with two conditions

In what way does it not work? Do you get error messages? Do you get
incorrect values compared to what you would expect? Do you get zero?
Is all your data consistent (i.e. no leading or trailing spaces in the
text)?

Pete

On Jan 25, 11:22*am, wrote:
On Jan 25, 12:06 pm, Pete_UK wrote:





Put the business area you want to find out about in E1, the region in
F1, and this formula in G1:


=SUMPRODUCT((B1:B1000=E1)*(C1:C1000=F1)*(D1:D1000) )


Adjust the ranges to suit, but you can't use complete columns (except
in XL2007).


Hope this helps.


Pete


On Jan 25, 11:01 am, wrote:


Hi, experts


I need to sum a column with values if two conditions are met in two
other columns. Let me explain the case with an example:
I have a list of projects (each project belongs to a business area and
a region). I have the projects in column A, the business area in
column B, the region in column C and the value of the project in
column D.


I need to know e.g. What is the value of the projects in a particular
business area in a particular region.


Thanks for your help


Javi


It doesn´t work. Any idea why?- Hide quoted text -

- Show quoted text -


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default SUMIF with two conditions

On Jan 25, 12:39 pm, Pete_UK wrote:
In what way does it not work? Do you get error messages? Do you get
incorrect values compared to what you would expect? Do you get zero?
Is all your data consistent (i.e. no leading or trailing spaces in the
text)?

Pete

On Jan 25, 11:22 am, wrote:

On Jan 25, 12:06 pm, Pete_UK wrote:


Put the business area you want to find out about in E1, the region in
F1, and this formula in G1:


=SUMPRODUCT((B1:B1000=E1)*(C1:C1000=F1)*(D1:D1000) )


Adjust the ranges to suit, but you can't use complete columns (except
in XL2007).


Hope this helps.


Pete


On Jan 25, 11:01 am, wrote:


Hi, experts


I need to sum a column with values if two conditions are met in two
other columns. Let me explain the case with an example:
I have a list of projects (each project belongs to a business area and
a region). I have the projects in column A, the business area in
column B, the region in column C and the value of the project in
column D.


I need to know e.g. What is the value of the projects in a particular
business area in a particular region.


Thanks for your help


Javi


It doesn´t work. Any idea why?- Hide quoted text -


- Show quoted text -

Now it works! Thanks! I have changed the ranges as I tried with
complete columns in the first place.


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default SUMIF with two conditions

Which I told you not to do ...

Glad to hear it's working now.

Pete

On Jan 25, 11:48*am, wrote:
Now it works! Thanks! I have changed the ranges as I tried with
complete columns in the first place.

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 510
Default SUMIF with two conditions

Hi

Basic rules for SUMPRODUCT

All compared ranges must be of same dimension (number of rows).
No full-column references like B:B etc. are allowed
All data in copared column and in conditon field must be in comparable
format. I.e. when in example here in E1 is text entry, in all cells in
C1:B1000 must data be in text format too.

NB! Simple formatting does leave real format for earliy entered values
unchanged. This may be a source for various errors.


--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )


wrote in message
...
On Jan 25, 12:06 pm, Pete_UK wrote:
Put the business area you want to find out about in E1, the region in
F1, and this formula in G1:

=SUMPRODUCT((B1:B1000=E1)*(C1:C1000=F1)*(D1:D1000) )

Adjust the ranges to suit, but you can't use complete columns (except
in XL2007).

Hope this helps.

Pete

On Jan 25, 11:01 am, wrote:

Hi, experts


I need to sum a column with values if two conditions are met in two
other columns. Let me explain the case with an example:
I have a list of projects (each project belongs to a business area and
a region). I have the projects in column A, the business area in
column B, the region in column C and the value of the project in
column D.


I need to know e.g. What is the value of the projects in a particular
business area in a particular region.


Thanks for your help


Javi


It doesn´t work. Any idea why?


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
Sumif with n conditions Teethless mama Excel Worksheet Functions 0 March 28th 07 12:12 AM
SUMIF with several, 10, conditions AZ Excel Discussion (Misc queries) 4 August 12th 06 12:53 AM
sumif more conditions Pierre via OfficeKB.com Excel Worksheet Functions 6 January 2nd 06 10:49 PM
SUMIF with two conditions? Lee Harris Excel Worksheet Functions 7 November 20th 05 10:47 AM
SUMIF with 2 conditions Simon Excel Worksheet Functions 4 August 26th 05 01:04 PM


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