Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / April 2007

Tip: Looking for answers? Try searching our database.

Combine variable number of columns

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mack Neff - 26 Apr 2007 21:37 GMT
I have a single spreadsheet with a list of clients, addresses and their
product interests. This table will be used to drive a Mailmerge document. In
the document, I want to be able to refer to the products in which they
indicated an interest. The problem is that while one client may have
identified only one product (one column) others have selected anywhere from
two to 170 products - each product is in a separate column. I can join two
columns with "&", but when I have an inconsistent number of columns how do I
do this efficiently? - I will have to do it for each client, each month, so
am not interested in manually typing all 171 combinations.
Pete_UK - 27 Apr 2007 01:54 GMT
Maybe you can use an extra column which is a count of the number of
items in the columns covering up to 170, eg:

=COUNT(G2:FT2), or
=COUNTA(G2:FT2)

if your product columns start with G.

Hope this helps.

Pete

> I have a single spreadsheet with a list of clients, addresses and their
> product interests. This table will be used to drive a Mailmerge document. In
[quoted text clipped - 5 lines]
> do this efficiently? - I will have to do it for each client, each month, so
> am not interested in manually typing all 171 combinations.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.