+ Reply to Thread
Results 1 to 14 of 14

Combine comments from four tabs into one column.

Hybrid View

  1. #1
    Registered User
    Join Date
    11-11-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    38

    Combine comments from four tabs into one column.

    Hi all,

    I need to combine the results in the 'Comment' column (F) from each of the first four tabs into the same column in the 'All' tab.
    These need to match with the number in column B.

    Any tips on how to achieve this would be appreciated.

    Cheers,
    John.Inspection_tests.xlsx
    Last edited by Johnmitch93; 03-20-2012 at 05:53 PM.

  2. #2
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Combine comments from four tabs into one column.

    are the comments to be concatenated by Equipment Numbers, or some other criterion?

  3. #3
    Registered User
    Join Date
    11-11-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: Combine comments from four tabs into one column.

    Not concatenated, no.
    By combine, I mean all those in tabs 1 - 4 added to the 'All' tab, which is a total.

  4. #4
    Registered User
    Join Date
    11-11-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: Combine comments from four tabs into one column.

    I have tried IFERROR with VLOOKUP with no success.
    Any ideas appreciated.


    John.

  5. #5
    Forum Contributor darknation144's Avatar
    Join Date
    01-24-2012
    Location
    London
    MS-Off Ver
    Microsoft Excel 365 MSO
    Posts
    555

    Re: Combine comments from four tabs into one column.

    Any reason why you can't copy and paste them?

  6. #6
    Valued Forum Contributor
    Join Date
    03-16-2012
    Location
    Aarhus, Denmark
    MS-Off Ver
    Excel 2007
    Posts
    992

    Re: Combine comments from four tabs into one column.

    I'm not sure what you want to achieve. Do you want to look up the number in B in "All", in the 4 sheets and return the comment?
    Sincerely
    S?ren Larsen

    "Give a man a fish, and you'll feed him for a day. Give a man a fishing rod, and he'll steal your yacht!"

  7. #7
    Registered User
    Join Date
    11-11-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: Combine comments from four tabs into one column.

    OK. The Comments in column F of tabs NE, NW, SE and SW will be added to over time. There will be 300 - 400 rows in each tab, not all the same number in each.
    When an entry is made in F, the IF function in G adds the corresponding response.
    The tab ALL will be a total of all the four previous tabs. What I need to do is, when an entry is made in either of the F columns, a function in column F in 'ALL' will respond by duplicating the entry, thus in that column will be a combined total of all the other four. I can then use that for progress reporting.

    John.

  8. #8
    Valued Forum Contributor
    Join Date
    03-16-2012
    Location
    Aarhus, Denmark
    MS-Off Ver
    Excel 2007
    Posts
    992

    Re: Combine comments from four tabs into one column.

    I think this should do it!? But be aware that you have 3 duplicate values, in terms of "EQUIP_NO", in 2 different sheets. Index/match will return the first of the duplicates.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    11-11-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: Combine comments from four tabs into one column.

    Mate,
    That looks superb - thanks very much indeed.
    And thanks for spotting the duplicates too.

    John.

  10. #10
    Valued Forum Contributor
    Join Date
    03-16-2012
    Location
    Aarhus, Denmark
    MS-Off Ver
    Excel 2007
    Posts
    992

    Re: Combine comments from four tabs into one column.

    You are very welcome.

  11. #11
    Forum Contributor darknation144's Avatar
    Join Date
    01-24-2012
    Location
    London
    MS-Off Ver
    Microsoft Excel 365 MSO
    Posts
    555

    Re: Combine comments from four tabs into one column.

    Please mark this as solved

  12. #12
    Registered User
    Join Date
    11-11-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: Combine comments from four tabs into one column.

    I have done, Darknation.
    I also want to know how I can replace the zeros with empty cells. I have tried using "" and " " plus simply removing the zeros from the function, all to no avail.

    John.

  13. #13
    Forum Contributor darknation144's Avatar
    Join Date
    01-24-2012
    Location
    London
    MS-Off Ver
    Microsoft Excel 365 MSO
    Posts
    555

    Re: Combine comments from four tabs into one column.

    "" creates a blank cell. What is the formula that is not working for you?

  14. #14
    Registered User
    Join Date
    11-11-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: Combine comments from four tabs into one column.

    When I replaced the zeros in this:-
    =+IFERROR(INDEX(NE!$F$2:$F$150,MATCH(B3,NE!$B$2:$B$150,0)),IFERROR(INDEX(NW!$F$2:$F$150,MATCH(B3,NW!$B$2:$B$150,0)),IFERROR(INDEX(SE!$F$2:$F$150,MATCH(B3,SE!$B$2:$B$150,0)),IFERROR(INDEX(SW!$F$2:$F$150,MATCH(B3,SW!$B$2:$B$150,0)),""))))
    with "", in one sheet it failed to return blank cells.
    Tried it in another sheet and it works as anticipated.
    Thanks to all for the help with this. I shall start another thread if any more problems arise.

    Cheers,
    John.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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