#1   Report Post  
Posted to microsoft.public.excel.misc
nastech
 
Posts: n/a
Default DATE question

Hi, thanks for the reply, been typing on this trying to make it work. Was
looking at ISNUMBER also (what to the dashes before --MID do?) either way,
could not get that to work. (original: IF(T9=":" is used with a date in
column, at least :999999, all works; not a good answer yet though). updated
info he

have 3 conditions:
1 < x days out, in-range (today & apply "dd")
2 x days out, then use sub formulas
3 cell empty, no date entered

currently working on / need help with something like:
=IF(LEFT(T9,1)=":", if date is :999999 all items work, no
date = FALSE error, status (1 & 2, not 3)
=IF(ISNUMBER(MID((T9,2,6)),
=IF(AND(LEFT(T9,1)=":",ISNUMBER(MID(T9,2,6))), not doing this right?
=IF(AND(LEFT(T9,1)=":",ISNUMBER(--MID(T9,2,6))), STATUS: (1 & 3, not 2)

details:
:yymmdd followed by word text... or:
:060122 text then written...

$H$7 has 5 for 5 days, I get correct response for
greater than & less than date & rest of formula works,
if no date is present, i get a FALSE, and rest of formula does not work.

=IF(LEFT(T9,1)=":",IF(AND(TODAY()DATE(MID(T9,2,2) +100,MID(T9,4,2),MID(T9,6,2)-$H$7)),"dd",IF(BE9="T","dn",IF(BF9="T","up","ck")) ))

"Roger Govier" wrote:

Hi

Maybe
=IF(AND(LEFT(T9,7)=":",ISNUMBER(--MID(T9,2,6))),"do something","do
something else")

--
Regards Roger Govier

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
Date Question nastech Excel Discussion (Misc queries) 5 January 19th 06 09:40 PM
Date Question John Excel Discussion (Misc queries) 4 January 15th 06 06:33 PM
Reference question Dorn Excel Worksheet Functions 2 November 11th 05 09:23 PM
Recurring annual events using a specific date as a trigger date Bamboozled Excel Worksheet Functions 1 June 6th 05 01:44 PM
Cell / Date Formatting Question when result = -0- seve Excel Discussion (Misc queries) 3 January 17th 05 02:29 AM


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