r/excel • u/Equivalent-Bag-7855 • Jan 29 '26
unsolved Turning rows of data (for same customer) into one row?
Hi everyone,
Is there a way I can turn many rows of data (for the same customer) into one horizontal row, where it is listed in columns?
Disclaimer, very basic excel user so please go easy!!
Situation - I have a large data set (5000+) rows for multiple customers, often the same customer will have multiples lines for each product (with different price, sales person, status).
Question - is there an easy way to get these rows of data into one row per customer name?
I have mocked up a basic example in a picture with what my current data set looks like, and what I’m trying to get it to look like.
Thank you in advance for any assistance, this will really save my ass at work!!
•
u/AutoModerator Jan 29 '26
/u/Equivalent-Bag-7855 - Your post was submitted successfully.
Solution Verifiedto close the thread.Failing to follow these steps may result in your post being removed without warning.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/Anonymous1378 1542 Jan 29 '26 edited Jan 29 '26
Power Query makes the most sense to me, but here's a formula anyway
I'm hoping it's more efficient than a REDUCE(VSTACK()), but I'm not entirely sure that is the case.
2
u/MayukhBhattacharya 1327 Jan 29 '26
Using Excel Formula with
PIVOTBY()it will work for 5K rows of Data, but will be slow and performance is not better, so I tried using the Power Query, which worked on my end.Using Excel Formula (Not Suggested, but works with 5K rows of data, still try to avoid) PQ is better here.
1
u/audio-nut Jan 29 '26
paste special...transpose
1
u/manofinaction Jan 29 '26
can you tell a little more about why you need it done this? the upper table is cleaner and you could just filter results by company name.
1
u/Decronym Jan 29 '26 edited Jan 29 '26
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:
Decronym is now also available on Lemmy! Requests for support and new installations should be directed to the Contact address below.
Beep-boop, I am a helper bot. Please do not verify me as a solution.
24 acronyms in this thread; the most compressed thread commented on today has 32 acronyms.
[Thread #47222 for this sub, first seen 29th Jan 2026, 09:28] [FAQ] [Full list] ^[Contact] [Source code]
1
u/[deleted] Jan 29 '26
[removed] — view removed comment