Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
D D is offline
external usenet poster
 
Posts: 121
Default Count formulas between excel files

I have a formula linked between various excel files that performs a count
that verifies that only numbers are entered. The formula will only work when
the source file ( the one the count is being preformed on) is open. If I
update the links with the source file closed. The formula returns # value.
Is there any way to get this formula to work when the source file is closed?

=IF(COUNT('[0120PLAN.XLS]Expense by
Acct'!$AI$7:$AT$7)=COUNTA('[0120PLAN.XLS]Expense by
Acct'!$AI$7:$AT$7)+(COUNTBLANK('[0120PLAN.XLS]Expense by
Acct'!$AI$7:$AT$7)),"NO","YES")
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 168
Default Count formulas between excel files

Hello,

Are you trying to get a match on the count of entries, or simply
verify that all the entries are numbers?

Based on my experience, COUNT doesn't work when the reference workbook
is closed. You can use ISNUMBER with an array and it will continue to
work when the other workbook is closed.

For example:

{=ISNUMBER('[0120PLAN.XLS]Expense by Acct'!$AI$7:$AT$7)}

returns TRUE if they are all numbers. The formula automatically
adjusts when you close the 0120PLAN workbook.


HTH,
JP

On Oct 19, 12:36 pm, D wrote:
I have a formula linked between various excel files that performs a count
that verifies that only numbers are entered. The formula will only work when
the source file ( the one the count is being preformed on) is open. If I
update the links with the source file closed. The formula returns # value.
Is there any way to get this formula to work when the source file is closed?

=IF(COUNT('[0120PLAN.XLS]Expense by
Acct'!$AI$7:$AT$7)=COUNTA('[0120PLAN.XLS]Expense by
Acct'!$AI$7:$AT$7)+(COUNTBLANK('[0120PLAN.XLS]Expense by
Acct'!$AI$7:$AT$7)),"NO","YES")



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
D D is offline
external usenet poster
 
Posts: 121
Default Count formulas between excel files

I just need to ferify that all entries are numbers, the formula you gave
works very well, thanks!

"JP" wrote:

Hello,

Are you trying to get a match on the count of entries, or simply
verify that all the entries are numbers?

Based on my experience, COUNT doesn't work when the reference workbook
is closed. You can use ISNUMBER with an array and it will continue to
work when the other workbook is closed.

For example:

{=ISNUMBER('[0120PLAN.XLS]Expense by Acct'!$AI$7:$AT$7)}

returns TRUE if they are all numbers. The formula automatically
adjusts when you close the 0120PLAN workbook.


HTH,
JP

On Oct 19, 12:36 pm, D wrote:
I have a formula linked between various excel files that performs a count
that verifies that only numbers are entered. The formula will only work when
the source file ( the one the count is being preformed on) is open. If I
update the links with the source file closed. The formula returns # value.
Is there any way to get this formula to work when the source file is closed?

=IF(COUNT('[0120PLAN.XLS]Expense by
Acct'!$AI$7:$AT$7)=COUNTA('[0120PLAN.XLS]Expense by
Acct'!$AI$7:$AT$7)+(COUNTBLANK('[0120PLAN.XLS]Expense by
Acct'!$AI$7:$AT$7)),"NO","YES")




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
D D is offline
external usenet poster
 
Posts: 121
Default Count formulas between excel files

I just noticed, this formula treats blanks as numbers, is there another
formula that would not count blanks or spaces as numbers ?

"JP" wrote:

Hello,

Are you trying to get a match on the count of entries, or simply
verify that all the entries are numbers?

Based on my experience, COUNT doesn't work when the reference workbook
is closed. You can use ISNUMBER with an array and it will continue to
work when the other workbook is closed.

For example:

{=ISNUMBER('[0120PLAN.XLS]Expense by Acct'!$AI$7:$AT$7)}

returns TRUE if they are all numbers. The formula automatically
adjusts when you close the 0120PLAN workbook.


HTH,
JP

On Oct 19, 12:36 pm, D wrote:
I have a formula linked between various excel files that performs a count
that verifies that only numbers are entered. The formula will only work when
the source file ( the one the count is being preformed on) is open. If I
update the links with the source file closed. The formula returns # value.
Is there any way to get this formula to work when the source file is closed?

=IF(COUNT('[0120PLAN.XLS]Expense by
Acct'!$AI$7:$AT$7)=COUNTA('[0120PLAN.XLS]Expense by
Acct'!$AI$7:$AT$7)+(COUNTBLANK('[0120PLAN.XLS]Expense by
Acct'!$AI$7:$AT$7)),"NO","YES")




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 168
Default Count formulas between excel files

Hi,
Try this array formula:

=IF((SUM(IF(ISNUMBER(range),1,0))-COUNTA(range)-
COUNTBLANK(range))=0,"All Numbers","Not all numbers")

Replace "range" with the range of cells you were working on, ctrl-
shift-enter to complete!


--JP


On Oct 19, 2:53 pm, D wrote:
I just noticed, this formula treats blanks as numbers, is there another
formula that would not count blanks or spaces as numbers ?



"JP" wrote:
Hello,


Are you trying to get a match on the count of entries, or simply
verify that all the entries are numbers?


Based on my experience, COUNT doesn't work when the reference workbook
is closed. You can use ISNUMBER with an array and it will continue to
work when the other workbook is closed.


For example:


{=ISNUMBER('[0120PLAN.XLS]Expense by Acct'!$AI$7:$AT$7)}


returns TRUE if they are all numbers. The formula automatically
adjusts when you close the 0120PLAN workbook.


HTH,
JP


On Oct 19, 12:36 pm, D wrote:
I have a formula linked between various excel files that performs a count
that verifies that only numbers are entered. The formula will only work when
the source file ( the one the count is being preformed on) is open. If I
update the links with the source file closed. The formula returns # value.
Is there any way to get this formula to work when the source file is closed?


=IF(COUNT('[0120PLAN.XLS]Expense by
Acct'!$AI$7:$AT$7)=COUNTA('[0120PLAN.XLS]Expense by
Acct'!$AI$7:$AT$7)+(COUNTBLANK('[0120PLAN.XLS]Expense by
Acct'!$AI$7:$AT$7)),"NO","YES")- Hide quoted text -


- Show quoted text -





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
D D is offline
external usenet poster
 
Posts: 121
Default Count formulas between excel files

The logic works, but it still contains the count formula that will not work
when the source file is closed. I will need the formula to the source file
then set up a link to that cell.

Thanks for your help. Do you know if the count formula works with a closed
workbook in Excel 2007?

"JP" wrote:

Hi,
Try this array formula:

=IF((SUM(IF(ISNUMBER(range),1,0))-COUNTA(range)-
COUNTBLANK(range))=0,"All Numbers","Not all numbers")

Replace "range" with the range of cells you were working on, ctrl-
shift-enter to complete!


--JP


On Oct 19, 2:53 pm, D wrote:
I just noticed, this formula treats blanks as numbers, is there another
formula that would not count blanks or spaces as numbers ?



"JP" wrote:
Hello,


Are you trying to get a match on the count of entries, or simply
verify that all the entries are numbers?


Based on my experience, COUNT doesn't work when the reference workbook
is closed. You can use ISNUMBER with an array and it will continue to
work when the other workbook is closed.


For example:


{=ISNUMBER('[0120PLAN.XLS]Expense by Acct'!$AI$7:$AT$7)}


returns TRUE if they are all numbers. The formula automatically
adjusts when you close the 0120PLAN workbook.


HTH,
JP


On Oct 19, 12:36 pm, D wrote:
I have a formula linked between various excel files that performs a count
that verifies that only numbers are entered. The formula will only work when
the source file ( the one the count is being preformed on) is open. If I
update the links with the source file closed. The formula returns # value.
Is there any way to get this formula to work when the source file is closed?


=IF(COUNT('[0120PLAN.XLS]Expense by
Acct'!$AI$7:$AT$7)=COUNTA('[0120PLAN.XLS]Expense by
Acct'!$AI$7:$AT$7)+(COUNTBLANK('[0120PLAN.XLS]Expense by
Acct'!$AI$7:$AT$7)),"NO","YES")- Hide quoted text -


- Show quoted text -




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
Copying a Column of Formulas between Excel Files WillW Excel Worksheet Functions 6 August 24th 07 04:38 PM
count formulas cpy Excel Discussion (Misc queries) 2 October 25th 06 09:42 PM
Using count formulas with '<=' Drummy Excel Discussion (Misc queries) 2 June 5th 06 08:35 AM
Formulas containing links to other Excel files Andrew Mackenzie Excel Discussion (Misc queries) 1 November 17th 05 04:54 PM
Replicating Formulas between excel files Nickchups Excel Discussion (Misc queries) 3 July 29th 05 04:03 PM


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