+ Reply to Thread
Results 1 to 10 of 10

CONCATENATE help

  1. #1
    Registered User
    Join Date
    11-15-2013
    Location
    America
    MS-Off Ver
    Excel 2010
    Posts
    31

    CONCATENATE help

    So I have a formula as such =IF(P5,"Example",IF(P6,"Example2","")) but within these examples is more then 255 characters, and its asking to use the concentrate function. I've tried a few ways but none work. Any thoughts?
    Last edited by 6StringJazzer; 06-24-2014 at 03:36 PM. Reason: Fixed typo in thread title

  2. #2
    Valued Forum Contributor Saarang84's Avatar
    Join Date
    02-19-2009
    Location
    Chennai, India
    MS-Off Ver
    XL 2003 to 2010
    Posts
    812

    Re: CONCENTRATE help

    Hi,

    Can u explain a bit further what you need and what you are trying to do? Also, it would be helpful if you could provide us a workbook with sample data (remove sensitive information)
    If my assistance has helped, there is a reputation icon * on the left hand corner below the post - you can show your appreciation to the user who has helped in resolving your requirement.

    If your requirement has been solved please mark your thread as Solved.
    In the menu bar above the very first post, select Thread Tools, then select "Mark this thread as Solved".

    Kindly use [FORMULA] or [CODE] tags when posting your code.

    Regards,
    Sarang

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: CONCENTRATE help

    Hi,

    Are you perhaps meaning the Concatenate function? Would you also explain what your formula is attempting to do since the syntax is not familiar to me. Do you perhaps mean

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Registered User
    Join Date
    11-15-2013
    Location
    America
    MS-Off Ver
    Excel 2010
    Posts
    31

    Re: CONCENTRATE help

    Well the workbook is really nothing so far, but basically I have 2 checkboxes, one linked to p6 and the other to p7. If p6 = true it will reveal the hidden text associated with the p6 part of the formula, same on the p7 but a different hidden text within the same cell. The problem is there is over 255 characters within the text so I get the error.

  5. #5
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: CONCENTRATE help

    I parsed it that P5 and P6 would return booleans; so that "Example1" occured if P5 was TRUE and it would pass to the second IF whenver P5 was FALSE, for example.

    I dunno that's what's actually happening though?

    EDIT:
    ninja'd by OP

  6. #6
    Registered User
    Join Date
    11-15-2013
    Location
    America
    MS-Off Ver
    Excel 2010
    Posts
    31

    Re: CONCENTRATE help

    Well the workbook is really nothing so far, but basically I have 2 checkboxes, one linked to p6 and the other to p7. If p6 = true it will reveal the hidden text associated with the p6 part of the formula, same on the p7 but a different hidden text within the same cell. The problem is there is over 255 characters within the text so I get the error.

  7. #7
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: CONCENTRATE help

    Perhaps you need something like

    =IF(P5,"first255characters"&"another50characters",IF(P6,"first255characters"&"another12characters",""))


    The & symbol is shorthand for concatenate.

  8. #8
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: CONCENTRATE help

    or put the really long strings in their own cells, say Q5 and Q6

    =IF(P5,Q5,IF(P6,Q6,""))

  9. #9
    Registered User
    Join Date
    11-15-2013
    Location
    America
    MS-Off Ver
    Excel 2010
    Posts
    31

    Re: CONCENTRATE help

    I had to tweak my worksheet but yea that works, thank you very much.

  10. #10
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: CONCATENATE help

    You're welcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Pickup/Lookup Data from Various Locations/Cells and Concentrate it.
    By Everest in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-18-2012, 09:31 AM
  2. Concentrate email address with selection
    By mdshotgun in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-02-2011, 05:08 AM
  3. Faced Problem while concentrate data with commas
    By pchng2 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-02-2010, 02:15 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1