Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 52
Default Really strange issue with simple formula

I have a formula I've successfully used in a spreadsheet for over seven
years in the USA (spanning multiple users and Excel versions). A group
in Belgium is now trying to use it, and getting an "Error in formula"
error. They have the exact same computer set up we use (Excel 2003),
yet the formula doesn't work over there. They have tried on several
machines.

Anyone know why this might be? Or any debugging strategies? Any insight
or guesses at all?

Details...

Where SerArea is named dynamic named range in column A.
Where LetIdNum is a named cell (value is "D")

The variable syntax is this:

=COUNTIF(SerArea,INDIRECT(LetIdNum&ROW()))1

That gets the error when entering it ONLY in Belgium.

Without variables, it would evaluate to this simple syntax:

=COUNTIF(A1:A18,D2)1

Funny thing, when entered in that simple format in Belgium, it WORKS.

Then, in Belgium, we replace a constant for a variable and it still
works:

=COUNTIF(A1:A18,INDIRECT(LetIdNum&ROW()))1

Then, in Belgium, we replace the last constant to a variable and it
still works:

=COUNTIF(SerArea,INDIRECT(LetIdNum&ROW()))1

Guess what? NOW, it's been edited back to the original syntax it
refused to accept before. It threw an error when we put it in directly
like that, but when we put it in as simple syntax and then edit it to
this it works. Is that crazy or what?

Any helpful comments would be great because I need the variable version
of the syntax to work like it has here in the States for so many years.

Thanks,
Chuck

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Really strange issue with simple formula

Chuck,

Are you sure they are entering exactly the same formula and not

=COUNTIF(A1:A18;D2)1

Normally, Belgium would use semi-colon as an argument identifier/delimiter,
whereas you would use comma. Building that up maintains the syntax.

Good summary BTW, very clear.

--
HTH

Bob Phillips

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"c mateland" wrote in message
ups.com...
I have a formula I've successfully used in a spreadsheet for over seven
years in the USA (spanning multiple users and Excel versions). A group
in Belgium is now trying to use it, and getting an "Error in formula"
error. They have the exact same computer set up we use (Excel 2003),
yet the formula doesn't work over there. They have tried on several
machines.

Anyone know why this might be? Or any debugging strategies? Any insight
or guesses at all?

Details...

Where SerArea is named dynamic named range in column A.
Where LetIdNum is a named cell (value is "D")

The variable syntax is this:

=COUNTIF(SerArea,INDIRECT(LetIdNum&ROW()))1

That gets the error when entering it ONLY in Belgium.

Without variables, it would evaluate to this simple syntax:

=COUNTIF(A1:A18,D2)1

Funny thing, when entered in that simple format in Belgium, it WORKS.

Then, in Belgium, we replace a constant for a variable and it still
works:

=COUNTIF(A1:A18,INDIRECT(LetIdNum&ROW()))1

Then, in Belgium, we replace the last constant to a variable and it
still works:

=COUNTIF(SerArea,INDIRECT(LetIdNum&ROW()))1

Guess what? NOW, it's been edited back to the original syntax it
refused to accept before. It threw an error when we put it in directly
like that, but when we put it in as simple syntax and then edit it to
this it works. Is that crazy or what?

Any helpful comments would be great because I need the variable version
of the syntax to work like it has here in the States for so many years.

Thanks,
Chuck



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Really strange issue with simple formula

Some countries use a semicolon rather than a comma in formulae - could
it be something like that? Have you tried setting the Local Settings of
the PC in Belgium to act as if it were in USA, load the Excel file in
and then change the Regional Settings back to Belgium? If this works,
then you have your Excel file translated for the Belgium office.

Hope this helps.

Pete

c mateland wrote:

I have a formula I've successfully used in a spreadsheet for over seven
years in the USA (spanning multiple users and Excel versions). A group
in Belgium is now trying to use it, and getting an "Error in formula"
error. They have the exact same computer set up we use (Excel 2003),
yet the formula doesn't work over there. They have tried on several
machines.

Anyone know why this might be? Or any debugging strategies? Any insight
or guesses at all?

Details...

Where SerArea is named dynamic named range in column A.
Where LetIdNum is a named cell (value is "D")

The variable syntax is this:

=COUNTIF(SerArea,INDIRECT(LetIdNum&ROW()))1

That gets the error when entering it ONLY in Belgium.

Without variables, it would evaluate to this simple syntax:

=COUNTIF(A1:A18,D2)1

Funny thing, when entered in that simple format in Belgium, it WORKS.

Then, in Belgium, we replace a constant for a variable and it still
works:

=COUNTIF(A1:A18,INDIRECT(LetIdNum&ROW()))1

Then, in Belgium, we replace the last constant to a variable and it
still works:

=COUNTIF(SerArea,INDIRECT(LetIdNum&ROW()))1

Guess what? NOW, it's been edited back to the original syntax it
refused to accept before. It threw an error when we put it in directly
like that, but when we put it in as simple syntax and then edit it to
this it works. Is that crazy or what?

Any helpful comments would be great because I need the variable version
of the syntax to work like it has here in the States for so many years.

