+ Reply to Thread
Results 1 to 14 of 14

Rows 10-59, if Col Z has value, list corresponding cell in Col Y & Col AA, concatenated

  1. #1
    Registered User
    Join Date
    07-01-2020
    Location
    England
    MS-Off Ver
    LibreOffice Calc / MS Excel 2003
    Posts
    37

    Rows 10-59, if Col Z has value, list corresponding cell in Col Y & Col AA, concatenated

    Hi there,

    For Z10:Z59, if there is a value, rather than "", l want to list the corresponding cell in the same row in Column Y, put next to the corresponding cell in the same row for Column AA .

    There's a twist though: I want it all in one cell.
    I mean, l want the formula in one cell, such that it produces a list for me, within that one cell.
    A list of everything in the range Row 10 to Row 59 , that fits the condition.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Rows 10-59, if Col Z has value, list corresponding cell in Col Y & Col AA, concatenate

    Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file. Please include at least one example of what you want the result to look like.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    07-01-2020
    Location
    England
    MS-Off Ver
    LibreOffice Calc / MS Excel 2003
    Posts
    37

    Re: Rows 10-59, if Col Z has value, list corresponding cell in Col Y & Col AA, concatenate

    Hi there, here's a an example:


    Column Y Column Z Column AA
    red triangle
    blue hello square
    red hello triangle
    grey bye circle
    green triangle
    blue hello square


    Desired result in target cell where the formula is:

    blue square
    red triangle
    grey circle
    blue square




    All in one cell.

  4. #4
    Registered User
    Join Date
    07-01-2020
    Location
    England
    MS-Off Ver
    LibreOffice Calc / MS Excel 2003
    Posts
    37

    Re: Rows 10-59, if Col Z has value, list corresponding cell in Col Y & Col AA, concatenate

    Here is a picture of the cell layout, because i cannot format the text properly on this forum's text editor - please see attachmentAttachment 729047

  5. #5
    Registered User
    Join Date
    07-01-2020
    Location
    England
    MS-Off Ver
    LibreOffice Calc / MS Excel 2003
    Posts
    37

    Re: Rows 10-59, if Col Z has value, list corresponding cell in Col Y & Col AA, concatenate

    Omg why is there a "reply to thread" button at the bottom of the text input window, which clears the entire window?

    I have for the second thread now, typed out a giant reply, and lost it all, absolutely all gone, by pressing the "Reply to Thread" button.

  6. #6
    Registered User
    Join Date
    07-01-2020
    Location
    England
    MS-Off Ver
    LibreOffice Calc / MS Excel 2003
    Posts
    37

    Re: Rows 10-59, if Col Z has value, list corresponding cell in Col Y & Col AA, concatenate

    I'll try again:

    The attachment didn't attach. So i must start again for the 3rd time. I thought the OP was simple but l guess not. Sorry. I shall try to explain again.


    ROW 1:
    Column Y: red
    Column Z:
    Column AA: triangle

    ROW 2:
    Column Y: blue
    Column Z: hello
    Column AA: square

    ROW 3:
    Column Y: red
    Column Z: hello
    Column AA: triangle

    ROW 4:
    Column Y: grey
    Column Z: bye
    Column AA: circle

    ROW 5:
    Column Y: green
    Column Z:
    Column AA: triangle

    ROW 6:
    Column Y: blue
    Column Z: hello
    Column AA: square


    Desired result: either just show me the value for Column Y if Z has a value, or Column Y concatenated with Column AA.

    BUT there's something more: I want all of the results together, no null lines, just the positive results
    ALL in one cell.

    Is that possible?

    Desired result:

    either:
    blue
    red
    grey
    blue

    or col Y and col AA concatenated:

    blue square
    red triangle
    grey circle
    blue square

  7. #7
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: Rows 10-59, if Col Z has value, list corresponding cell in Col Y & Col AA, concatenate

    Try to attach a sample worksheet. See the yellow banner on the top to see how to attach a file.
    Quang PT

  8. #8
    Registered User
    Join Date
    07-01-2020
    Location
    England
    MS-Off Ver
    LibreOffice Calc / MS Excel 2003
    Posts
    37

    Re: Rows 10-59, if Col Z has value, list corresponding cell in Col Y & Col AA, concatenate

    OK i will just contruct the data l have already given

  9. #9
    Registered User
    Join Date
    07-01-2020
    Location
    England
    MS-Off Ver
    LibreOffice Calc / MS Excel 2003
    Posts
    37

    Re: Rows 10-59, if Col Z has value, list corresponding cell in Col Y & Col AA, concatenate

    Here it is, it's just the same data as in my replies

    Please let me know if you cannot open it

    Thanks in advance.
    Attached Files Attached Files

  10. #10
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: Rows 10-59, if Col Z has value, list corresponding cell in Col Y & Col AA, concatenate

    Excel function is NOT good at text combination.
    this requirement need VBA but i am not familiar with.

  11. #11
    Registered User
    Join Date
    07-01-2020
    Location
    England
    MS-Off Ver
    LibreOffice Calc / MS Excel 2003
    Posts
    37

    Re: Rows 10-59, if Col Z has value, list corresponding cell in Col Y & Col AA, concatenate

    I guess it really is game over for me, at last! I've found something Excel cannot do (without VBA)

  12. #12
    Registered User
    Join Date
    12-04-2020
    Location
    Bangkok
    MS-Off Ver
    365
    Posts
    61

    Re: Rows 10-59, if Col Z has value, list corresponding cell in Col Y & Col AA, concatenate

    To combine all results in one cell with a formula, only MS365 can achieve this with formula like the following.

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


    t-CPSv-Xp417.png

  13. #13
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Rows 10-59, if Col Z has value, list corresponding cell in Col Y & Col AA, concatenate

    Looks like you are using Excel 2003. You'd need to input line by line like so
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    formatting the cell to wrap text.

  14. #14
    Registered User
    Join Date
    07-01-2020
    Location
    England
    MS-Off Ver
    LibreOffice Calc / MS Excel 2003
    Posts
    37

    Re: Rows 10-59, if Col Z has value, list corresponding cell in Col Y & Col AA, concatenate

    Hi there thanks.

    I think l'll give phatdear the benefit of the doubt as to finding the solution, seeing as l don't have MS365.

    ChemistB, yours gave a combo all in one cell by matching one column's value with another on caveat of there being an actual value in one of the columns. That's what l asked for, that's what l got. Unfortunately, it doesn't format the text in a copy-pasteable manner so for me l'll just stick to manual copy-pasting (just 2 or 3 clicks), l just thought it'd be nice to automate it because, well, spreadsheets are our slaves.

    Also, the actual real data set is about 240 rows long.

    Technically you both did as well as each other. Thanks guys! I think l'm done with my tech challenges for the forseeable future - bye!

+ 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. Replies: 6
    Last Post: 06-19-2018, 05:11 PM
  2. [SOLVED] Group consecutive numbers in a concatenated list
    By Excel-lecxE in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-15-2018, 11:21 AM
  3. [SOLVED] Concatenated list of years for each winner
    By neil40 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 07-25-2017, 09:25 AM
  4. VBA search for concatenated cells, return corresponding rows
    By jtd84 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-04-2012, 02:58 AM
  5. vba to Match concatenated values in concatenated columns
    By bjurick in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-28-2012, 03:45 PM
  6. Concatenated data in subsequent rows
    By doorsgirl in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-15-2011, 12:06 PM
  7. Break Concatenated Field into Rows
    By bconner in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-16-2011, 03:25 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