I currently have a spreadsheet used for attendance, we wanted to record the times subjects attended we did this by assigning time slots numbers.
A= 11:00 - 12:00
, B=12:00 - 1:00
and so on.
I am trying to write a formula that gives me a 1
, if they have attended one or more times during a specific date range (The month of Jan).
I'm currently using this formula:
=COUNTIF(HO6:HV6,"*")>0
This is producing the correct response. I get TRUE
If there attendance mark is within the date range and FALSE
if there is no value in the range o cells. However I'd like to change the displayed text TRUE
to 1
and FALSE
to 0
.
Any help would be greatly appreciated.