You have in your table:
ID Nome e Sobr ID e nome matéria Acesso Nota 1 n2 n3 n4
1234 João Silva 3 Português 28/04 1 2 5 4
1234 João Silva 4 Matemática 28/04 1 2 5 4
1234 João Silva 5 História 28/04 1 2 5 4
7890 Maria Oliveira 3 Português 26/04 1 2 5 4
7890 Maria Oliveira 4 Matemática 26/04 1 2 5 4
7890 Maria Oliveira 5 História 26/04 1 2 5 4
You have a single table that has all this information and you want to group it by student, subject containing the information that is in this correct format?
So start by organizing the data if the order is not according to what you want to send in the email.
By the way, where’s the e-mail address?
I suppose it’s in the same file, as follows.
ID Nome e Sobr ID e nome matéria Acesso Nota 1 n2 n3 n4 email
1234 João Silva 3 Português 28/04 2 5 4 4 [email protected]
1234 João Silva 4 Matemática 28/04 1 2 5 4 [email protected]
1234 João Silva 5 História 28/04 1 2 5 4 [email protected]
7890 Maria Oliveira 3 Português 26/04 1 2 5 4 [email protected]
7890 Maria Oliveira 4 Matemática 26/04 1 2 5 4 [email protected]
7890 Maria Oliveira 5 História 26/04 1 2 5 4 [email protected]
Organized the spreadsheet, I don’t know how you will create the email, but possibly a macro where through a loop (while
, repeat
), read the email and while the email is no different assembles the email with the information, when the email is different send the email and restart the process to the next, so until the end of the file.
By the way, as you are using spreadsheet, at the time you send the email, save in the last column the information that sent the email, so you will not send it again.