Thanks,
Chuck


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 52
Default Really strange issue with simple formula

Thanks, Bob.

Actually, I sent the formula in text so they would copy and paste the
formula in, preventing inconsistancies in the syntax.

But, I'd still like to investigate the comma/semi-colon issue more with
them. Is there more I should know about that? Is that true in all of
Europe? Who uses commas and who uses other delimiters for arguments?
Any other USA/Europe snaffu's to look for? This is new to me. Thanks
for the help.

Anyway, if that turns out the be the problem, I'll have to create a
Belgium version of the workbook, I guess? That's not going to be fun,
because I use hundreds of formulas, many of them entered and maintained
via VBA, userforms, and thousands of lines of code. <g

I'll let you know what I find out.

Thanks,
Chuck


Bob Phillips wrote:
Chuck,

Are you sure they are entering exactly the same formula and not

=COUNTIF(A1:A18;D2)1

Normally, Belgium would use semi-colon as an argument identifier/delimiter,
whereas you would use comma. Building that up maintains the syntax.

Good summary BTW, very clear.

--
HTH

Bob Phillips

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"c mateland" wrote in message
ups.com...
I have a formula I've successfully used in a spreadsheet for over seven
years in the USA (spanning multiple users and Excel versions). A group
in Belgium is now trying to use it, and getting an "Error in formula"
error. They have the exact same computer set up we use (Excel 2003),
yet the formula doesn't work over there. They have tried on several
machines.

Anyone know why this might be? Or any debugging strategies? Any insight
or guesses at all?

Details...

Where SerArea is named dynamic named range in column A.
Where LetIdNum is a named cell (value is "D")

The variable syntax is this:

=COUNTIF(SerArea,INDIRECT(LetIdNum&ROW()))1

That gets the error when entering it ONLY in Belgium.

Without variables, it would evaluate to this simple syntax:

=COUNTIF(A1:A18,D2)1

Funny thing, when entered in that simple format in Belgium, it WORKS.

Then, in Belgium, we replace a constant for a variable and it still
works:

=COUNTIF(A1:A18,INDIRECT(LetIdNum&ROW()))1

Then, in Belgium, we replace the last constant to a variable and it
still works:

=COUNTIF(SerArea,INDIRECT(LetIdNum&ROW()))1

Guess what? NOW, it's been edited back to the original syntax it
refused to accept before. It threw an error when we put it in directly
like that, but when we put it in as simple syntax and then edit it to
this it works. Is that crazy or what?

Any helpful comments would be great because I need the variable version
of the syntax to work like it has here in the States for so many years.

Thanks,
Chuck


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 52
Default Really strange issue with simple formula

Excellent idea, to check the regional settings, Pete. They told me they
were US, but I didn't actually verify that.

So, if set to Dutch (Belgium), that would change Excel's argument
delimiter from a comma to a semi-colon?

Thanks,
Chuck

Pete_UK wrote:
Some countries use a semicolon rather than a comma in formulae - could
it be something like that? Have you tried setting the Local Settings of
the PC in Belgium to act as if it were in USA, load the Excel file in
and then change the Regional Settings back to Belgium? If this works,
then you have your Excel file translated for the Belgium office.

Hope this helps.

Pete

c mateland wrote:

I have a formula I've successfully used in a spreadsheet for over seven
years in the USA (spanning multiple users and Excel versions). A group
in Belgium is now trying to use it, and getting an "Error in formula"
error. They have the exact same computer set up we use (Excel 2003),
yet the formula doesn't work over there. They have tried on several
machines.

Anyone know why this might be? Or any debugging strategies? Any insight
or guesses at all?

Details...

Where SerArea is named dynamic named range in column A.
Where LetIdNum is a named cell (value is "D")

The variable syntax is this:

=COUNTIF(SerArea,INDIRECT(LetIdNum&ROW()))1

That gets the error when entering it ONLY in Belgium.

Without variables, it would evaluate to this simple syntax:

=COUNTIF(A1:A18,D2)1

Funny thing, when entered in that simple format in Belgium, it WORKS.

Then, in Belgium, we replace a constant for a variable and it still
works:

=COUNTIF(A1:A18,INDIRECT(LetIdNum&ROW()))1

Then, in Belgium, we replace the last constant to a variable and it
still works:

=COUNTIF(SerArea,INDIRECT(LetIdNum&ROW()))1

Guess what? NOW, it's been edited back to the original syntax it
refused to accept before. It threw an error when we put it in directly
like that, but when we put it in as simple syntax and then edit it to
this it works. Is that crazy or what?

Any helpful comments would be great because I need the variable version
of the syntax to work like it has here in the States for so many years.

Thanks,
Chuck




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Really strange issue with simple formula

I don't know, as I have no experience of this, but it's something quick
you could try.

Pete

c mateland wrote:

Excellent idea, to check the regional settings, Pete. They told me they
were US, but I didn't actually verify that.

So, if set to Dutch (Belgium), that would change Excel's argument
delimiter from a comma to a semi-colon?

Thanks,
Chuck

