F
feausij
My manager has asked me to enter an excel formula which calculates the total
number of leave types taken per staff member. The data is derived from a
table whereby the employees names are listed down one column, and the number
of days in a month across the top row. In each cell after the persons name,
there is a drop down menu which you can choose; ST, SL, AL, DL - all relate
to different types of leave. Im required to enter a formula in an adjacent
table which calculates the total number of any particular leave taken, the
table has columns dedicated to a particular type of leave "ST or SL", each
row is strategically placed so that the persons name and the result of the
number of leave they take during the 30 or 31 day period is totalled in each
column according to the particular type of leave.
Is there any formula in excel i can use that first checks, say the first day
to see if the person has take annual leave (AL), and if they have, to than
total the number of AL taken throughout the 31 days (or 31 cells - row)???
HELP!!!!.
I was initially looking at an IF-then formula; =IF(A2:A32=AV9, then total
the number of AV9 successes across this range,"0")
**A2:A32 represents the 31 days (or cells) which can have any number of the
various leave type depending on what type of leave that particular employee
takes.
number of leave types taken per staff member. The data is derived from a
table whereby the employees names are listed down one column, and the number
of days in a month across the top row. In each cell after the persons name,
there is a drop down menu which you can choose; ST, SL, AL, DL - all relate
to different types of leave. Im required to enter a formula in an adjacent
table which calculates the total number of any particular leave taken, the
table has columns dedicated to a particular type of leave "ST or SL", each
row is strategically placed so that the persons name and the result of the
number of leave they take during the 30 or 31 day period is totalled in each
column according to the particular type of leave.
Is there any formula in excel i can use that first checks, say the first day
to see if the person has take annual leave (AL), and if they have, to than
total the number of AL taken throughout the 31 days (or 31 cells - row)???
HELP!!!!.
I was initially looking at an IF-then formula; =IF(A2:A32=AV9, then total
the number of AV9 successes across this range,"0")
**A2:A32 represents the 31 days (or cells) which can have any number of the
various leave type depending on what type of leave that particular employee
takes.