LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Stian
 
Posts: n/a
Default Very weird error

The following code is working for everyone but me:

=IF(MOD((i_LoadHeavy*2),3)0,
TEXT((i_LoadHeavy*2)/3,"###.#"),(i_LoadHeavy*2)/3)

This code is part of a worksheet used by many and developed by some guy on
the internet. When I try to load this worksheet into my Excel 2003 I get
complaints from the program.

On the codeline above, the program says the comma in the MOD function is
wrong and that the commas in the TEXT function is wrong. If the commas are
replaced by a semicolon it works fine. This, even though the help files say a
comma is perfectly fine.

The program also complains about the format: "###.#" for the TEXT function.
If I replace the dot with a comma it works.

Why does this line of code work for every other use of this worksheet but
not for me? Why are my functions seemingly different from others?

I have removed and reinstalled Office, but to no avail.
I am using Windows XP and Office 2003.

Any ideas?


 
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
vlookup weird error cutthroatjess Excel Worksheet Functions 3 June 17th 05 01:56 PM
Ignore error msgs in formula references gharden Excel Discussion (Misc queries) 4 June 17th 05 12:14 AM
Error trapped only while stepping through the code - Not triggered when run Jeff Excel Discussion (Misc queries) 7 March 7th 05 06:29 PM
Error trapped only while stepping through the code - Not triggered when run Jeff Excel Discussion (Misc queries) 0 February 28th 05 06:26 PM
Weird error messages Manuel Excel Discussion (Misc queries) 3 February 17th 05 04:45 PM


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