View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Tom Hutchins Tom Hutchins is offline
external usenet poster
 
Posts: 1,069
Default If statements refering to data validated ranges

Enclosing the text strings in your IF function should make it work:

=IF(C30="over 6 months","Yes", "No")

Hope this helps,

Hutch

"skimark" wrote:

I am creating a spredsheet where a series of questions are posed with data
validated answers - such as '0-6 months' or 'over 6 months'.
Then I want to add an if statement to another cell that goes if the answer
to the above question (if(c30=over 6 months, yes, no) but I get an error
message - any suggestions?