+ Reply to Thread
Results 1 to 11 of 11

Need to combine images from rows into one cell

  1. #1
    Registered User
    Join Date
    10-19-2021
    Location
    New York
    MS-Off Ver
    O365
    Posts
    6

    Need to combine images from rows into one cell

    Hi,
    In the attached file, I need to combine all the images into one cell separated with commas, but only the ones below until the value of column A changes.
    I'm not really sure if I am explaining this well but hopefully the screenshot will help. My original spreadsheet has 12,000 rows so obviously I cannot do this manually.
    Please help.
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,853

    Re: Need to combine images from rows into one cell

    Are you still using Excel 2010 or something newer

    Where are the prices that you want to combine?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    10-19-2021
    Location
    New York
    MS-Off Ver
    O365
    Posts
    6
    Quote Originally Posted by AliGW View Post
    Are you still using Excel 2010 or something newer

    Where are the prices that you want to combine?
    I need to combine the image in column E into one cell, I don't need to combine prices. I am using excel 365.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Need to combine images from rows into one cell

    1. Please ajust yoour profile to SHOW O365.

    2. Try:

    =LET(A,Sheet1!A2:D27,B,Sheet1!E2:E27,C,UNIQUE(A),D,FILTER(C,INDEX(C,,1)<>""),E,SCAN("",INDEX(A,,1),LAMBDA(x,y,IF(y="",x,y))),F,MAP(INDEX(D,,1),LAMBDA(x,TEXTJOIN(CHAR(10),,IF(E=x,B,"")))),HSTACK(D,F))
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  5. #5
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,004

    Re: Need to combine images from rows into one cell

    Another try,

    Please Login or Register  to view this content.
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    10-11-2021
    Location
    Netherlands
    MS-Off Ver
    365
    Posts
    1,386

    Re: Need to combine images from rows into one cell

    Easy with Power Query. But you will lose your hyperlinks if you combine them

    PHP Code: 
    let
        Source 
    Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
        
    cols = {"Product ID""Variant ID""Product handle""Product title"},
        
    fill Table.FillDown(Source,cols),
        
    grp Table.Group(fillcols, {{"images"each Text.Combine(_[Product images],", ")}})
    in
        grp 
    Attached Files Attached Files
    Last edited by JEC.; 07-30-2023 at 05:16 AM.

  7. #7
    Registered User
    Join Date
    10-19-2021
    Location
    New York
    MS-Off Ver
    O365
    Posts
    6

    Re: Need to combine images from rows into one cell

    Hi,
    Your info was excellent. Does exactly what I want but I can't translate it into my data.

    I added another file with the actual correct columns that I have. Would you be able to show me the formula for this 2nd sheet.

    Thanks so much for your help.
    Attached Files Attached Files

  8. #8
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,004

    Re: Need to combine images from rows into one cell

    Try this,

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by windknife; 07-30-2023 at 10:12 PM.

  9. #9
    Registered User
    Join Date
    10-19-2021
    Location
    New York
    MS-Off Ver
    O365
    Posts
    6

    Re: Need to combine images from rows into one cell

    Thank you. This is perfect.

  10. #10
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,004

    Re: Need to combine images from rows into one cell

    You are welcome.
    -----------------------------------
    If that takes care of your original question, please click on "Thread Tools" from the menu link above and mark this thread as SOLVED.

  11. #11
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Need to combine images from rows into one cell

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please click on "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

+ 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. Combine 2 rows into 1 cell
    By nzkf in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-21-2021, 01:50 PM
  2. [SOLVED] Can't show different images on different rows that match cell contents
    By Ochimus in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-19-2021, 11:20 AM
  3. Replies: 1
    Last Post: 11-04-2020, 09:03 AM
  4. Is it possible to combine/merge images?
    By MrFletcher in forum Excel General
    Replies: 14
    Last Post: 04-15-2020, 12:46 PM
  5. [SOLVED] Combine rows with duplicate items in one cell and merge values in other cell
    By Niclal in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 09-18-2014, 07:04 AM
  6. Combine Rows with same Cell Value
    By sliderx in forum Excel General
    Replies: 3
    Last Post: 11-24-2013, 09:18 PM
  7. [SOLVED] Swap images depending on text in cell (vlookup for images??)
    By ld2x07 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 06-06-2013, 10:32 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