#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
nandin11
 
Posts: n/a
Default Extracting Dates


Hi,

I have dates formatted as 12-Jan-1967 (in A1) and 11-Jan-1967(in B1).
How do I tell Excel to take the date 12-Jan-1967 in C1 since I want
only the dates from/after the 12th day of the month? Since the dates
are stored as numbers is there a way to check for the first two digits
and if the first two digits are less than 12 then to reject that date?
Basically all I want to do is extract dates from the 12th and reject
the ones before the 12th of any month. Thank you!


--
nandin11
------------------------------------------------------------------------
nandin11's Profile: http://www.excelforum.com/member.php...o&userid=34840
View this thread: http://www.excelforum.com/showthread...hreadid=545869

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Daniel CHEN
 
Posts: n/a
Default Extracting Dates

=IF(DAY(A1)=12,A1,"")
Remember to format C1 as date
--
Best regards,
---
Yongjun CHEN
=================================
XLDataSoft - Data Analysis Expert, Excel/VBA Specialist
- - - - www.XLDataSoft.com - - - -
Free Excel-Based Data Processing Tool is Available for Download
Free Excel / VBA Training Materials is Available for Download
=================================
"nandin11" wrote in
message ...

Hi,

I have dates formatted as 12-Jan-1967 (in A1) and 11-Jan-1967(in B1).
How do I tell Excel to take the date 12-Jan-1967 in C1 since I want
only the dates from/after the 12th day of the month? Since the dates
are stored as numbers is there a way to check for the first two digits
and if the first two digits are less than 12 then to reject that date?
Basically all I want to do is extract dates from the 12th and reject
the ones before the 12th of any month. Thank you!


--
nandin11
------------------------------------------------------------------------
nandin11's Profile:
http://www.excelforum.com/member.php...o&userid=34840
View this thread: http://www.excelforum.com/showthread...hreadid=545869



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
Extracting Dates nandin11 Excel Discussion (Misc queries) 3 May 27th 06 12:05 AM
formula to add dates. S S Excel Worksheet Functions 8 April 5th 06 07:53 PM
Extracting Dates Reefaman Excel Worksheet Functions 6 March 10th 06 12:25 PM
need to convert list of dates to count no. of dates by week neowok Excel Worksheet Functions 13 January 30th 06 03:54 PM
date formula for extracting unique dates elfudge35 Excel Worksheet Functions 6 January 14th 06 02:18 PM


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

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"