Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default If statements refering to data validated ranges

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?



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default If statements refering to data validated ranges

(if(c30=over 6 months, yes, no)

Try it like this:

=IF(C30="over 6 months","yes","no")

--
Biff
Microsoft Excel MVP


"skimark" wrote in message
...
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?





  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a list from validated data jules3838 Excel Discussion (Misc queries) 0 February 26th 09 04:14 PM
Using 'OR' with validated data Jayjay Excel Worksheet Functions 1 January 31st 07 12:25 PM
Validated cells and IF statements Karl Excel Discussion (Misc queries) 6 October 25th 06 07:09 AM
IF statements and ranges Idz21 Excel Worksheet Functions 3 February 22nd 06 09:22 PM
Refering to a tab using data from a cell dan Excel Worksheet Functions 5 May 13th 05 01:24 PM


All times are GMT +1. The time now is 01:21 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"