Solved

Appending Strings form column

Posted on 2014-01-14
3
108 Views
Last Modified: 2014-02-07
Hi all,

I have a summary sheet in an excel.

I want to make a summary of a purchase order column which i text

so for example if I had the following column

Purchase Order
C-193
C-193
C-193
C-190

The summary text would be C-193,C190

is this possible without using macros?
0
Comment
Question by:flynny
  • 2
3 Comments
 
LVL 19

Assisted Solution

by:regmigrant
regmigrant earned 250 total points
ID: 39778942
Use Data, Advanced filter, unique rows to create a list of the individual items in (for example) column D

then in column E2  put
=D2

Then in E3 put

=D3 & "," & D2 & ","

If you copy this down column b you will get all of the rows added together in the final row - it will have an extra comma on the end. Copy this cell and 'paste, special, values' to a new field and you have a text version from which you can delete the extra comma
0
 
LVL 33

Accepted Solution

by:
Rob Henson earned 250 total points
ID: 39778970
You can also use a Pivot Table to create a list of PO references.

Another formula option without creating a unique list would be:

Assuming PO reference in column D like above and assuming references are sorted in order.

Against the first reference put, assumed entry in E2:

=D2

Start this formula in row of second entry, even if same PO as first entry:

=IF(D3=D2,E2,E2&","&D3)

Copy down list of data. The last entry will then be the complete list.

Thanks
Rob H
0
 
LVL 19

Expert Comment

by:regmigrant
ID: 39779061
nice
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question