#1   Report Post  
Steved
 
Posts: n/a
Default Sumproduct

Hello from Steved

{=SUMPRODUCT(--('Depots by Bus Type'!$A$3:$A$30="B"),--('Depots by Bus
Type'!$I33="Roskill"),'Depots by Bus Type'!$B$3:$J$30)}

On worksheet to depots I've the above formula that id displaying #VALUE!
I've been going around in circles for over an hour.

Ok to sum from B3:J30 from Worksheet "Depots by Bus Type"

=SUMIF($B$34,"B",'Depots by Bus Type'!D7) this works, B34 = "Roskill"

What is required please.

Thankyou.







  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

A couple of things:

--('Depots by Bus Type'!$I33="Roskill")


That array is not the same size as the others.

The formula in general is not an array entered formula but that won't cause
an error, it's just unecessary.

Biff

"Steved" wrote in message
...
Hello from Steved

{=SUMPRODUCT(--('Depots by Bus Type'!$A$3:$A$30="B"),--('Depots by Bus
Type'!$I33="Roskill"),'Depots by Bus Type'!$B$3:$J$30)}

On worksheet to depots I've the above formula that id displaying #VALUE!
I've been going around in circles for over an hour.

Ok to sum from B3:J30 from Worksheet "Depots by Bus Type"

=SUMIF($B$34,"B",'Depots by Bus Type'!D7) this works, B34 = "Roskill"

What is required please.

Thankyou.









  #3   Report Post  
Steved
 
Posts: n/a
Default

Hello Biff from Steved

Thanks finally worked through it and below works fine.


=SUM(IF('Depots by Bus Type'!$A$1:$A$33="M",IF('Depots by Bus
Type'!$D$2:$D$2="Roskill",'Depots by Bus Type'!$D$1:$D$33,0),0))

"Biff" wrote:

Hi!

A couple of things:

--('Depots by Bus Type'!$I33="Roskill")


That array is not the same size as the others.

The formula in general is not an array entered formula but that won't cause
an error, it's just unecessary.

Biff

"Steved" wrote in message
...
Hello from Steved

{=SUMPRODUCT(--('Depots by Bus Type'!$A$3:$A$30="B"),--('Depots by Bus
Type'!$I33="Roskill"),'Depots by Bus Type'!$B$3:$J$30)}

On worksheet to depots I've the above formula that id displaying #VALUE!
I've been going around in circles for over an hour.

Ok to sum from B3:J30 from Worksheet "Depots by Bus Type"

=SUMIF($B$34,"B",'Depots by Bus Type'!D7) this works, B34 = "Roskill"

What is required please.

Thankyou.










  #4   Report Post  
Biff
 
Posts: n/a
Default

Try this:

Normally entered:

=IF('Depots by Bus Type'!$D$2="Roskill",SUMIF('Depots by Bus
Type'!$A$1:$A$33,"M",'Depots by Bus Type'!$D$1:$D$33),0)

Biff

"Steved" wrote in message
...
Hello Biff from Steved

Thanks finally worked through it and below works fine.


=SUM(IF('Depots by Bus Type'!$A$1:$A$33="M",IF('Depots by Bus
Type'!$D$2:$D$2="Roskill",'Depots by Bus Type'!$D$1:$D$33,0),0))

"Biff" wrote:

Hi!

A couple of things:

--('Depots by Bus Type'!$I33="Roskill")


That array is not the same size as the others.

The formula in general is not an array entered formula but that won't
cause
an error, it's just unecessary.

Biff

"Steved" wrote in message
...
Hello from Steved

{=SUMPRODUCT(--('Depots by Bus Type'!$A$3:$A$30="B"),--('Depots by Bus
Type'!$I33="Roskill"),'Depots by Bus Type'!$B$3:$J$30)}

On worksheet to depots I've the above formula that id displaying
#VALUE!
I've been going around in circles for over an hour.

Ok to sum from B3:J30 from Worksheet "Depots by Bus Type"

=SUMIF($B$34,"B",'Depots by Bus Type'!D7) this works, B34 = "Roskill"

What is required please.

Thankyou.












  #5   Report Post  
Steved
 
Posts: n/a
Default

Thanks Biff

"Biff" wrote:

Try this:

Normally entered:

=IF('Depots by Bus Type'!$D$2="Roskill",SUMIF('Depots by Bus
Type'!$A$1:$A$33,"M",'Depots by Bus Type'!$D$1:$D$33),0)

Biff

"Steved" wrote in message
...
Hello Biff from Steved

Thanks finally worked through it and below works fine.


=SUM(IF('Depots by Bus Type'!$A$1:$A$33="M",IF('Depots by Bus
Type'!$D$2:$D$2="Roskill",'Depots by Bus Type'!$D$1:$D$33,0),0))

"Biff" wrote:

Hi!

A couple of things:

--('Depots by Bus Type'!$I33="Roskill")

That array is not the same size as the others.

The formula in general is not an array entered formula but that won't
cause
an error, it's just unecessary.

Biff

"Steved" wrote in message
...
Hello from Steved

{=SUMPRODUCT(--('Depots by Bus Type'!$A$3:$A$30="B"),--('Depots by Bus
Type'!$I33="Roskill"),'Depots by Bus Type'!$B$3:$J$30)}

On worksheet to depots I've the above formula that id displaying
#VALUE!
I've been going around in circles for over an hour.

Ok to sum from B3:J30 from Worksheet "Depots by Bus Type"

=SUMIF($B$34,"B",'Depots by Bus Type'!D7) this works, B34 = "Roskill"

What is required please.

Thankyou.













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 Peter B Excel Worksheet Functions 1 March 7th 05 01:59 PM
sumproduct causing memory errors? dave Excel Worksheet Functions 1 March 3rd 05 09:31 AM
Can I reference =, <, or > sign in SUMPRODUCT BobT Excel Discussion (Misc queries) 7 February 16th 05 01:58 PM
Sumproduct function not working Scott Summerlin Excel Worksheet Functions 12 December 4th 04 05:15 AM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM


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