Giordano Bruno
Well-known Member
- Joined
- Jan 7, 2007
- Messages
- 1,356
I have a worksheet with a formula in the tab GenData which returns the value 3
(the formula is =MOD(ROUNDDOWN((StartMonth-0.01)/3,0),4)+1).
In other worksheets in the same workbook, I have the formula
=RIGHT(GenData!$A$10,1)
In some of the worksheets this returns the text 3. In others it returns a #VALUE! error.
I can "correct" the error by changing the formula to
=RIGHT(TEXT(GenData!$A$10,"general"),1)
But why does it fail on only some of the worksheets. Can anyone think of a reason for this behaviour.
(the formula is =MOD(ROUNDDOWN((StartMonth-0.01)/3,0),4)+1).
In other worksheets in the same workbook, I have the formula
=RIGHT(GenData!$A$10,1)
In some of the worksheets this returns the text 3. In others it returns a #VALUE! error.
I can "correct" the error by changing the formula to
=RIGHT(TEXT(GenData!$A$10,"general"),1)
But why does it fail on only some of the worksheets. Can anyone think of a reason for this behaviour.