Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 99
Default SUMPRODUCT can I use to get data from 2 worksheets in same wkBK

Hi there,

Can anyone help me to get this formula to work please? I want to count
numbers of passes from two different worksheets "All" and "Bob"

=SUMPRODUCT((All!$A$2:$A$5016=$A9)*(Bob!$A$2:$A$50 16=$A9)*(All!$K$2:$K$5016=4)*(Bob!$I$2:$I$2016=4)* (All!$F$2:$F$5016<=$D$4)*(Bob!$F$2:$F$2016<=$D$4))

I get #N/A

Grateful for any help
Cheers
--
Mifty
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default SUMPRODUCT can I use to get data from 2 worksheets in same wkBK

It's because your ranges are different sizes 2016 & 5016 set them all the
same and your formula works

Mike

"Mifty" wrote:

Hi there,

Can anyone help me to get this formula to work please? I want to count
numbers of passes from two different worksheets "All" and "Bob"

=SUMPRODUCT((All!$A$2:$A$5016=$A9)*(Bob!$A$2:$A$50 16=$A9)*(All!$K$2:$K$5016=4)*(Bob!$I$2:$I$2016=4)* (All!$F$2:$F$5016<=$D$4)*(Bob!$F$2:$F$2016<=$D$4))

I get #N/A

Grateful for any help
Cheers
--
Mifty

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 99
Default SUMPRODUCT can I use to get data from 2 worksheets in same wkB

Hi Mike,

Thanks for answering but I still must be doing something wrong 'cos all I
get is zero even when I know there should be a number there.

Cheers
--
Mifty


"Mike H" wrote:

It's because your ranges are different sizes 2016 & 5016 set them all the
same and your formula works

Mike

"Mifty" wrote:

Hi there,

Can anyone help me to get this formula to work please? I want to count
numbers of passes from two different worksheets "All" and "Bob"

=SUMPRODUCT((All!$A$2:$A$5016=$A9)*(Bob!$A$2:$A$50 16=$A9)*(All!$K$2:$K$5016=4)*(Bob!$I$2:$I$2016=4)* (All!$F$2:$F$5016<=$D$4)*(Bob!$F$2:$F$2016<=$D$4))

I get #N/A

Grateful for any help
Cheers
--
Mifty

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default SUMPRODUCT can I use to get data from 2 worksheets in same wkB

Given that it works for me with the ranges corrected then it must be your
data. I don't know for example what you have in A49 but if its a number then
ensure you have numbers in the columns you are checking.

One way to check is to shorten the ranges 9(ll of them) for de-bugging then
select each part of your formula in the formula bar and Tap F9

select this bit Bob!$I$2:$I$20=4

With this selected you will see the formula bar change to TRUE or FALSE to
show you how each of the 20 cells is evaluating.

Mike

"Mifty" wrote:

Hi Mike,

Thanks for answering but I still must be doing something wrong 'cos all I
get is zero even when I know there should be a number there.

Cheers
--
Mifty


"Mike H" wrote:

It's because your ranges are different sizes 2016 & 5016 set them all the
same and your formula works

Mike

"Mifty" wrote:

Hi there,

Can anyone help me to get this formula to work please? I want to count
numbers of passes from two different worksheets "All" and "Bob"

=SUMPRODUCT((All!$A$2:$A$5016=$A9)*(Bob!$A$2:$A$50 16=$A9)*(All!$K$2:$K$5016=4)*(Bob!$I$2:$I$2016=4)* (All!$F$2:$F$5016<=$D$4)*(Bob!$F$2:$F$2016<=$D$4))

I get #N/A

Grateful for any help
Cheers
--
Mifty

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 99
Default SUMPRODUCT can I use to get data from 2 worksheets in same wkB

Hi Mike,

Thanks for your help which had made me realise that I've got all sorts of
problems with data not formatted etc. Data has been imported from a custom
database using a wizard to dump into Excel. Also my summary sheet formatting
is all over the place. copied someone else's to save time but didn't think
about formatting so got a big headache.

Will try your solution when sorted
--
Mifty


"Mike H" wrote:

Given that it works for me with the ranges corrected then it must be your
data. I don't know for example what you have in A49 but if its a number then
ensure you have numbers in the columns you are checking.

One way to check is to shorten the ranges 9(ll of them) for de-bugging then
select each part of your formula in the formula bar and Tap F9

select this bit Bob!$I$2:$I$20=4

With this selected you will see the formula bar change to TRUE or FALSE to
show you how each of the 20 cells is evaluating.

Mike

"Mifty" wrote:

Hi Mike,

Thanks for answering but I still must be doing something wrong 'cos all I
get is zero even when I know there should be a number there.

Cheers
--
Mifty


"Mike H" wrote:

It's because your ranges are different sizes 2016 & 5016 set them all the
same and your formula works

Mike

"Mifty" wrote:

Hi there,

Can anyone help me to get this formula to work please? I want to count
numbers of passes from two different worksheets "All" and "Bob"

=SUMPRODUCT((All!$A$2:$A$5016=$A9)*(Bob!$A$2:$A$50 16=$A9)*(All!$K$2:$K$5016=4)*(Bob!$I$2:$I$2016=4)* (All!$F$2:$F$5016<=$D$4)*(Bob!$F$2:$F$2016<=$D$4))

I get #N/A

Grateful for any help
Cheers
--
Mifty

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
How do I copy records with specific text from one wkbk to another MichaelM Excel Worksheet Functions 0 September 19th 07 08:56 PM
Can't Alt Tab from wkbk to wkbk Help! Paulg Excel Discussion (Misc queries) 1 August 15th 06 05:34 PM
How do I replicate an area of a SS onto another sheet in same wkbk Dave Excel Discussion (Misc queries) 2 June 23rd 06 06:55 PM
In 3 active sheets in wkbk, determine& display the # of sheets that have data wrpalmer Excel Discussion (Misc queries) 1 November 4th 05 02:01 PM
looking for way to name columns (across sheets in wkbk) mr unreliable New Users to Excel 3 February 10th 05 09:32 PM


All times are GMT +1. The time now is 05:13 PM.

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"