#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 33
Default date formula

i have data with date commissionings of last four years. I want to take them
as, before 01/04/2005 as 1, and in between 01/04/05 to 01/04/2006 as 2 and
after 01/04/2006 as 3. when i'm using datevalue() using if it is satisfying
some conditions only.
can any one help ? I need urgently .
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default date formula

I've checked and for me the formula returns 2 for 30/05/2005. Have a look at
the cell containing 30/05/2005! Is it a real Excel date?

Stefi

€ždeepak bsg€ť ezt Ă*rta:

but when the date is 30/05/2005 it is showing 3. according to criteria it has
to show 2. check once.

"deepak bsg" wrote:

i have data with date commissionings of last four years. I want to take them
as, before 01/04/2005 as 1, and in between 01/04/05 to 01/04/2006 as 2 and
after 01/04/2006 as 3. when i'm using datevalue() using if it is satisfying
some conditions only.
can any one help ? I need urgently .

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 33
Default date formula

Thank u stefi
I've checked my data (it's purely excel ) & I changed the date format to
yyyy/mm/dd.
When changed it into that format the formula is getting the result.
so thank u very much

"Stefi" wrote:

I've checked and for me the formula returns 2 for 30/05/2005. Have a look at
the cell containing 30/05/2005! Is it a real Excel date?

Stefi

€ždeepak bsg€ť ezt Ă*rta:

but when the date is 30/05/2005 it is showing 3. according to criteria it has
to show 2. check once.

"deepak bsg" wrote:

i have data with date commissionings of last four years. I want to take them
as, before 01/04/2005 as 1, and in between 01/04/05 to 01/04/2006 as 2 and
after 01/04/2006 as 3. when i'm using datevalue() using if it is satisfying
some conditions only.
can any one help ? I need urgently .

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 33
Default date formula

but when the date is 30/05/2005 it is showing 3. according to criteria it has
to show 2. check once.

"deepak bsg" wrote:

i have data with date commissionings of last four years. I want to take them
as, before 01/04/2005 as 1, and in between 01/04/05 to 01/04/2006 as 2 and
after 01/04/2006 as 3. when i'm using datevalue() using if it is satisfying
some conditions only.
can any one help ? I need urgently .

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default date formula

It should work with any valid Excel date format, either yyyy/mm/dd or
dd/mm/yyyy, etc.
Stefi


€ždeepak bsg€ť ezt Ă*rta:

Thank u stefi
I've checked my data (it's purely excel ) & I changed the date format to
yyyy/mm/dd.
When changed it into that format the formula is getting the result.
so thank u very much

"Stefi" wrote:

I've checked and for me the formula returns 2 for 30/05/2005. Have a look at
the cell containing 30/05/2005! Is it a real Excel date?

Stefi

€ždeepak bsg€ť ezt Ă*rta:

but when the date is 30/05/2005 it is showing 3. according to criteria it has
to show 2. check once.

"deepak bsg" wrote:

i have data with date commissionings of last four years. I want to take them
as, before 01/04/2005 as 1, and in between 01/04/05 to 01/04/2006 as 2 and
after 01/04/2006 as 3. when i'm using datevalue() using if it is satisfying
some conditions only.
can any one help ? I need urgently .

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
Create a formula in a date range to locate a specific date - ecel util Excel Discussion (Misc queries) 0 February 19th 07 03:03 PM
Excel Formula to calulate number of days passed from date to date K. Mack Excel Discussion (Misc queries) 8 January 4th 07 11:27 PM
Date Function formula that will return the date of a specific week Greg Excel Worksheet Functions 4 June 12th 06 05:07 PM
Formula for determining if two date columns fall within specific date range Igottabeme Excel Worksheet Functions 2 April 21st 06 02:50 AM
Formula for determining if two date columns fall within specific date range Igottabeme Excel Discussion (Misc queries) 1 April 20th 06 10:03 PM


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