itsmecassiec
New Member
- Joined
- Jan 11, 2017
- Messages
- 4
I have an excel database of survey information that returns the 1st, 2nd, and 3rd lowest values using SMALL formula, but I applied an IF formula on the spreadsheet to return the statement that value is tied to. However, if the value is the same it returns the same statement twice, rather than moving on to the next question with that value. Is there a way to avoid this?
Example of formula returning questions based on ranking:
=IF(V22=H22,$H$1,IF(V22=I22,$I$1,IF(V22=J22,$J$1,IF(V22=K22,$K$1,IF(V22=L22,$L$1,IF(V22=M22,$M$1,IF(V22=N22,$N$1,IF(V22= O22,$O$1,IF(V22=P22,$P$1,IF(V22=Q22,$Q$1,IF(V22=R22,$R$1,IF(V22=S22,$S$1,IF(V22=T22,$T$1,"None")))))))))))))
An example would be the first row below. The same statement appears twice because of identical values. How can I prevent this from happening?
[TABLE="width: 1204"]
<tbody>[TR]
[TD="align: right"]My fellow employees are committed to doing quality work.[/TD]
[TD="align: right"]I have a best friend at work.[/TD]
[TD="align: right"]In the last six months, someone at work has talked with me about my progress.[/TD]
[TD="align: right"]In the last year, I have had opportunities to learn and grow.[/TD]
[TD]Rank 1st Lowest[/TD]
[TD]Rank 2nd Lowest[/TD]
[TD]Rank 3rd Lowest[/TD]
[TD]Lowest[/TD]
[TD]2nd Lowest[/TD]
[TD]3rd Lowest[/TD]
[/TR]
[TR]
[TD="align: right"]3.70[/TD]
[TD="align: right"]3.20[/TD]
[TD="align: right"]3.50[/TD]
[TD="align: right"]3.90[/TD]
[TD="align: right"]3.20[/TD]
[TD="align: right"]3.20[/TD]
[TD="align: right"]3.50[/TD]
[TD]At work, my opinions seem to count.[/TD]
[TD]At work, my opinions seem to count.[/TD]
[TD]In the last seven days, I have received recognition or praise for doing good work.[/TD]
[/TR]
[TR]
[TD="align: right"]4.56[/TD]
[TD="align: right"]3.63[/TD]
[TD="align: right"]4.33[/TD]
[TD="align: right"]4.56[/TD]
[TD="align: right"]3.63[/TD]
[TD="align: right"]4.33[/TD]
[TD="align: right"]4.33[/TD]
[TD]I have a best friend at work.[/TD]
[TD]My supervisor, or someone at work, seems to care about me as a person.[/TD]
[TD]My supervisor, or someone at work, seems to care about me as a person.[/TD]
[/TR]
[TR]
[TD="align: right"]4.29[/TD]
[TD="align: right"]3.17[/TD]
[TD="align: right"]4.14[/TD]
[TD="align: right"]4.14[/TD]
[TD="align: right"]3.17[/TD]
[TD="align: right"]4.00[/TD]
[TD="align: right"]4.14[/TD]
[TD]I have a best friend at work.[/TD]
[TD]I am satisfied with IDEA as a place to work.[/TD]
[TD]In the last six months, someone at work has talked with me about my progress.[/TD]
[/TR]
[TR]
[TD="align: right"]4.33[/TD]
[TD="align: right"]3.77[/TD]
[TD="align: right"]88.00[/TD]
[TD="align: right"]4.46[/TD]
[TD="align: right"]3.77[/TD]
[TD="align: right"]4.00[/TD]
[TD="align: right"]4.17[/TD]
[TD]I have a best friend at work.[/TD]
[TD]There is someone at work who encourages my development.[/TD]
[TD]At work, my opinions seem to count.[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 1637"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Example of formula returning questions based on ranking:
=IF(V22=H22,$H$1,IF(V22=I22,$I$1,IF(V22=J22,$J$1,IF(V22=K22,$K$1,IF(V22=L22,$L$1,IF(V22=M22,$M$1,IF(V22=N22,$N$1,IF(V22= O22,$O$1,IF(V22=P22,$P$1,IF(V22=Q22,$Q$1,IF(V22=R22,$R$1,IF(V22=S22,$S$1,IF(V22=T22,$T$1,"None")))))))))))))
An example would be the first row below. The same statement appears twice because of identical values. How can I prevent this from happening?
[TABLE="width: 1204"]
<tbody>[TR]
[TD="align: right"]My fellow employees are committed to doing quality work.[/TD]
[TD="align: right"]I have a best friend at work.[/TD]
[TD="align: right"]In the last six months, someone at work has talked with me about my progress.[/TD]
[TD="align: right"]In the last year, I have had opportunities to learn and grow.[/TD]
[TD]Rank 1st Lowest[/TD]
[TD]Rank 2nd Lowest[/TD]
[TD]Rank 3rd Lowest[/TD]
[TD]Lowest[/TD]
[TD]2nd Lowest[/TD]
[TD]3rd Lowest[/TD]
[/TR]
[TR]
[TD="align: right"]3.70[/TD]
[TD="align: right"]3.20[/TD]
[TD="align: right"]3.50[/TD]
[TD="align: right"]3.90[/TD]
[TD="align: right"]3.20[/TD]
[TD="align: right"]3.20[/TD]
[TD="align: right"]3.50[/TD]
[TD]At work, my opinions seem to count.[/TD]
[TD]At work, my opinions seem to count.[/TD]
[TD]In the last seven days, I have received recognition or praise for doing good work.[/TD]
[/TR]
[TR]
[TD="align: right"]4.56[/TD]
[TD="align: right"]3.63[/TD]
[TD="align: right"]4.33[/TD]
[TD="align: right"]4.56[/TD]
[TD="align: right"]3.63[/TD]
[TD="align: right"]4.33[/TD]
[TD="align: right"]4.33[/TD]
[TD]I have a best friend at work.[/TD]
[TD]My supervisor, or someone at work, seems to care about me as a person.[/TD]
[TD]My supervisor, or someone at work, seems to care about me as a person.[/TD]
[/TR]
[TR]
[TD="align: right"]4.29[/TD]
[TD="align: right"]3.17[/TD]
[TD="align: right"]4.14[/TD]
[TD="align: right"]4.14[/TD]
[TD="align: right"]3.17[/TD]
[TD="align: right"]4.00[/TD]
[TD="align: right"]4.14[/TD]
[TD]I have a best friend at work.[/TD]
[TD]I am satisfied with IDEA as a place to work.[/TD]
[TD]In the last six months, someone at work has talked with me about my progress.[/TD]
[/TR]
[TR]
[TD="align: right"]4.33[/TD]
[TD="align: right"]3.77[/TD]
[TD="align: right"]88.00[/TD]
[TD="align: right"]4.46[/TD]
[TD="align: right"]3.77[/TD]
[TD="align: right"]4.00[/TD]
[TD="align: right"]4.17[/TD]
[TD]I have a best friend at work.[/TD]
[TD]There is someone at work who encourages my development.[/TD]
[TD]At work, my opinions seem to count.[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 1637"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]