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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -