Dynamic Lists

rhettblaine

New Member
Joined
Oct 3, 2013
Messages
29
Office Version
  1. 365
Platform
  1. Windows
Hey guys,

I'm trying to create a dynamic list based on the user's selection of yes/no/NA answers. If the user selects No for one of the questions, the list should generate a message.

Example:

Questionnaire:
Question:Answer:Message if Answer = No
Q1Yes
Q2Yes
Q3NoGreen
Q4Yes
Q5NoPurple
Q6NoBlack

<tbody>
</tbody>


Goal is to create list with messages if the Q is answered No:
  • Green
  • Purple
  • Black



I've tried several different methods, but the part that I'm having the most difficulty is being able to recognize empty rows (Green, blank, Purple) to return the intended results.

Any suggestions?

Thanks!
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Assuming your "Question:" is in A1, "Answer:" is in B1...etc

Paste this formula in D2, make it an array - CTRL+SHIFT+ENTER so it has this crap around it {}, and fill it down; let me know if you have any issues or is not wat you are looking for

=IF(ROWS($D$1:D1)>SUMPRODUCT(--($B$2:$B$7="No")),"",INDEX(C$2:C$7,SMALL(IF(($B$2:$B$7="No"),ROW($C$2:$C$7)-ROW($C$2)+1),ROWS($D$1:D1))))
 
Upvote 0
bsquad... sending you a forum hug.

This worked brilliantly.

Where do I send the beer/flowers/fruit to?? :)

Thanks!!
 
Upvote 0
lol, just hitting the 'Post Thanks' and 'Like' right under my username in the post would do just fine. If you need more of these just let me know I have a crap load of them. i.e. DISTINCT DUPLICATES, DISTINCT of DUPLICATES, IF the occurrence is > 1, tiebreaker logic...etc and all are dynamic
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,257
Members
449,075
Latest member
staticfluids

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top