LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Excel - Double Negatives (Past, Present and Future)

In article ,
Harlan Grove wrote:

Wrapping boolean expressions inside N() is another alternative, possibly
clearer, but it eats a nested function call level, so I don't use it.


Also, IsNumber(N(...)) always returns True; that was my first try to get
around the fact that IsNumber(Left(...,2)) always returned False, though the
first two digits of that string was sometimes a number. Eventually I did
run across a usage of IsNumber(-Left(...,2)), which accomplished the
discrimination I wanted (between 1-digit and 2-digit leading numerics in a
date-derived string).

By the way, in Excel XP, IsDate("50-1") returns True; the above code was
originally part of a workaround for that problem.

--
Randy Hudson
 
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
present value of "past" and future amounts Tim Excel Worksheet Functions 0 March 26th 09 02:54 AM
present value of a future amount xrbbaker Excel Worksheet Functions 4 September 11th 07 12:00 AM
Present value and future value Ted Metro Excel Worksheet Functions 6 April 7th 07 09:30 PM
How do I Calculate a future or past date in Excel? MosMash Excel Discussion (Misc queries) 2 July 6th 05 10:15 PM
calculating the future value of a present value se Excel Worksheet Functions 2 December 8th 04 03:42 PM


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