+ Reply to Thread
Results 1 to 4 of 4

Consoldating a Comments Box

  1. #1
    Registered User
    Join Date
    09-09-2006
    MS-Off Ver
    Excel (Office 365 ProPlus)
    Posts
    47

    Consoldating a Comments Box

    Hi All

    Im building a report, but have a requirement to consolidate a bunch of feedback line entries into a single wraped text cell, with the comments on each new line.

    Ideally I would not like to "hard code" the column it looks up, as this might change place on the report. Some kind of match would be nice.

    Attached is a spread sheet showing an idea of what I would like to achieve.

    As ever, thanks for your help.

    Jay
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    09-09-2006
    MS-Off Ver
    Excel (Office 365 ProPlus)
    Posts
    47

    Re: Consoldating a Comments Box

    If anyone could come up with something clever, that would be really appreciated

    Jay

  3. #3
    Valued Forum Contributor Lemice's Avatar
    Join Date
    04-13-2013
    Location
    Somewhere.
    MS-Off Ver
    Excel 2016
    Posts
    696

    Re: Consoldating a Comments Box

    Hello Jay,

    First, format column I, make it Wrap Text and a bit wider
    Then in I2, type
    Please Login or Register  to view this content.
    and in I3, paste this formula
    Please Login or Register  to view this content.
    down to I17

    Then on H26, type
    Please Login or Register  to view this content.
    And here is your file with formula

    (This feels like cheating though)
    Attached Files Attached Files
    (copy pasta from Ford)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools

    Regards,
    Lem

  4. #4
    Valued Forum Contributor Kamboj's Avatar
    Join Date
    09-25-2014
    Location
    India
    MS-Off Ver
    2003 - 2010
    Posts
    430

    Re: Consoldating a Comments Box

    you can also use this vba code
    Sub comnt()
    Dim a As String
    Dim Rng As Range
    Sheet1.Range("H26,H29").ClearContents
    For Each Rng In Range("H3:H14")
    If Rng <> "" Then
    Sheet1.Range("h26") = Trim(Sheet1.Range("h26")) & Chr(10) & ">" & Rng.Value
    End If
    Next
    For Each Rng In Range("M3:M16")
    If Rng <> "" Then
    Sheet1.Range("h29") = Trim(Sheet1.Range("h29")) & Chr(10) & ">" & Rng.Value
    End If
    Next
    End Sub
    Kamboj
    _________________________________________________________________________________
    Mark the thread as SOLVED if my answer satisfy you.

+ 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. New to Forum. Need help consoldating data.
    By GeoNiemi in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-07-2016, 11:37 AM
  2. copy cell text to comments in excel 2010 and vise versa (i.e. from comments to cell)
    By senthile in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-25-2014, 12:16 PM
  3. Append comments to a cell which already has comments
    By seanpears99 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-20-2013, 07:34 PM
  4. Add comments to cells using VBA (comments from list)
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-15-2010, 12:11 PM
  5. Replies: 3
    Last Post: 08-14-2009, 07:22 AM
  6. Adding comments & deleting comments VBA
    By tian0020 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-26-2007, 08:35 PM
  7. [SOLVED] Cell Comments-Is possible to search for data in comments?
    By dmm129 in forum Excel General
    Replies: 3
    Last Post: 10-28-2005, 03:05 PM

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