#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 47
Default Formula query

I have two very similar workbooks. I created the following formula in the
first workbook :
=SUMPRODUCT((('issue detail'!$A$2:$D$844)=$A4)*('issue
detail'!$C$2:$C$844))*-1
Cell A4 is blank and results in 0 until I copy the formula to cell A6 which
contains a specific reference. This formula does exactly what I want it to
do.

I copied the formula to the second workbook and made the changes to the
ranges shown:
=SUMPRODUCT((('issue detail'!$A$2:$J$150)=$A3)*('issue detail'!$J$2:$J$150))
Cell A3 is also blank but, now the formula results in a number and I cannot
see what I have done to create this result. When I copy the formula to
another cell (A5) the formula calculates the data correctly.

As an FYI, I am using the first workbook to calculate usage data by week for
about 2500 items. I leave the weeks (columns) without data blank until data
is available and then copy the formula. Also, once the data is calculated, I
change the calculated data to Value to eliminate constant recalulation. I am
doing the same in the second WB for different data.

Thanks Ron R.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Formula query

Perhaps there are blanks in A2:J150, so maybe you need

=SUMPRODUCT(('issue detail'!$A$2:$J$150<"")*('issue
detail'!$A$2:$J$150=$A3)*('issue detail'!$J$2:$J$150))


--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"ronnomad" wrote in message
...
I have two very similar workbooks. I created the following formula in the
first workbook :
=SUMPRODUCT((('issue detail'!$A$2:$D$844)=$A4)*('issue
detail'!$C$2:$C$844))*-1
Cell A4 is blank and results in 0 until I copy the formula to cell A6

which
contains a specific reference. This formula does exactly what I want it

to
do.

I copied the formula to the second workbook and made the changes to the
ranges shown:
=SUMPRODUCT((('issue detail'!$A$2:$J$150)=$A3)*('issue

detail'!$J$2:$J$150))
Cell A3 is also blank but, now the formula results in a number and I

cannot
see what I have done to create this result. When I copy the formula to
another cell (A5) the formula calculates the data correctly.

As an FYI, I am using the first workbook to calculate usage data by week

for
about 2500 items. I leave the weeks (columns) without data blank until

data
is available and then copy the formula. Also, once the data is

calculated, I
change the calculated data to Value to eliminate constant recalulation. I

am
doing the same in the second WB for different data.

Thanks Ron R.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 47
Default Formula query

Bob,

I just check again and no blanks. Again, as far as I can see, with the
exception of the 'ranges' (and the fact that I multiply the first by minus 1
- because all the raw data is in negative numbers and I want a positive
result) the two formulae are the same.

Ron R

"Bob Phillips" wrote:

Perhaps there are blanks in A2:J150, so maybe you need

=SUMPRODUCT(('issue detail'!$A$2:$J$150<"")*('issue
detail'!$A$2:$J$150=$A3)*('issue detail'!$J$2:$J$150))


--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"ronnomad" wrote in message
...
I have two very similar workbooks. I created the following formula in the
first workbook :
=SUMPRODUCT((('issue detail'!$A$2:$D$844)=$A4)*('issue
detail'!$C$2:$C$844))*-1
Cell A4 is blank and results in 0 until I copy the formula to cell A6

which
contains a specific reference. This formula does exactly what I want it

to
do.

I copied the formula to the second workbook and made the changes to the
ranges shown:
=SUMPRODUCT((('issue detail'!$A$2:$J$150)=$A3)*('issue

detail'!$J$2:$J$150))
Cell A3 is also blank but, now the formula results in a number and I

cannot
see what I have done to create this result. When I copy the formula to
another cell (A5) the formula calculates the data correctly.

As an FYI, I am using the first workbook to calculate usage data by week

for
about 2500 items. I leave the weeks (columns) without data blank until

data
is available and then copy the formula. Also, once the data is

calculated, I
change the calculated data to Value to eliminate constant recalulation. I

am
doing the same in the second WB for different data.

Thanks Ron R.




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
"IF" Formula Query... Langoose Excel Worksheet Functions 2 May 15th 06 10:53 AM
"IF" Formula Query Langoose Excel Worksheet Functions 3 May 12th 06 11:18 AM
Get External Data - not editable using Query Wizard MargaretBeckbury Excel Discussion (Misc queries) 7 January 17th 06 09:13 AM
Formula Result Won't Query natei6 Excel Discussion (Misc queries) 3 November 24th 05 06:20 AM
AHHHH-Get Data from Multiple Excel workbooks JAA149 Excel Discussion (Misc queries) 5 October 30th 05 05:19 PM


All times are GMT +1. The time now is 11:45 AM.

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"