Roll only weekend dates on google sheet - google-sheets

I am trying to create an attendance sheet for my dance class students, which happens on weekends only.
Is there a good way to roll only weekend dates on a google sheet?
TIA

Put starting date in A1, number of days in A2 and this formula in A4:
=FILTER(ARRAYFORMULA(A1+ row(INDIRECT("A1:A"&A2))),
WEEKDAY(ARRAYFORMULA(A1+ row(INDIRECT("A1:A"&A2))),2)>5)
The result:

Related

Google Sheets Date Formula

I have a personal finances Google Sheet with all my expenditures (column A) and corresponding dates (column B) of the month when they are due to be paid.
I would like to create a formula that shows me what is left for the remainder of the month depending on what day of the month I am looking at the sheet.
Something like, ifDate is today, sum all remaining dates of the month expenses.
TIA
Use this formula it works even if the dates is disordered.
=SUMIF(C2:C,">"&F2,B2:B)
Update
=SUMIF(D3:D,">"&TODAY(),C3:C)

GOOGLE SHEET FORMULA - QUERY STUFF FOR TODAYS DATE ONLY

new poster here :-) this place as helped me throughout my years of learning I.T stuff as I progress through Adulthood
So this formula im having an issue with with is for a Google SHeet.
basically I want a SHEET that only displays todays ATTENDANCE, and not YESTERDAY or previous dates attendance. So I have two sheets (Today) and (NewData)
New Data (Sheet)
Picture Reference
TODAY Attendance Sheet
Picture 2 Reference
now my formula is this as follows, the part that is broken is the ending (everything after =, as the = should reference cell B1 of Today Attendance Sheet, so it auto populates any new inputted data throughout the day
=QUERY(NewData!$A$1:$H$136,"select A, C, B where E = date '"&TEXT(DATEVALUE("1/1/2000"),"yyyy-mm-dd")&"'",1)
BROKEN WRONG CODE is “”””= date '"&TEXT(DATEVALUE("1/1/2000"),"yyyy-mm-dd")&"'",1)“”””
I like FILTER better than QUERY
=FILTER({'New Data'!A2:A,'New Data'!C2:C,'New Data'!B2:B}, DATEVALUE(LEFT('New Data'!A2:A,FIND(" ",'New Data'!A2:A))) = $B$1)
Todays Attendance Sheet
New Data Sheet

Google Sheet Formula to Populate the Values in Calendar

I have a whole year calendar separate for each month. Where i want to populate the Sheet2 Col"B" values according to the dates in calendar.
Your help will be appreciated.
Calendar
Sheet 2 data
This formula will pull the events for the Date in cell H84 (June 6th)
=IFERROR(JOIN(CHAR(10),FILTER(Events!$B:$B,Events!$C:$C<=H84,Events!$D:$D>=H84)))

How to calculate months with arrayformula in google script

I am able to calculate the monthly difference using dateif but not arrayformula
Example : Start Date: 5-Oct-2020
End date: 9-Jun-2021 month difference: using formula (DATEDIF(D3,E3 , "M")).
But I'm unable to use array formula to calculate as I wanted each row to be auto-calculated with dates.
Appreciate some help from Google experts!
Try
=ArrayFormula(IF(LEN(D3:D), DATEDIF(D3:D,E3:E, "M"),))
and see if that works?
References
Arrayformula()
How do arrayformulas work?

Google Sheets - Add range of dates based on string

Is it possible in Google sheets to have a formula which looks at a certain date and creates a range of dates based on it?
I have this google sheet:
https://drive.google.com/open?id=1ccLwh_ExEtE2zxYUor9hxi1hMyADQtuUgyCyOKASxIk
Is it possible to have formulas in the left column rows to just look at the date string "august" and automatically fill in the dates down each row? Preferably with this format I have in this sheet? Like:
monday
1
Tuesday
2
Wednesday
3
I know it's possible to format a date so it ways monday 1 e.g, but for some reason, google sheets doesn't text wrap dates and I want a line break between the day and number, if possible.
Any help truly appreciated!
Since tagged [excel-formula]:
=TEXT(WEEKDAY(DATEVALUE(1&"August"&2016)+ROW()-1),"dddd")&CHAR(10)&ROW()
in Row1 and copied down to suit should work. (For just Google Sheets this Q probably belongs on Web Applications.)
The month selection is hard-coded into the formula but could be parameterized.

Resources