JustTheTim
New Member
- Joined
- Feb 23, 2018
- Messages
- 8
Hello, I am no expert with excel so please forgive me if what I'm about to ask is silly. I am creating a canned response tool for my department which allows users to pick which options were used. Currently I have it formatted as a list which works but it's not how I'd like it. I would like to put it in paragraph form. The problem I have is the user could choose 1 option or up to 6 options. To have it in proper paragraph form I would need to use "and" and/or commas. I have been unable to find a formula to use that would determine which one is needed based on how many options are chosen. I've included how the list string looks right now. Any suggestions would be appreciated!
"&IF(L17=TRUE,"Representative offered the following solutions:","")&"
"&IF(N17=TRUE,"Option 1","")&""&IF(O17=TRUE," - Customer declined","")&"
"&IF(N18=TRUE,"Option 2","")&""&IF(O18=TRUE," - Customer declined","")&"
"&IF(N19=TRUE,"Option 3","")&""&IF(O19=TRUE," - Customer declined","")&"
"&IF(N20=TRUE,"Option 4","")&""&IF(O20=TRUE," - Customer declined","")&"
"&IF(N21=TRUE,"Option 5","")&""&IF(O21=TRUE," - Customer declined","")&"
"&IF(N22=TRUE,"Option 6","")&""&IF(O22=TRUE," - Customer declined","")&"
"&IF(L17=TRUE,"Representative offered the following solutions:","")&"
"&IF(N17=TRUE,"Option 1","")&""&IF(O17=TRUE," - Customer declined","")&"
"&IF(N18=TRUE,"Option 2","")&""&IF(O18=TRUE," - Customer declined","")&"
"&IF(N19=TRUE,"Option 3","")&""&IF(O19=TRUE," - Customer declined","")&"
"&IF(N20=TRUE,"Option 4","")&""&IF(O20=TRUE," - Customer declined","")&"
"&IF(N21=TRUE,"Option 5","")&""&IF(O21=TRUE," - Customer declined","")&"
"&IF(N22=TRUE,"Option 6","")&""&IF(O22=TRUE," - Customer declined","")&"