+ Reply to Thread
Results 1 to 2 of 2

Calculate no of days

Hybrid View

kamalthakur Calculate no of days 12-18-2009, 07:15 AM
Domski Re: Calculate no of days 12-18-2009, 07:44 AM
  1. #1
    Registered User
    Join Date
    04-01-2008
    Posts
    54

    Post Calculate no of days

    Hi all ,

    I have a query here in regard with date calculations

    Lets say If I have two dates one is Quote date and a calendar week is given

    ex: 09/06/2009 (MM/DD/YYYY) and Calender week is 48th.

    If i am generating the task today then it should first find the difference between the quote date and Calender week

    Next step should be, add this diiference value days to the current date and should give me the future working day

  2. #2
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Calculate no of days

    =DATE(YEAR(A1),1,B1*7-2)-WEEKDAY(DATE(YEAR(A1),1,3))

    Will give you the date from the week number where A1 holds your quote date and B1 the week number.

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1