+ Reply to Thread
Results 1 to 5 of 5

Formula applys on a biweekly Thursday in all dates 2017

  1. #1
    Forum Contributor
    Join Date
    06-19-2014
    Location
    Toronto, Canada
    MS-Off Ver
    Office365
    Posts
    273

    Formula applys on a biweekly Thursday in all dates 2017

    Hello,

    I need help with a formula that does:

    I have in col A all calendar dates in 2017, in col B I need a formula that grabs a number (say $10) from another sheet only if the date is a Thursday on a biweekly basis.

    for example:
    Tuesday 24-Jan-17
    Wednesday25-Jan-17
    Thursday 26-Jan-17 $10.00
    Friday 27-Jan-17
    Saturday 28-Jan-17
    Sunday 29-Jan-17
    Monday 30-Jan-17
    Tuesday 31-Jan-17
    Wednesday01-Feb-17
    Thursday 02-Feb-17
    Friday 03-Feb-17
    Saturday 04-Feb-17
    Sunday 05-Feb-17
    Monday 06-Feb-17
    Tuesday 07-Feb-17
    Wednesday08-Feb-17
    Thursday 09-Feb-17 $10.00
    Friday 10-Feb-17
    Saturday 11-Feb-17
    Sunday 12-Feb-17
    Monday 13-Feb-17
    Tuesday 14-Feb-17
    Wednesday15-Feb-17
    Thursday 16-Feb-17

    I'm ok with the "Thursday" part, I use =if(text(A2,"dddd")="Thursday"...but I don't know how to get the biweekly one work.

    thanks so much!
    Lynn

  2. #2
    Registered User
    Join Date
    12-17-2016
    Location
    South Wales
    MS-Off Ver
    Excel 2007, 2016
    Posts
    68

    Re: Formula applys on a biweekly Thursday in all dates 2017

    Can you fix it based on the first Thursday? Say Thurs 26/01/2017 is in cell A3. The beginning of your "if" statement for row 4 would then be:
    =if((A4-A$3)/14=int((A4-A$3)/14),...
    What the formula does is check whether the difference between the current and initial date is a multiple of 14 days.

  3. #3
    Forum Contributor
    Join Date
    06-19-2014
    Location
    Toronto, Canada
    MS-Off Ver
    Office365
    Posts
    273

    Re: Formula applys on a biweekly Thursday in all dates 2017

    thanks for your help Trevor. Joe4 solved my problem by using iseven(weeknum(A1)), which works perfectly!

  4. #4
    Registered User
    Join Date
    12-17-2016
    Location
    South Wales
    MS-Off Ver
    Excel 2007, 2016
    Posts
    68

    Re: Formula applys on a biweekly Thursday in all dates 2017

    That's good, I didn't know about weeknum - that's a much better way to do it!
    Last edited by Trevor_S; 01-24-2017 at 06:05 PM.

  5. #5
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Formula applys on a biweekly Thursday in all dates 2017

    As an aside, an easier way to check for a Thursday is to use Weekday:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    the '1' after the cell reference sets Sunday as the first day of the week, so day 5 is Thursday.
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 23
    Last Post: 01-03-2022, 10:45 AM
  2. [SOLVED] 2017 Revenue Forecast Trend Formula
    By Neilesh Kumar in forum Excel General
    Replies: 10
    Last Post: 12-21-2016, 11:59 AM
  3. Formula that applys to a range of data
    By Ainsley in forum Excel General
    Replies: 1
    Last Post: 02-03-2016, 08:02 AM
  4. Formula for calculating biweekly pay period dates/tracking sick time
    By think0rz in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-07-2015, 03:58 PM
  5. Display all Thursday dates in month
    By badincite in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-25-2014, 08:22 PM
  6. Canadian Biweekly Formula
    By doublezero in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 07-17-2007, 08:29 PM
  7. next thursday formula?
    By Ctrl in forum Excel General
    Replies: 3
    Last Post: 02-16-2006, 03:31 AM

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