In general I want to take a future single date i.e. (Wednesday, December 16, 2015) and create a list of dates dating back to the current date, that excludes the weekends. I'm sure there is a very easy way to do this using macros but I am still not very familiar with excel syntax. What i have created so far is a list that dates backwards but has weekends included, which is in column G. Then i created a list in column J that searches the text of the list in column G for either "Saturday" or "Sunday" and writes the word remove i.e.
IF(OR(TEXT(G9,"dddd")="Saturday",TEXT(G9,"dddd")="Sunday")=TRUE,"remove",G9)
Unfortunately i just want to remove that value in the list but do not know how. I have coded using python before and know this is extremely easy using a loop, again I just dont know the syntax of excel yet. Can someone help with the code or can it be done with just plain formula's?
date forum example.xlsx
-Jake
Bookmarks