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 line graph I want to show the days that do have data.
How would I do this?
3 Replies
Sort By
- PeterBartholomew1Silver 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"}) )) )
- OliverScheurichGold Contributor
=CHOOSE(IF(MOD(ROW(B1),5)=0,5,MOD(ROW(B1),5)),"T","W","Th","F","S")
You can try this formula as shown in the screenshot.
- Patrick2788Silver ContributorHow are you producing your dates? Are you spilling them?