#1   Report Post  
Posted to microsoft.public.excel.misc
PJG PJG is offline
external usenet poster
 
Posts: 8
Default Ghost Formulas

I am working on a excel staff structure that has an issue with
changing formulas. All formula cells are protected and half are hidden
but every so often a reference will disapear from a formula. It is
never the same column or row and is only used by only 1 person per
shop no other interferance can be traced. Sometimes it can occour on a
page that has not been modified.
here is a copy of the formula
=Hours_Worked($A81,C81,C82,$A$2)
hours_worked is the vba part of the program to work out the number of
hours worked and the remainder are reference cells
=Shift_Pay($A81,C$4,C81,C82,$G$2,$D$3,$A$2) +$K84/7
shift_pay works out the pay rates and any penalities in vba and gives
a $ figure

=Hours_Worked($A81,#REF!,#REF!,$A$2)
this is what I get which gives the errors
=Shift_Pay($A81,D$4,#REF!,#REF!,$G$2,$D$3,$A$2) +$K84/7

it is very random when and where it happens, It's like there is a
ghost in it doing what it wants
can any one help me?

  #2   Report Post  
Posted to microsoft.public.excel.misc
Art Art is offline
external usenet poster
 
Posts: 587
Default Ghost Formulas

I can't say for sure, but the following sorts of things can cause #Ref! to
appear:

If you delete a column or row that contains one of the arguments.
If you drag some cells into an area that contains one of the arguments.


"PJG" wrote:

I am working on a excel staff structure that has an issue with
changing formulas. All formula cells are protected and half are hidden
but every so often a reference will disapear from a formula. It is
never the same column or row and is only used by only 1 person per
shop no other interferance can be traced. Sometimes it can occour on a
page that has not been modified.
here is a copy of the formula
=Hours_Worked($A81,C81,C82,$A$2)
hours_worked is the vba part of the program to work out the number of
hours worked and the remainder are reference cells
=Shift_Pay($A81,C$4,C81,C82,$G$2,$D$3,$A$2) +$K84/7
shift_pay works out the pay rates and any penalities in vba and gives
a $ figure

=Hours_Worked($A81,#REF!,#REF!,$A$2)
this is what I get which gives the errors
=Shift_Pay($A81,D$4,#REF!,#REF!,$G$2,$D$3,$A$2) +$K84/7

it is very random when and where it happens, It's like there is a
ghost in it doing what it wants
can any one help me?


  #3   Report Post  
Posted to microsoft.public.excel.misc
PJG PJG is offline
external usenet poster
 
Posts: 8
Default Ghost Formulas

On Apr 15, 9:58 am, Art wrote:
I can't say for sure, but the following sorts of things can cause #Ref! to
appear:

If you delete a column or row that contains one of the arguments.
If you drag some cells into an area that contains one of the arguments.



"PJG" wrote:
I am working on a excel staff structure that has an issue with
changing formulas. All formula cells are protected and half are hidden
but every so often a reference will disapear from a formula. It is
never the same column or row and is only used by only 1 person per
shop no other interferance can be traced. Sometimes it can occour on a
page that has not been modified.
here is a copy of the formula
=Hours_Worked($A81,C81,C82,$A$2)
hours_worked is the vba part of the program to work out the number of
hours worked and the remainder are reference cells
=Shift_Pay($A81,C$4,C81,C82,$G$2,$D$3,$A$2) +$K84/7
shift_pay works out the pay rates and any penalities in vba and gives
a $ figure


=Hours_Worked($A81,#REF!,#REF!,$A$2)
this is what I get which gives the errors
=Shift_Pay($A81,D$4,#REF!,#REF!,$G$2,$D$3,$A$2) +$K84/7


it is very random when and where it happens, It's like there is a
ghost in it doing what it wants
can any one help me?- Hide quoted text -


- Show quoted text -


Thanks but no columns or cells are draged or deleted. Thats the weird
thing but this error keeps coming up!!!

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
'Ghost' font in my workbook matis Excel Discussion (Misc queries) 0 April 10th 06 12:21 PM
ghost macro gevans Excel Worksheet Functions 4 March 8th 06 04:40 PM
I seem to have a ghost macro. SongCoyote Excel Discussion (Misc queries) 1 September 13th 05 01:04 AM
Ghost Links [email protected] Links and Linking in Excel 3 August 20th 05 04:02 PM
Page Break Ghost Karen Excel Discussion (Misc queries) 5 June 14th 05 11:53 PM


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