Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
K K is offline
external usenet poster
 
Posts: 108
Default if then formulas with text?

I have a spreadsheet of questions - about 250 in total. The user is supposed
to select their answer from a drop down box. There are eleven possible
answers to the various questions AND the drop down boxes have different
combinations of of the eleven answers. For instance, in some cases we have
only yes or no drop down answers and others have an answer of monthly,
quarterly, NA, etc.

What I am looking to do is create a formula in a separate cell that looks to
the answer selected from the drop down box and reduce it to a letter, with
each answer having a separate letter.

Given the number of questions I would like to have the same formula for all
questions; meaning nesting eleven IF/Then 's in a formula.

Any suggestions? Thank you for your problem solving efforts in advance.
K
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 258
Default if then formulas with text?

K --

Don't completely understand. If you're trying to limit respondents answers
to a preselected range, you can do that through DataValidation. You can
set up a few lists of the various combinations of answers you'll allow
(Yes/No/Maybe, or Male/Female/Other) and then select those ranges as lists of
allowable answers depending on the question.

If you're looking for Excel to translate an answer into text, then you can
either nest a bunch of If statements:

= IF(A1="A","Albondigas",IF(A1="B","Bologna","") etc.

or use a numerical option, allowing the 'CHOOSE' function:

A
1 #
2 =CHOOSE(A1,"Albondigas","Bologna","Crabgrass","") etc.

HTH

"K" wrote:

I have a spreadsheet of questions - about 250 in total. The user is supposed
to select their answer from a drop down box. There are eleven possible
answers to the various questions AND the drop down boxes have different
combinations of of the eleven answers. For instance, in some cases we have
only yes or no drop down answers and others have an answer of monthly,
quarterly, NA, etc.

What I am looking to do is create a formula in a separate cell that looks to
the answer selected from the drop down box and reduce it to a letter, with
each answer having a separate letter.

Given the number of questions I would like to have the same formula for all
questions; meaning nesting eleven IF/Then 's in a formula.

Any suggestions? Thank you for your problem solving efforts in advance.
K

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default if then formulas with text?


This site should help getting around nesting more than 7 If statements.

http://www.j-walk.com/ss/excel/usertips/tip080.htm

If you post an example I'm sure you will get more help on the formula

VBA Noob


--
VBA Noob
------------------------------------------------------------------------
VBA Noob's Profile: http://www.excelforum.com/member.php...o&userid=33833
View this thread: http://www.excelforum.com/showthread...hreadid=566126

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 380
Default if then formulas with text?

Have a table of actual answers and codified answer, then do a VLOOKUP of the
actual answer to return the codified.

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"K" wrote in message
...
I have a spreadsheet of questions - about 250 in total. The user is

supposed
to select their answer from a drop down box. There are eleven possible
answers to the various questions AND the drop down boxes have different
combinations of of the eleven answers. For instance, in some cases we have
only yes or no drop down answers and others have an answer of monthly,
quarterly, NA, etc.

What I am looking to do is create a formula in a separate cell that looks

to
the answer selected from the drop down box and reduce it to a letter, with
each answer having a separate letter.

Given the number of questions I would like to have the same formula for

all
questions; meaning nesting eleven IF/Then 's in a formula.

Any suggestions? Thank you for your problem solving efforts in advance.
K



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
Excel considers my formulas as plain text Kimmo Kallio Excel Worksheet Functions 10 January 16th 14 05:48 PM
show text after formulas Shirley Excel Discussion (Misc queries) 3 June 30th 05 09:19 PM
How do I convert cells containing formulas to text (value returned Kim Excel Worksheet Functions 4 March 28th 05 09:17 PM
How do you average text formulas?? bladelock Excel Discussion (Misc queries) 2 March 2nd 05 07:53 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM


All times are GMT +1. The time now is 12:51 PM.

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"