#1   Report Post  
Aussie CPA
 
Posts: n/a
Default SUMIF problem

I have a spreadsheet with the following SUMIF formula, which looks at another
(Large)workbook on our network.

=SUMIF('W:\HF\2005\Payroll\JAN 05\[Leave Liability_Staff_January.xls]Journal
Data'!$D$17:$D$65536,CD114,'W:\HF\2005\Payroll\JAN 05\[Leave
Liability_Staff_January.xls]Journal Data'!$H$17:$H$65536)

My problem is if I recalculate the formula without the linked sheet open I
get a #VALUE message. Is this an Excel bug or am I doing something wrong?

Thanks

  #2   Report Post  
RagDyer
 
Posts: n/a
Default

Not a bug.
Some functions, Indirect, Sumif, Countif, among others, just *do not* work
on closed WBs.

There are various alternatives, SumProduct() being one.

Try this:

=SUMPRODUCT(('W:\HF\2005\Payroll\JAN 05\[Leave
Liability_Staff_January.xls]Journal
Data'!D$17:$D$65536=CD114)*'W:\HF\2005\Payroll\JAN 05\[Leave
Liability_Staff_January.xls]Journal Data'!$H$17:$H$65536)

Watch out for the word wrap.
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================

"Aussie CPA" wrote in message
...
I have a spreadsheet with the following SUMIF formula, which looks at
another
(Large)workbook on our network.

=SUMIF('W:\HF\2005\Payroll\JAN 05\[Leave Liability_Staff_January.xls]Journal
Data'!$D$17:$D$65536,CD114,'W:\HF\2005\Payroll\JAN 05\[Leave
Liability_Staff_January.xls]Journal Data'!$H$17:$H$65536)

My problem is if I recalculate the formula without the linked sheet open I
get a #VALUE message. Is this an Excel bug or am I doing something wrong?

Thanks

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 to use SUMIF to return sums between two values located in cells ScottBerger Excel Worksheet Functions 2 April 23rd 23 09:05 PM
SUMIF problem Nadia Excel Worksheet Functions 3 January 21st 05 07:12 PM
SUMIF PROBLEM puzzledfe Excel Worksheet Functions 3 January 21st 05 05:19 PM
SUMIF problem Hodge Excel Worksheet Functions 1 November 11th 04 11:48 AM
SUMIF problem Hodge Excel Worksheet Functions 1 November 11th 04 11:02 AM


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