Added new formulas to get the working person of the day and course
This commit is contained in:
3 files changed
+34
No files matched your search
@@ -0,0 +1,6 @@
|
|||||||
|
=LET(work;Filter(
|
||||||
|
IMPORTRANGE("https://docs.google.com/spreadsheets/d/1MPCIXoBqguYu9oRnwQ2tfYMqY_vY4tS5dJzNF7by3aY/edit?usp=sharing";"'"&Cell("Sheet";date)&"'!B1:S1");
|
||||||
|
INDEX(IMPORTRANGE("https://docs.google.com/spreadsheets/d/1MPCIXoBqguYu9oRnwQ2tfYMqY_vY4tS5dJzNF7by3aY/edit?usp=sharing";"'"&Cell("Sheet";date)&"'!B2:S40");Day(date))
|
||||||
|
=job);
|
||||||
|
CHOOSECOLS(work; 1)
|
||||||
|
)
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
=LET(work;Filter(
|
||||||
|
IMPORTRANGE("https://docs.google.com/spreadsheets/d/1MPCIXoBqguYu9oRnwQ2tfYMqY_vY4tS5dJzNF7by3aY/edit?usp=sharing";"'"&Cell("Sheet";date)&"'!B1:S1");
|
||||||
|
INDEX(IMPORTRANGE("https://docs.google.com/spreadsheets/d/1MPCIXoBqguYu9oRnwQ2tfYMqY_vY4tS5dJzNF7by3aY/edit?usp=sharing";"'"&Cell("Sheet";date)&"'!B2:S40");Day(date))
|
||||||
|
=job);
|
||||||
|
If(second="--";
|
||||||
|
SWITCH(true;
|
||||||
|
COUNTA(work) = 1; "--";
|
||||||
|
COUNTA(work) >= 2; TEXTJOIN(", ";true;CHOOSECOLS(work;SEQUENCE(1;COUNTA(work)-1;2)));
|
||||||
|
);
|
||||||
|
SWITCH(true;
|
||||||
|
COUNTA(work) = 1; "--";
|
||||||
|
COUNTA(work) = 2; "--";
|
||||||
|
COUNTA(work) >= 3; TEXTJOIN(", ";true;CHOOSECOLS(work;2));
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
=LET(work;Filter(
|
||||||
|
IMPORTRANGE("https://docs.google.com/spreadsheets/d/1MPCIXoBqguYu9oRnwQ2tfYMqY_vY4tS5dJzNF7by3aY/edit?usp=sharing";"'"&Cell("Sheet";date)&"'!B1:S1");
|
||||||
|
INDEX(IMPORTRANGE("https://docs.google.com/spreadsheets/d/1MPCIXoBqguYu9oRnwQ2tfYMqY_vY4tS5dJzNF7by3aY/edit?usp=sharing";"'"&Cell("Sheet";date)&"'!B2:S40");Day(date))
|
||||||
|
=job);
|
||||||
|
If(second="--";"--";
|
||||||
|
SWITCH(true;
|
||||||
|
COUNTA(work) = 1; "--";
|
||||||
|
COUNTA(work) = 2; TEXTJOIN(", ";true;CHOOSECOLS(work;2));
|
||||||
|
COUNTA(work) >=3; TEXTJOIN(", ";true;CHOOSECOLS(work;SEQUENCE(1;COUNTA(work)-2;3)));
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
Reference in new issue
Block a user