Pete_UK wrote:
Some countries use a semicolon rather than a comma in formulae - could
it be something like that? Have you tried setting the Local Settings of
the PC in Belgium to act as if it were in USA, load the Excel file in
and then change the Regional Settings back to Belgium? If this works,
then you have your Excel file translated for the Belgium office.

Hope this helps.

Pete

c mateland wrote:

I have a formula I've successfully used in a spreadsheet for over seven
years in the USA (spanning multiple users and Excel versions). A group
in Belgium is now trying to use it, and getting an "Error in formula"
error. They have the exact same computer set up we use (Excel 2003),
yet the formula doesn't work over there. They have tried on several
machines.

Anyone know why this might be? Or any debugging strategies? Any insight
or guesses at all?

Details...

Where SerArea is named dynamic named range in column A.
Where LetIdNum is a named cell (value is "D")

The variable syntax is this:

=COUNTIF(SerArea,INDIRECT(LetIdNum&ROW()))1

That gets the error when entering it ONLY in Belgium.

Without variables, it would evaluate to this simple syntax:

=COUNTIF(A1:A18,D2)1

Funny thing, when entered in that simple format in Belgium, it WORKS.

Then, in Belgium, we replace a constant for a variable and it still
works:

=COUNTIF(A1:A18,INDIRECT(LetIdNum&ROW()))1

Then, in Belgium, we replace the last constant to a variable and it
still works:

=COUNTIF(SerArea,INDIRECT(LetIdNum&ROW()))1

Guess what? NOW, it's been edited back to the original syntax it
refused to accept before. It threw an error when we put it in directly
like that, but when we put it in as simple syntax and then edit it to
this it works. Is that crazy or what?

Any helpful comments would be great because I need the variable version
of the syntax to work like it has here in the States for so many years.

Thanks,
Chuck


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Really strange issue with simple formula

The other big snafu is dates in VBA. VBA is very US centric on dates,
whereas we use dd/mm/yyy format over here.

--
HTH

Bob Phillips

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"c mateland" wrote in message
ups.com...
Thanks, Bob.

Actually, I sent the formula in text so they would copy and paste the
formula in, preventing inconsistancies in the syntax.

But, I'd still like to investigate the comma/semi-colon issue more with
them. Is there more I should know about that? Is that true in all of
Europe? Who uses commas and who uses other delimiters for arguments?
Any other USA/Europe snaffu's to look for? This is new to me. Thanks
for the help.

Anyway, if that turns out the be the problem, I'll have to create a
Belgium version of the workbook, I guess? That's not going to be fun,
because I use hundreds of formulas, many of them entered and maintained
via VBA, userforms, and thousands of lines of code. <g

I'll let you know what I find out.

Thanks,
Chuck


Bob Phillips wrote:
Chuck,

Are you sure they are entering exactly the same formula and not

=COUNTIF(A1:A18;D2)1

Normally, Belgium would use semi-colon as an argument

identifier/delimiter,
whereas you would use comma. Building that up maintains the syntax.

Good summary BTW, very clear.

--
HTH

Bob Phillips

(there's no email, no snail mail, but somewhere should be gmail in my

addy)

"c mateland" wrote in message
ups.com...
I have a formula I've successfully used in a spreadsheet for over

seven
years in the USA (spanning multiple users and Excel versions). A group
in Belgium is now trying to use it, and getting an "Error in formula"
error. They have the exact same computer set up we use (Excel 2003),
yet the formula doesn't work over there. They have tried on several
machines.

Anyone know why this might be? Or any debugging strategies? Any

insight
or guesses at all?

Details...

Where SerArea is named dynamic named range in column A.
Where LetIdNum is a named cell (value is "D")

The variable syntax is this:

=COUNTIF(SerArea,INDIRECT(LetIdNum&ROW()))1

That gets the error when entering it ONLY in Belgium.

Without variables, it would evaluate to this simple syntax:

=COUNTIF(A1:A18,D2)1

Funny thing, when entered in that simple format in Belgium, it WORKS.

Then, in Belgium, we replace a constant for a variable and it still
works:

=COUNTIF(A1:A18,INDIRECT(LetIdNum&ROW()))1

Then, in Belgium, we replace the last constant to a variable and it
still works:

=COUNTIF(SerArea,INDIRECT(LetIdNum&ROW()))1

Guess what? NOW, it's been edited back to the original syntax it
refused to accept before. It threw an error when we put it in directly
like that, but when we put it in as simple syntax and then edit it to
this it works. Is that crazy or what?

Any helpful comments would be great because I need the variable

version
of the syntax to work like it has here in the States for so many

years.

Thanks,
Chuck




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
formula issue AlienBeans Excel Discussion (Misc queries) 7 May 30th 06 04:47 AM
Simple Excel Formula Help robert145 New Users to Excel 7 March 17th 06 04:32 PM
Strange behavior in INDEX(..., MIN(...)) - array formula vezerid Excel Discussion (Misc queries) 2 February 21st 06 11:56 AM
simple formula Brian Excel Worksheet Functions 7 June 17th 05 04:45 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM


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