Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default SUMPRODUCT WITH 4 CONDITIONS NOT WORKING

My formulae below is not working, can you help?
Column H contains 'NZ' or 'SZ',
column I is in 20/5/2010 format,
column G contains 'trade' or 'fdi',
Column E is a list in rows 4 to 16 incl containing text statements.

=SUMPRODUCT(--('outputs detail'!$H$4:$H$999="NZ"),--(MONTH('outputs
detail'!$I$4:$I$999)=5),--('outputs detail'!$G$4:$G$999="trade"),--('outputs
detail'!$B$4:$B$999='outputs detail'!$E$4))
--
any help gratefully received
thanks
carrach
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default SUMPRODUCT WITH 4 CONDITIONS NOT WORKING

Column E is a list in rows 4 to 16 incl containing text statements.

Replace this:

--('outputs detail'!$B$4:$B$999='outputs detail'!$E$4)

With this:

--(ISNUMBER(MATCH('outputs detail'!$B$4:$B$999,'outputs
detail'!$E$4:$E$16,0)))

--
Biff
Microsoft Excel MVP


"Carrach" wrote in message
...
My formulae below is not working, can you help?
Column H contains 'NZ' or 'SZ',
column I is in 20/5/2010 format,
column G contains 'trade' or 'fdi',
Column E is a list in rows 4 to 16 incl containing text statements.

=SUMPRODUCT(--('outputs detail'!$H$4:$H$999="NZ"),--(MONTH('outputs
detail'!$I$4:$I$999)=5),--('outputs
detail'!$G$4:$G$999="trade"),--('outputs
detail'!$B$4:$B$999='outputs detail'!$E$4))
--
any help gratefully received
thanks
carrach



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default SUMPRODUCT WITH 4 CONDITIONS NOT WORKING

Hi Biff,
Thank you for the help, however I think I may have had something incorrect
to start with:
working on excel 2003
In the summary sheet I have :
headings, each heading is split into trade or FDI, each trade & FDI is split
into NZ or SZ, and each of those is only counted for the relevant month.
NZ SZ
Businesses assisted Trade 15 1
FDI 4 0
Total 19 1

Jobs Created Trade 1 0
FDI 15 0
Total 16 0

Each of these is in a seperate column in a different sheet but in the same
workbook
so the sum is: if sheet2 col1=business assist, and sheet2 col2=trade, and
sheet2 col3 = NZ and sheet2 col 4 month=5, then count the rows.
And: if sheet2 col1 = jobs created, and sheet2 col2=trade, and sheet2 col3 =
NZ and sheet2 col 4 month=5, then sum the values in col 6

Is that clearer??
--
any help gratefully received
thanks
carrach


"T. Valko" wrote:

Column E is a list in rows 4 to 16 incl containing text statements.


Replace this:

--('outputs detail'!$B$4:$B$999='outputs detail'!$E$4)

With this:

--(ISNUMBER(MATCH('outputs detail'!$B$4:$B$999,'outputs
detail'!$E$4:$E$16,0)))

--
Biff
Microsoft Excel MVP


"Carrach" wrote in message
...
My formulae below is not working, can you help?
Column H contains 'NZ' or 'SZ',
column I is in 20/5/2010 format,
column G contains 'trade' or 'fdi',
Column E is a list in rows 4 to 16 incl containing text statements.

=SUMPRODUCT(--('outputs detail'!$H$4:$H$999="NZ"),--(MONTH('outputs
detail'!$I$4:$I$999)=5),--('outputs
detail'!$G$4:$G$999="trade"),--('outputs
detail'!$B$4:$B$999='outputs detail'!$E$4))
--
any help gratefully received
thanks
carrach



.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default SUMPRODUCT WITH 4 CONDITIONS NOT WORKING

Is that clearer??

Well, unfortunately, no it's not.

I would need to see how your data is setup. If you can post a sample file
somewhere I'll take a look at it.

--
Biff
Microsoft Excel MVP


"Carrach" wrote in message
...
Hi Biff,
Thank you for the help, however I think I may have had something incorrect
to start with:
working on excel 2003
In the summary sheet I have :
headings, each heading is split into trade or FDI, each trade & FDI is
split
into NZ or SZ, and each of those is only counted for the relevant month.
NZ SZ
Businesses assisted Trade 15 1
FDI 4 0
Total 19 1

Jobs Created Trade 1 0
FDI 15 0
Total 16 0

Each of these is in a seperate column in a different sheet but in the same
workbook
so the sum is: if sheet2 col1=business assist, and sheet2 col2=trade, and
sheet2 col3 = NZ and sheet2 col 4 month=5, then count the rows.
And: if sheet2 col1 = jobs created, and sheet2 col2=trade, and sheet2 col3
=
NZ and sheet2 col 4 month=5, then sum the values in col 6

Is that clearer??
--
any help gratefully received
thanks
carrach


"T. Valko" wrote:

Column E is a list in rows 4 to 16 incl containing text statements.


Replace this:

--('outputs detail'!$B$4:$B$999='outputs detail'!$E$4)

With this:

--(ISNUMBER(MATCH('outputs detail'!$B$4:$B$999,'outputs
detail'!$E$4:$E$16,0)))

--
Biff
Microsoft Excel MVP


"Carrach" wrote in message
...
My formulae below is not working, can you help?
Column H contains 'NZ' or 'SZ',
column I is in 20/5/2010 format,
column G contains 'trade' or 'fdi',
Column E is a list in rows 4 to 16 incl containing text statements.

=SUMPRODUCT(--('outputs detail'!$H$4:$H$999="NZ"),--(MONTH('outputs
detail'!$I$4:$I$999)=5),--('outputs
detail'!$G$4:$G$999="trade"),--('outputs
detail'!$B$4:$B$999='outputs detail'!$E$4))
--
any help gratefully received
thanks
carrach



.



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 with 4 conditions EXCELably Challenged[_2_] Excel Worksheet Functions 1 March 19th 10 10:46 PM
Sumproduct with conditions EZ[_2_] Excel Worksheet Functions 0 December 10th 09 03:52 PM
Sumproduct with conditions JDB Excel Discussion (Misc queries) 2 March 15th 07 11:40 AM
SUMPRODUCT with conditions sahafi Excel Worksheet Functions 3 November 30th 06 10:32 PM
sumproduct three conditions Scire Excel Worksheet Functions 3 May 9th 06 06:22 PM


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