Excel 2016/365 with lots of daily data that's date related. Most of the businesses I work with have data Monday-Friday so I'm wanting a way to determine the last business day of the month (January=31 days; February=28 days except leap years; March=31 days
etc.)
FWIW, it's US dollar denominated sales data and each day consists of sales for that day and, if by product, the average price sold with the quantity.
So, let's assume the data is something like this with the data listed in a Date column and then dollar amounts in the Dollar column etc. Once I find the correct date or day of week, then I'd need the data from the same row relating to whatever I need to
do. Data is generally grouped over several years - maybe 5-10-15 or more rather than have a specific year then month in a tab etc.
Date Dollar
01/01/2018 500.00
..... (all of January 2018 of open business days... sometimes Sunday is included sometimes not)
01/29/2018 1000.00
01/30/2018 350.00
01/31/2018 250.00
02/01/2018 150.00
.... all of Feb '18
02/27/2018 275.00
02/28/2018 615.00
03/02/2018 735.00
.... all of Mar '18
03/30/2018 330.00
no 03/31/2018 because 03/31/2018 is on Saturday. I need the last business day of each month. Hence, if no data (the rows) then the business was not open.
- How can I determine the last business day of each month and use it's sales etc.?
- How can I determine the last business day of each week and use it's sales etc.? Keep in mind that some businesses won't be open for Christmas and other religious or local holidays. So, say if Christmas falls on Friday (the New Year's also) then Thursday
becomes the last business day of the week.
I know I could do a set of conditional IF-THEN for the day of week=6 then 5 etc.
Thanks!