Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 989
Default ISTEXT evaluates to 0 ? (not FALSE)

Hello.

I have a subroutine that uses a formula to determine if a cell is the same
as the one below it, and the formula, =EXACT(a1,a2) is evaluating properly in
some cases, and in others, it's returning #VALUE on the last row of data...
where it compares a cell with data, vs. a blank cell.

What I've noticed with the spreadsheets where it works is that the logical
functinos, =isnumber and =istext , etc., evaluate to TRUE or FALSE, as they
are supposed to. However, on the spreadhseets where =EXACT fails, the
logical functions evaluate to 1 or 0.

I know those are the same things, thinking in a Boolean manner, but it's
consistent. It appears to be newly created sheets that work fine, and sheets
that have had other data on them in the past which fail.

Is there a setting or property that you know of which would cause this
behavior?

Thanks,
Mark
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default ISTEXT evaluates to 0 ? (not FALSE)

For that troublesome workbook, try toggling:

Tools|Options|Transition tab|Uncheck "transition formula evaluation"



mark wrote:

Hello.

I have a subroutine that uses a formula to determine if a cell is the same
as the one below it, and the formula, =EXACT(a1,a2) is evaluating properly in
some cases, and in others, it's returning #VALUE on the last row of data...
where it compares a cell with data, vs. a blank cell.

What I've noticed with the spreadsheets where it works is that the logical
functinos, =isnumber and =istext , etc., evaluate to TRUE or FALSE, as they
are supposed to. However, on the spreadhseets where =EXACT fails, the
logical functions evaluate to 1 or 0.

I know those are the same things, thinking in a Boolean manner, but it's
consistent. It appears to be newly created sheets that work fine, and sheets
that have had other data on them in the past which fail.

Is there a setting or property that you know of which would cause this
behavior?

Thanks,
Mark


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 989
Default ISTEXT evaluates to 0 ? (not FALSE)

For that troublesome workbook, try toggling:
Tools|Options|Transition tab|Uncheck "transition formula evaluation"


Thanks Dave!

That's it, exactly. And, it makes sense... the file where it popped up was
one that was originally started from an old Lotus file.

Thank you!
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default ISTEXT evaluates to 0 ? (not FALSE)

I'd turn off all those transition settings -- especially if I'm not a regular
user of Lotus 123.

mark wrote:

For that troublesome workbook, try toggling:
Tools|Options|Transition tab|Uncheck "transition formula evaluation"


Thanks Dave!

That's it, exactly. And, it makes sense... the file where it popped up was
one that was originally started from an old Lotus file.

Thank you!


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 989
Default ISTEXT evaluates to 0 ? (not FALSE)

I'd turn off all those transition settings -- especially if I'm not a regular
user of Lotus 123.



Earlier today, I put a line in the subroutine to turn off that setting, so
that it can't cause a problem there any more.

We used to use Lotus here, but not now.

Thanks again.
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
Blank cells: ISBLANK = FALSE, ISTEXT = TRUE Raj[_2_] Excel Worksheet Functions 3 January 4th 08 04:47 PM
What is function that evaluates other functions indirectly? [email protected] Excel Worksheet Functions 3 February 12th 07 03:26 AM
Please help - formula works in some cells but evaluates to #value in others Ullie Excel Worksheet Functions 2 June 14th 06 08:16 PM
ifcount evaluates always false christopher ward Excel Programming 13 January 17th 06 11:44 PM
Data Validation preventing ISTEXT() from reading FALSE in '97 Adam Kroger Excel Discussion (Misc queries) 2 November 28th 05 12:34 PM


All times are GMT +1. The time now is 10:40 PM.

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"