What formula I will have to apply to calculate the total ATTENDED days in a month
Interesting question, You can use SWITCH formula for the same.
Use: => SWITCH( INPUT, āCase1ā, case1value, āCase 2ā, case2value, defaultValue)
SUM(
SWITCH(D01,āAttendedā,1,āMissedā,1,0),
SWITCH(D02,āAttendedā,1,āMissedā,1,0),
SWITCH(D03,āAttendedā,1,āMissedā,1,0),
SWITCH(D04,āAttendedā,1,āMissedā,1,0),
SWITCH(D05,āAttendedā,1,āMissedā,1,0),
SWITCH(D06,āAttendedā,1,āMissedā,1,0),
SWITCH(D07,āAttendedā,1,āMissedā,1,0),
SWITCH(D08,āAttendedā,1,āMissedā,1,0),
SWITCH(D09,āAttendedā,1,āMissedā,1,0),
SWITCH(D10,āAttendedā,1,āMissedā,1,0),
SWITCH(D11,āAttendedā,1,āMissedā,1,0),
SWITCH(D12,āAttendedā,1,āMissedā,1,0),
SWITCH(D13,āAttendedā,1,āMissedā,1,0),
SWITCH(D14,āAttendedā,1,āMissedā,1,0),
SWITCH(D15,āAttendedā,1,āMissedā,1,0),
SWITCH(D16,āAttendedā,1,āMissedā,1,0),
SWITCH(D17,āAttendedā,1,āMissedā,1,0),
SWITCH(D18,āAttendedā,1,āMissedā,1,0),
SWITCH(D19,āAttendedā,1,āMissedā,1,0),
SWITCH(D20,āAttendedā,1,āMissedā,1,0),
SWITCH(D21,āAttendedā,1,āMissedā,1,0),
SWITCH(D22,āAttendedā,1,āMissedā,1,0),
SWITCH(D23,āAttendedā,1,āMissedā,1,0),
SWITCH(D24,āAttendedā,1,āMissedā,1,0),
SWITCH(D25,āAttendedā,1,āMissedā,1,0),
SWITCH(D26,āAttendedā,1,āMissedā,1,0),
SWITCH(D27,āAttendedā,1,āMissedā,1,0),
SWITCH(D28,āAttendedā,1,āMissedā,1,0),
SWITCH(D29,āAttendedā,1,āMissedā,1,0),
SWITCH(D30,āAttendedā,1,āMissedā,1,0),
SWITCH(D31,āAttendedā,1,āMissedā,1,0)
)
You will then be able to see the Total count of days attended.