Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 251
Default Formula not working

Why does this formula not work?
=IF(I42="","",NETWORKDAYS(A42,I42,NonWorkDays2008)-1)

NonWorkDays2008 is a defined name in another worksheet of the same workbook.

I had the NonWorkDays2008 as a defined name in another workbook and this
workbook linked to it but that's a nuisance with a file that's on the move
between computers and even companies! So, I put the NonWorkDays2008 in the
same workbook, different sheet, and defined it as such---NonWorkDays2008. I
removed the link in the formula to the other workbook and inserted the name
from this workbook in the other worksheet. But no matter what the dates are
in the cells to which the formula refers, the answer remains as it was when
it was linked to the other workbook.

This is a mystery. I can't figure it out. Can anyone? Connie

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 251
Default Formula not working

I found the answer! Someone had turned "calculation" to "manual" in
Tools/Options. That is why no matter what dates I used the original answer
stayed.

Connie

"Connie Martin" wrote:

Why does this formula not work?
=IF(I42="","",NETWORKDAYS(A42,I42,NonWorkDays2008)-1)

NonWorkDays2008 is a defined name in another worksheet of the same workbook.

I had the NonWorkDays2008 as a defined name in another workbook and this
workbook linked to it but that's a nuisance with a file that's on the move
between computers and even companies! So, I put the NonWorkDays2008 in the
same workbook, different sheet, and defined it as such---NonWorkDays2008. I
removed the link in the formula to the other workbook and inserted the name
from this workbook in the other worksheet. But no matter what the dates are
in the cells to which the formula refers, the answer remains as it was when
it was linked to the other workbook.

This is a mystery. I can't figure it out. Can anyone? Connie

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Formula not working

Not necessarily "someone".

ToolsOptionsCalculation can be Auto or Manual.

Excel takes the Calculation mode each session from the settings on the first
workbook opened in that session.

i.e. If you saved Book1 with calc mode in manual and opened it first, calc
mode would be in Manual.

If you saved Book2 with calc mode in auto and opened it after Book1, Book2
would be in manual mode(Excel ignores the auto calc mode in this case).

If you close Book1 before opening Book2, Book2 will be in auto calc mode.

Confusing enough? <g


Gord Dibben MS Excel MVP

On Tue, 30 Sep 2008 16:02:02 -0700, Connie Martin
wrote:

I found the answer! Someone had turned "calculation" to "manual" in
Tools/Options. That is why no matter what dates I used the original answer
stayed.

Connie

"Connie Martin" wrote:

Why does this formula not work?
=IF(I42="","",NETWORKDAYS(A42,I42,NonWorkDays2008)-1)

NonWorkDays2008 is a defined name in another worksheet of the same workbook.

I had the NonWorkDays2008 as a defined name in another workbook and this
workbook linked to it but that's a nuisance with a file that's on the move
between computers and even companies! So, I put the NonWorkDays2008 in the
same workbook, different sheet, and defined it as such---NonWorkDays2008. I
removed the link in the formula to the other workbook and inserted the name
from this workbook in the other worksheet. But no matter what the dates are
in the cells to which the formula refers, the answer remains as it was when
it was linked to the other workbook.

This is a mystery. I can't figure it out. Can anyone? Connie


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
SUM formula not working Tyson Porter Excel Discussion (Misc queries) 3 October 25th 06 10:24 PM
IF OR formula not working cjpal Excel Discussion (Misc queries) 4 October 23rd 06 07:51 PM
Formula not working Cinderella Excel Discussion (Misc queries) 1 August 26th 06 11:47 PM
Sum formula not working Jeff Lowenstein Excel Worksheet Functions 1 August 1st 05 08:35 PM
formula not working Micayla Bergen Excel Discussion (Misc queries) 13 May 23rd 05 01:48 PM


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