View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
saltnsnails saltnsnails is offline
external usenet poster
 
Posts: 37
Default If statement with time

I have a formula that calculates time. It works well. I am trying to have
another formula return a value based on time calculated. If a cell equals 30
minutes I want the formula to return a value of 0. If it does not equal 30,
I would like a value of 1. So I have entered =if(c7=30, 0, 1). C7 refers to
the cell where the time is calculated. I entered time data and the time
calculates a 30 but the other formula is returning a 1. Any thoughts?
--
-CRM