Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
JPriest
 
Posts: n/a
Default If Statements in a list


I'm trying to use an If statement to complete a form. I'm trying to pull
the text from column c and insert the corresponding info into column d.
for example: if the show is 'x' in column c, then insert 'theatre' in
column d. However, because the text is coming from a drop down list in
column c, i keep getting an error returned. There is no way to sort the
shows in column c because they are arranged based on time, which also
changes, not their title.

Any help you could provide would be greatly appreciated.

Thank you in advance,
Jeff


--
JPriest
------------------------------------------------------------------------
JPriest's Profile: http://www.excelforum.com/member.php...o&userid=24695
View this thread: http://www.excelforum.com/showthread...hreadid=539397

  #2   Report Post  
Posted to microsoft.public.excel.misc
kassie
 
Posts: n/a
Default If Statements in a list

In D1 enter =IF(C1="x","Theatre",""), and copy down as far as
needed/anticipated.
"JPriest" wrote:


I'm trying to use an If statement to complete a form. I'm trying to pull
the text from column c and insert the corresponding info into column d.
for example: if the show is 'x' in column c, then insert 'theatre' in
column d. However, because the text is coming from a drop down list in
column c, i keep getting an error returned. There is no way to sort the
shows in column c because they are arranged based on time, which also
changes, not their title.

Any help you could provide would be greatly appreciated.

Thank you in advance,
Jeff


--
JPriest
------------------------------------------------------------------------
JPriest's Profile: http://www.excelforum.com/member.php...o&userid=24695
View this thread: http://www.excelforum.com/showthread...hreadid=539397


  #3   Report Post  
Posted to microsoft.public.excel.misc
JPriest
 
Posts: n/a
Default If Statements in a list


Hi Kassie,

Thank you for your input. I've tried that and it doesn't work. The data
in column c is coming from a drop-down list. I've input your exact text
and nothing appears. it's as if the if statement doesn't see the text.
Also, there is a total ten plays today and i can only nest 7
statements, any suggestions?

Thanks in advance,
Jeff


--
JPriest
------------------------------------------------------------------------
JPriest's Profile: http://www.excelforum.com/member.php...o&userid=24695
View this thread: http://www.excelforum.com/showthread...hreadid=539397

  #4   Report Post  
Posted to microsoft.public.excel.misc
kassie
 
Posts: n/a
Default If Statements in a list

Nothing should happen, until you select an item from the drop-down list.
Once updated with the value "x", theatre should appear in cell D1. If you
are not using C1 and D1, then obviously you have to adapt the formula.

If you want to evaluate more than 7 levels, you are best advised to create a
lookup table (sorted), showing each condition, and its appropriate response.
Eg, if you want to test for
x theatre
y cinema
z TV,
etc, then somewhere on your sheet, or another sheet in the same workbook,
set up this list, give it a descriptive name :Insert - Name - Define and call
it say conditions. Now use VLOOKUP to evaluate and give the result.
something like
=IF(C1="","",VLOOKUP(C1,conditions,2,FALSE)) in D1.

"JPriest" wrote:


Hi Kassie,

Thank you for your input. I've tried that and it doesn't work. The data
in column c is coming from a drop-down list. I've input your exact text
and nothing appears. it's as if the if statement doesn't see the text.
Also, there is a total ten plays today and i can only nest 7
statements, any suggestions?

Thanks in advance,
Jeff


--
JPriest
------------------------------------------------------------------------
JPriest's Profile: http://www.excelforum.com/member.php...o&userid=24695
View this thread: http://www.excelforum.com/showthread...hreadid=539397


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
data validation--multiple dependent list Michael Excel Discussion (Misc queries) 9 May 2nd 06 02:14 AM
Remove empty cells from named list / validation list Sp00k Excel Worksheet Functions 4 April 28th 06 04:45 PM
Check 2 different list get associated value from a column deja Excel Worksheet Functions 1 April 20th 06 05:11 AM
HELP! Nesting IF Statements/Dependent Dropdown List Thomas Peters Excel Worksheet Functions 4 November 30th 05 06:38 PM
Refresh a Validation List? jhollin1138 Excel Discussion (Misc queries) 3 February 17th 05 06:48 PM


All times are GMT +1. The time now is 05:50 AM.

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

About Us

"It's about Microsoft Excel"