Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
mully
 
Posts: n/a
Default Another User Form Query

Hi

Using Excel and the following formula =DATEDIF(I3,TODAY(),"y") in the User
Form Text Box it shows 105 if I haven't entered a date in cell I3 is there
anything I can add to the above formula that will show a zero or just leave
the Text Box blank until a date is entered in cell I3.

Any help much appreciated

Cheers ---- Mully
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

=IF(I3="",0,DATEDIF(I3,TODAY(),"y"))

--
HTH

Bob Phillips

"mully" wrote in message
...
Hi

Using Excel and the following formula =DATEDIF(I3,TODAY(),"y") in the User
Form Text Box it shows 105 if I haven't entered a date in cell I3 is there
anything I can add to the above formula that will show a zero or just

leave
the Text Box blank until a date is entered in cell I3.

Any help much appreciated

Cheers ---- Mully



  #3   Report Post  
mully
 
Posts: n/a
Default

Hi Bob

Thanks again - my old addled brain gets worse - see in the press we've got
100 million off the Glaziers - roll next season - again according to the
press Henry might be on his way to Barcelona £50 Million????
Have you seen the other query about mail merging from the user form ??? and
is it possible ?? just trying to make things so simple for the customer where
he just clicks and it does the job for him.
Just leaving to go and see him now he's back from Cardiff - back about 5pm

Thanks again -- Cheers -- Mully

"Bob Phillips" wrote:

=IF(I3="",0,DATEDIF(I3,TODAY(),"y"))

--
HTH

Bob Phillips

"mully" wrote in message
...
Hi

Using Excel and the following formula =DATEDIF(I3,TODAY(),"y") in the User
Form Text Box it shows 105 if I haven't entered a date in cell I3 is there
anything I can add to the above formula that will show a zero or just

leave
the Text Box blank until a date is entered in cell I3.

Any help much appreciated

Cheers ---- Mully




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
User Form to Mail Merge mully New Users to Excel 0 May 24th 05 11:45 AM
opening a user form maxzsim Excel Worksheet Functions 2 May 4th 05 10:03 AM
user form static69 Excel Discussion (Misc queries) 1 February 6th 05 08:43 PM
Data Entry Alert in User Form Kev Excel Discussion (Misc queries) 6 January 8th 05 03:01 PM
A "previous" button on a user form Anthony Slater Excel Discussion (Misc queries) 3 November 29th 04 05:57 PM


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