Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 49
Default countif when range to count is in a different workbook

Hi,

I have a workbook which tracks when a certain person has applied for
funding. I have other separate workbooks for each type of funding, and when
someone applies, I need to check the master workbook and have a formula
return how many times their ID appears on the list.

This is my current formula:

=COUNTIF('[Applicant Information.xls]applicants''
applications'!$A$3:$A$65000,A6)

This works great when the Applicant Information.xls file is open, but causes
a #Value! error when it is not. Upon opening my specific funding worksheets
I update links but I keep getting an "Error - non-defined or non-rectangular
name" status when I check the source.

Any ideas? Should all countif formulae rely on an open workbook? All of my
other formulae relating to a closed workbook is now working fine.

If anyone could help, it would be much appreciated.

Thanks,

Karen.


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default countif when range to count is in a different workbook

There are a lot of functions that don't work with close workbooks:

=countif(), =sumif(), =indirect() are a few.

With the file open:

=sumproduct(--(
'[Applicant Information.xls]applicants''applications'!$A$3:$A$65000=A6))

And when you close the file, excel will add the path, but the formula will still
calculate correctly.

Remember that =sumproduct() can't use the whole column.







KarenF wrote:

Hi,

I have a workbook which tracks when a certain person has applied for
funding. I have other separate workbooks for each type of funding, and when
someone applies, I need to check the master workbook and have a formula
return how many times their ID appears on the list.

This is my current formula:

=COUNTIF('[Applicant Information.xls]applicants''
applications'!$A$3:$A$65000,A6)

This works great when the Applicant Information.xls file is open, but causes
a #Value! error when it is not. Upon opening my specific funding worksheets
I update links but I keep getting an "Error - non-defined or non-rectangular
name" status when I check the source.

Any ideas? Should all countif formulae rely on an open workbook? All of my
other formulae relating to a closed workbook is now working fine.

If anyone could help, it would be much appreciated.

Thanks,

Karen.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 49
Default countif when range to count is in a different workbook

Thanks again Dave.

Yet again, a problem solved!

It works fine.

Thanks for your help.

Take care,

Karen

"Dave Peterson" wrote:

There are a lot of functions that don't work with close workbooks:

=countif(), =sumif(), =indirect() are a few.

With the file open:

=sumproduct(--(
'[Applicant Information.xls]applicants''applications'!$A$3:$A$65000=A6))

And when you close the file, excel will add the path, but the formula will still
calculate correctly.

Remember that =sumproduct() can't use the whole column.







KarenF wrote:

Hi,

I have a workbook which tracks when a certain person has applied for
funding. I have other separate workbooks for each type of funding, and when
someone applies, I need to check the master workbook and have a formula
return how many times their ID appears on the list.

This is my current formula:

=COUNTIF('[Applicant Information.xls]applicants''
applications'!$A$3:$A$65000,A6)

This works great when the Applicant Information.xls file is open, but causes
a #Value! error when it is not. Upon opening my specific funding worksheets
I update links but I keep getting an "Error - non-defined or non-rectangular
name" status when I check the source.

Any ideas? Should all countif formulae rely on an open workbook? All of my
other formulae relating to a closed workbook is now working fine.

If anyone could help, it would be much appreciated.

Thanks,

Karen.


--

Dave Peterson

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 count items within a date range in Excel? tcolbert Excel Worksheet Functions 2 January 9th 06 06:01 PM
Named range links to external workbook, help! WitchMaster Charts and Charting in Excel 2 October 11th 05 12:07 PM
Describe high/low range with CountIf (ex. count if >90 and <100 jsky Excel Worksheet Functions 1 September 19th 05 02:44 AM
Describe high/low range with CountIf (ex. count if >90 and <100 jsky Excel Worksheet Functions 5 September 19th 05 02:04 AM
How do I count data in range A:A that is dependent upon criteria . h2ocats Excel Worksheet Functions 1 February 21st 05 12:55 PM


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