+ Reply to Thread
Results 1 to 2 of 2

Formula to get (Prior Biz Day) and (Prior Biz Day -1); ex-holidays

  1. #1
    Forum Contributor
    Join Date
    06-10-2005
    MS-Off Ver
    2007
    Posts
    223

    Formula to get (Prior Biz Day) and (Prior Biz Day -1); ex-holidays

    Hi,
    I am trying to get the (prior biz day) in one cell and then (the biz day prior to the prior biz day) in another cell; excluding holidays.
    If I have a table with the holiday dates for when the stock market is closed, is there a way to do this?

    Any help would be appreciated.
    Phillycheese
    Last edited by Phillycheese5; 10-15-2013 at 10:44 AM.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Formula to get (Prior Biz Day) and (Prior Biz Day -1); ex-holidays

    You can use WORKDAY function, e.g. with a date in A1 you can get the previous WORKDAY with this formula

    =WORKDAY(A1,-1,holidays)

    where holidays is a named range containing the holiday dates (you can use a cell reference too)

    Change -1 to -2 to get the business day before that......
    Audere est facere

  3. #3
    Forum Contributor
    Join Date
    06-10-2005
    MS-Off Ver
    2007
    Posts
    223

    Re: Formula to get (Prior Biz Day) and (Prior Biz Day -1); ex-holidays

    Thanks DaddyLongLegs!
    Works perfectly.

+ 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. Add text prior to concatenate formula
    By sierra623 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-05-2013, 08:57 PM
  2. Prior Month Formula
    By freybe06 in forum Excel General
    Replies: 5
    Last Post: 02-15-2011, 07:50 PM
  3. [SOLVED] Overwriting prior formula
    By Mark in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-15-2006, 10:05 AM
  4. formula for month(s) prior to actual
    By braadi in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-07-2005, 01:10 PM
  5. [SOLVED] formula for month that is prior to actual
    By braadi in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-06-2005, 03:35 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