Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Snaggle22
 
Posts: n/a
Default How to lookup the dates of a list that are only the first of the .

If I have a list of dates in a column that start with 1/1/2006 and goes to
1/1/2025, with each date being the first of the month for ex: 1/1/2006 then
2/1/2006......1/1/2025, how do I lookup just the dates that are the FIRST of
the year. For example: I want to put a 'yes' in the next column if the date
is the first of the year and a 'no' if it isn't. Thanks
  #2   Report Post  
Duke Carey
 
Posts: n/a
Default

Since all your dates are the first of the month, aren't you really asking if
the month of any particular date is January?

=IF(MONTH(A1)=1,"Yes","No")


"Snaggle22" wrote:

If I have a list of dates in a column that start with 1/1/2006 and goes to
1/1/2025, with each date being the first of the month for ex: 1/1/2006 then
2/1/2006......1/1/2025, how do I lookup just the dates that are the FIRST of
the year. For example: I want to put a 'yes' in the next column if the date
is the first of the year and a 'no' if it isn't. Thanks

  #3   Report Post  
Snaggle22
 
Posts: n/a
Default

Well actually I would just like to know if the cell with the date in it is
January 1st of any of the specific years in the column. For example, I could
have 1-1-2006, 1-4-2006, 1-1-2007, 1-1-2008, 1-7-2008, etc. I just want
January 1sts of each year. thanks in advance

"Duke Carey" wrote:

Since all your dates are the first of the month, aren't you really asking if
the month of any particular date is January?

=IF(MONTH(A1)=1,"Yes","No")


"Snaggle22" wrote:

If I have a list of dates in a column that start with 1/1/2006 and goes to
1/1/2025, with each date being the first of the month for ex: 1/1/2006 then
2/1/2006......1/1/2025, how do I lookup just the dates that are the FIRST of
the year. For example: I want to put a 'yes' in the next column if the date
is the first of the year and a 'no' if it isn't. Thanks

  #4   Report Post  
Snaggle22
 
Posts: n/a
Default

Nevermind, I got it. Thanks man!

"Snaggle22" wrote:

Well actually I would just like to know if the cell with the date in it is
January 1st of any of the specific years in the column. For example, I could
have 1-1-2006, 1-4-2006, 1-1-2007, 1-1-2008, 1-7-2008, etc. I just want
January 1sts of each year. thanks in advance

"Duke Carey" wrote:

Since all your dates are the first of the month, aren't you really asking if
the month of any particular date is January?

=IF(MONTH(A1)=1,"Yes","No")


"Snaggle22" wrote:

If I have a list of dates in a column that start with 1/1/2006 and goes to
1/1/2025, with each date being the first of the month for ex: 1/1/2006 then
2/1/2006......1/1/2025, how do I lookup just the dates that are the FIRST of
the year. For example: I want to put a 'yes' in the next column if the date
is the first of the year and a 'no' if it isn't. Thanks

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
how do i print a list of names and dates in excel into a two-colu. Captainbob Excel Discussion (Misc queries) 2 March 4th 05 08:54 PM
Lookup with two variable data list cells Monkey Excel Worksheet Functions 2 February 10th 05 11:29 PM
FILTER OUT DATES IN LIST Lisa Excel Worksheet Functions 1 January 31st 05 02:17 PM
have dates entered from a list of data into an excel template Diane Excel Discussion (Misc queries) 1 December 28th 04 06:33 PM
Lookup a date between other dates spalmarez Excel Worksheet Functions 1 November 4th 04 09:48 PM


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