ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Using a CONCATENATE function with an IF function. (https://www.excelbanter.com/excel-worksheet-functions/446204-using-concatenate-function-if-function.html)

JPP

Using a CONCATENATE function with an IF function.
 
I currently have this function:

=IF(AO116="1) Agent did not identify the beneficiary's likes & dislikes.,2) Agent did not ask or acknowledge they understand the beneficiary's current coverage.,3) Agent failed to collect enough information to recommend a suitable plan.,4) Agent recommended a plan that is not suitable for the beneficiary's needs.,6) Other compliance issue.", "1) Agent did not identify the beneficiary's likes & dislikes.", “0”)


However, this is over the 255 char limit. How can I use this in conjunction with the CONCATENATE function per the instructions in Excel? This code works, and is what I want to happen. It's just that this one is too long for Excel's liking. Thank!

JPP

=IF(AO116="1) Agent did not identify the beneficiary's likes & dislikes.&"-"&2) Agent did not ask or acknowledge they understand the beneficiary's current coverage.&"-"&3) Agent failed to collect enough information to recommend a suitable plan.&"-"&4) Agent recommended a plan that is not suitable for the beneficiary's needs.&"-"&6) Other compliance issue.", "1) Agent did not identify the beneficiary's likes & dislikes.", “0”)


This almost got it! It doesn't return the error message anymore, but its not displaying the results. Returns a #Value! error.

joeu2004[_2_]

Using a CONCATENATE function with an IF function.
 
"JPP" wrote:
I currently have this function:
=IF(AO116="1) Agent did not identify the beneficiary's likes &
dislikes.,2) Agent did not ask or acknowledge they understand the
beneficiary's current coverage.,3) Agent failed to collect enough
information to recommend a suitable plan.,4) Agent recommended a plan
that is not suitable for the beneficiary's needs.,6) Other compliance
issue.", "1) Agent did not identify the beneficiary's likes &
dislikes.", "0")
However, this is over the 255 char limit. How can I use
this in conjunction with the CONCATENATE function


Never use the CONCATENATE function. Use the concatenate operator (&). See
its use just before "4) Agent recommended a plan".

=IF(AO116="1) Agent did not identify the beneficiary's likes &
dislikes.,2) Agent did not ask or acknowledge they understand the
beneficiary's current coverage.,3) Agent failed to collect enough
information to recommend a suitable plan.," & "4) Agent recommended a plan
that is not suitable for the beneficiary's needs.,6) Other compliance
issue.", "1) Agent did not identify the beneficiary's likes &
dislikes.", "0")


JPP

Thanks A BUNCH! That did it!


All times are GMT +1. The time now is 08:21 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com