Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
famdamly
 
Posts: n/a
Default =IF(ISNONTEXT(Sheet1!C2),(A5=A5+1),(A5=1))


Weird, when I put text in the queried field it returns true, and vise
versa for ISTEXT, I must not understand the logic of that.


--
famdamly
------------------------------------------------------------------------
famdamly's Profile: http://www.excelforum.com/member.php...o&userid=29382
View this thread: http://www.excelforum.com/showthread...hreadid=492619

  #2   Report Post  
Posted to microsoft.public.excel.misc
Ron Rosenfeld
 
Posts: n/a
Default =IF(ISNONTEXT(Sheet1!C2),(A5=A5+1),(A5=1))

On Sun, 11 Dec 2005 20:43:06 -0600, famdamly
wrote:


Weird, when I put text in the queried field it returns true, and vise
versa for ISTEXT, I must not understand the logic of that.


=IF(ISNONTEXT(C2),A5=A5+1,A5=1)

Makes perfect sense if A5 contains a 1.

Your formula says to execute either:
A5=A5+1
or
A5=1

depending on the result of your logical test.

A5=A5+1 must always be FALSE.

A5=1 will be True if there is a '1' in A5.


--ron
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



All times are GMT +1. The time now is 04:56 AM.

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"