LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
gilbert
 
Posts: n/a
Default Verifying Dates


Dear Excel Experts,

Could anyone please show me how should I overcome this problem:-

1) Supposing I have a cell, say cell A1 with the formula "=today()" -
this will show today's date in cell A1

2) I need cell B1 to check cell A1 to determine the result. Cell B1
will be using a simple formula of "if....then...else".

If I want cell B1 to check only the day and month of cell A1 (for
certain criteria), but to show in cell B1 only the year result....how
should I approach this?

The criteria for cell B1 would be

if A1's date is larger than 30/6, then B1 should return with the year
as in cell A1
if A1's date is smaller than 30/6, then B1 should return with the
preceeding year of cell A1.

Looking forward for your advise and assistance.

Thank you...


Best regards,
Gilbert


--
gilbert

An eager learner for Excel
------------------------------------------------------------------------
gilbert's Profile: http://www.excelforum.com/member.php...fo&userid=4686
View this thread: http://www.excelforum.com/showthread...hreadid=465782

 
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
2 digit year in dates return 19xx not 20xx moranbo Excel Discussion (Misc queries) 1 September 7th 05 01:44 AM
Default Dates Sue Excel Discussion (Misc queries) 1 July 22nd 05 12:29 PM
Using dates for x-axis values as string instead of creating a scale cs_weirdo Charts and Charting in Excel 2 June 17th 05 12:20 AM
Formating Dates for production schedule dpl7579 Excel Discussion (Misc queries) 1 January 11th 05 08:43 PM
due dates Niki New Users to Excel 4 January 10th 05 04:11 PM


All times are GMT +1. The time now is 09:55 PM.

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"