Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 88087

How to change the return value 'TRUE' to '1' using the Count If Function in Excel

$
0
0

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.


Viewing all articles
Browse latest Browse all 88087

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>