Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
The Mod function returns #Num! error value. Here is my formula:
=MOD(H3*100,2)0.5 The above formula is used in my net value column. If the Net value is above $3 million I get the #Num! error. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Lizz45ie wrote:
The Mod function returns #Num! error value. Here is my formula: =MOD(H3*100,2)0.5 The above formula is used in my net value column. If the Net value is above $3 million I get the #Num! error. An interesting limitation/undocumented feature/bug of the MOD function. See for explanation and work-arounds: http://excel.tips.net/Pages/T003302_..._Function.html |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I modified by formula from the suggestion: I got a Run Time error '5':
Invalid procedure call argument. "=MOD(MOD(H3,134217728*100,2))" "smartin" wrote: Lizz45ie wrote: The Mod function returns #Num! error value. Here is my formula: =MOD(H3*100,2)0.5 The above formula is used in my net value column. If the Net value is above $3 million I get the #Num! error. An interesting limitation/undocumented feature/bug of the MOD function. See for explanation and work-arounds: http://excel.tips.net/Pages/T003302_..._Function.html |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
If you were following this work-around:
=MOD(MOD(number,134217728*divisor),divisor) then your formula should look like =MOD(MOD(H3*100,134217728*2),2) Lizz45ie wrote: I modified by formula from the suggestion: I got a Run Time error '5': Invalid procedure call argument. "=MOD(MOD(H3,134217728*100,2))" "smartin" wrote: Lizz45ie wrote: The Mod function returns #Num! error value. Here is my formula: =MOD(H3*100,2)0.5 The above formula is used in my net value column. If the Net value is above $3 million I get the #Num! error. An interesting limitation/undocumented feature/bug of the MOD function. See for explanation and work-arounds: http://excel.tips.net/Pages/T003302_..._Function.html |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks for your suggestion. It didn't work.
"smartin" wrote: If you were following this work-around: =MOD(MOD(number,134217728*divisor),divisor) then your formula should look like =MOD(MOD(H3*100,134217728*2),2) Lizz45ie wrote: I modified by formula from the suggestion: I got a Run Time error '5': Invalid procedure call argument. "=MOD(MOD(H3,134217728*100,2))" "smartin" wrote: Lizz45ie wrote: The Mod function returns #Num! error value. Here is my formula: =MOD(H3*100,2)0.5 The above formula is used in my net value column. If the Net value is above $3 million I get the #Num! error. An interesting limitation/undocumented feature/bug of the MOD function. See for explanation and work-arounds: http://excel.tips.net/Pages/T003302_..._Function.html |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Can you tell what you are trying to accomplish? Why do you think you
need MOD? What isn't working? Error? Wrong result? FWIW, as a worksheet function =MOD(MOD(H3*100,134217728*2),2) works for me up to a value of 999999999999.99 in H3. If you are using VBA there was a different approach suggested on the site below. Lizz45ie wrote: Thanks for your suggestion. It didn't work. "smartin" wrote: If you were following this work-around: =MOD(MOD(number,134217728*divisor),divisor) then your formula should look like =MOD(MOD(H3*100,134217728*2),2) Lizz45ie wrote: I modified by formula from the suggestion: I got a Run Time error '5': Invalid procedure call argument. "=MOD(MOD(H3,134217728*100,2))" "smartin" wrote: Lizz45ie wrote: The Mod function returns #Num! error value. Here is my formula: =MOD(H3*100,2)0.5 The above formula is used in my net value column. If the Net value is above $3 million I get the #Num! error. An interesting limitation/undocumented feature/bug of the MOD function. See for explanation and work-arounds: http://excel.tips.net/Pages/T003302_..._Function.html |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Lizz45ie wrote:
The Mod function returns #Num! error value. Here is my formula: =MOD(H3*100,2)0.5 The above formula is used in my net value column. If the Net value is above $3 million I get the #Num! error. You could eliminate the MOD() function: =((H3-INT(H3*50)/50)*100)0.5 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel Data Validation/Lookup function does function correcty | Excel Worksheet Functions | |||
copy of excel file not showing formulal/function in the function b | Excel Discussion (Misc queries) | |||
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) | Excel Worksheet Functions | |||
Offset function with nested match function not finding host ss. | Excel Worksheet Functions | |||
Emulate Index/Match combo function w/ VBA custom function | Excel Worksheet Functions |