google spreadsheet - how i create a formula of payment using weeknum formula -


i need calculate paymant of people in same week see in spreadsheet https://docs.google.com/spreadsheets/d/1fhetofxzerjj07ducxxhuwul_1g3burvkrmyjt9_omm/edit#gid=91744412 used weeknum formula extract number of week using data in column ..for example "anselmi" earned 16 in week 24......

i made sheet in spreadsheet shared, called 'jp'. in cell a1 entered formula:

=arrayformula(query({weeknum(foglio2!a2:a)\foglio2!b2:d}; "select col2, col1, sum(col3) col2 <>'' group col2, col1 label col2 'name', col1 'weeknumber', sum(col3) 'total'")) 

this formula outputs 3 columns: 1 column names, second 1 weeknumber , third column sum. ouput auto-update when new rows added in foglio2.

see if works ?


Comments

Popular posts from this blog

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -