Forum Discussion
THqst
Dec 06, 2022Copper Contributor
Specific Days of the week
Hello, I am trying to find how I can formula my data to show only specific days of the week (T, W, Th, F, S). I don't want to include Sunday and Monday as those days are zeroes and it throws off my l...
PeterBartholomew1
Dec 06, 2022Silver Contributor
Using Excel 365 or Office 2021
= FILTER(data, WEEKDAY(date)>2)
where data may be an entire table or simply a column of values for plotting. Other FILTER formulas that work with strings rather than dates, include
= FILTER(value, NOT((weekday="Su")+(weekday="M")))
or, more complicated, to use the Boolean OR function
= FILTER(value,
MAP(weekday, LAMBDA(wd,
OR(wd={"T","W","Th","F","S"})
))
)