LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Date - I would like to skip weekends in a date range

Try this:

=SUMPRODUCT(--('Ser Data'!A7:A2028=WORKDAY(TODAY(),-1)),--('Ser
Data'!B7:B2028="s"),'Ser Data'!C7:C2028)


"confused" wrote:

I have a formula that takes information from another sheet based on
yesterdays date. It works great except on Monday's where yesterdays date is
Sunday which has no data. We don't work on Saturday or Sunday but I want to
retreive Friday's information on Monday.
Is there a way to select the prior weekday (instead of the prior day) and
skip the weekends.

Here is the formula I am currently using
=SUMPRODUCT(--('Ser Data'!A7:A2028=TODAY()-1),--('Ser
Data'!B7:B2028="s"),'Ser Data'!C7:C2028)

Thank you
Confused

 
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
date and time [skipping weekends] rhhince[_2_] Excel Worksheet Functions 8 March 30th 08 08:29 AM
Skip Weekends in date Nigel Excel Worksheet Functions 11 December 21st 07 10:47 AM
Date Calculation to exclude weekends Vim Excel Worksheet Functions 2 January 24th 06 02:58 PM
Subtracting dates to get hours... but I want to skip weekends shadestreet Excel Discussion (Misc queries) 2 October 5th 05 06:20 PM
how can I skip weekends in excel? Beatriz Excel Worksheet Functions 3 January 13th 05 07:56 PM


All times are GMT +1. The time now is 02:38 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"