+ Reply to Thread
Results 1 to 2 of 2

Fri last week, 2 weeks ago, 6 months ago, 1 year ago BUT if it falls on holiday???

  1. #1
    Registered User
    Join Date
    07-24-2013
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2010
    Posts
    46

    Fri last week, 2 weeks ago, 6 months ago, 1 year ago BUT if it falls on holiday???

    Hi,

    I have set up a spreadsheet that everyday that I open it automatically calculates from todays date what date was last fri, what date was last Monday, what were the fri and Monday dates 2 weeks ago, 6 months ago, and 1 year ago. You can see the formulas I am using in the attached file.

    My issue is about the Fridays - if any of these Fridays happens sometime to be date that was a holiday, how can I set it up so if it was on a holiday to show the Thursday date before that Friday?

    Thanks for all your help!!!
    Attached Files Attached Files

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,032

    Re: Fri last week, 2 weeks ago, 6 months ago, 1 year ago BUT if it falls on holiday???

    You need to define somwhere Holiday list and then if that friday match that list you can take -1 otherwise 0
    Never use Merged Cells in Excel

+ 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. Find if holiday falls within date range
    By icyrius in forum Excel General
    Replies: 18
    Last Post: 01-03-2013, 12:12 PM
  2. Dividing monthly values into weeks automatically (some months have 5 weeks)
    By massimoo in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-07-2012, 03:20 AM
  3. how to sum day if it falls in a weekend or holiday?
    By jgomez in forum Access Tables & Databases
    Replies: 2
    Last Post: 11-30-2011, 01:54 PM
  4. Excel 2007 : Day a holiday falls
    By mcinnes01 in forum Excel General
    Replies: 17
    Last Post: 06-11-2010, 11:10 AM
  5. [SOLVED] Work week holiday for different countries
    By Data_Lisa in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 06-07-2006, 02:40 PM

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