#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 54
Default week entry new

if in cell A1 date is given, how can i do week entry of financial year in
cell B1.
note: financial year 1st APR to 31st March.

e.g.
A1=02-APR 09 B1=1st Week
A2=28 Mar 09 B2=52nd Week
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default week entry new

Hi Aditya

In B1 try

=ROUND(DATEDIF(DATE(IF(MONTH(A1)<4,YEAR(A1)-1,YEAR(A1)),4,1),A1,"d")/7,0)+1

If this post helps click Yes
---------------
Jacob Skaria


"aditya" wrote:

if in cell A1 date is given, how can i do week entry of financial year in
cell B1.
note: financial year 1st APR to 31st March.

e.g.
A1=02-APR 09 B1=1st Week
A2=28 Mar 09 B2=52nd Week

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default week entry new

Hi

I take it that you meant 28 Mar 10 in A2.
If so, then
=INT((A1-"01/04/2009")/7)+1

--
Regards
Roger Govier

"aditya" wrote in message
...
if in cell A1 date is given, how can i do week entry of financial year in
cell B1.
note: financial year 1st APR to 31st March.

e.g.
A1=02-APR 09 B1=1st Week
A2=28 Mar 09 B2=52nd Week


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default week entry new

How do you define your weeks?
Does week 1 run from 1st to 7th of March, or is it dependent on the day of
the week?
If the former, perhaps =INT((A1-DATE(YEAR(A1)-(MONTH(A1)<4),4,1))/7)+1
--
David Biddulph

"aditya" wrote in message
...
if in cell A1 date is given, how can i do week entry of financial year in
cell B1.
note: financial year 1st APR to 31st March.

e.g.
A1=02-APR 09 B1=1st Week
A2=28 Mar 09 B2=52nd Week



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
week entry aditya Excel Discussion (Misc queries) 1 June 3rd 09 01:21 PM
week entry aditya Excel Discussion (Misc queries) 1 June 1st 09 07:27 AM
Automatically Insert Dates For Week Off One Day Entry CVinje Excel Discussion (Misc queries) 7 March 29th 09 07:37 AM
Date Entry in 1 Cell with result populating for entire week in ano Mike Excel Discussion (Misc queries) 3 February 6th 08 06:44 PM
day of the week entry automatically DennyD Excel Worksheet Functions 3 September 22nd 05 09:56 PM


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