Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Concatenate Variable Array of Text Cells

I'm trying to Concatenate an array of cells into 1 cell but there can be
anywhere from 0 to 50 entries. I don't have a problem finding the size of
the array, but I've got the array as an offset right now and I'm unsure how
to return the text from the array. Any suggestions?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 434
Default Concatenate Variable Array of Text Cells

hi, !

I'm trying to Concatenate an array of cells into 1 cell but there can be anywhere from 0 to 50 entries.
I don't have a problem finding the size of the array
but I've got the array as an offset right now and I'm unsure how to return the text from the array. Any suggestions?


1) could you be more specific regardig "where" (exactly) could it be your "anywhere" ?
and (of course) how to be sure *IF* the array is 0 or 50 entries ?

2) could you expose the formulae and/or code actually used (if any) ?

3) it might be preferable an UDF (but, knowing a little more of your unexposed "details")

regards,
hector.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Concatenate Variable Array of Text Cells

I've got a list of names on one sheet, with the category they belong to at
top. On the second sheet is a list of dates and each date has a category the
falls on that date. I want to return the list of names belonging in that
category each time the category shows up for a date.

Sheet name = Groups
A B C D
Name1 Name1 Name3
Name3 Name7 Name8
Name4 Name9
Name6


Second Sheet
8/24 8/25 8/26 8/27
A C D B
Formula Cell

This is the current forumla that is the the cell under A

=OFFSET(INDIRECT(ADDRESS(2,MATCH(E16,Groups!2:2,FA LSE),4,TRUE,"Groups"),TRUE),1,0,COUNTA(OFFSET(INDI RECT(ADDRESS(2,MATCH(E16,Groups!2:2,FALSE),4,TRUE, "Groups"),TRUE),1,0,100,1)),1)

I'm got the array being returned but I'm unsure how to put it into one cell
as text.

"Héctor Miguel" wrote:

hi, !

I'm trying to Concatenate an array of cells into 1 cell but there can be anywhere from 0 to 50 entries.
I don't have a problem finding the size of the array
but I've got the array as an offset right now and I'm unsure how to return the text from the array. Any suggestions?


1) could you be more specific regardig "where" (exactly) could it be your "anywhere" ?
and (of course) how to be sure *IF* the array is 0 or 50 entries ?

2) could you expose the formulae and/or code actually used (if any) ?

3) it might be preferable an UDF (but, knowing a little more of your unexposed "details")

regards,
hector.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 434
Default Concatenate Variable Array of Text Cells

hi, !

AFAIK, there is no way to concatenate arrays in a single cell using only worksheet-functions
you will need to create a UDF that matches the group-column and resizes up to the rows needed
there is an alternate by defining named-formulae and using ("ancient" ?) xl4-macro-functions
(but i'm sure you don't want to know about this one)

if any doubt (or further information)... would you please comment ?
regards,
hector.

__ OP __
I've got a list of names on one sheet, with the category they belong to at top.
On the second sheet is a list of dates and each date has a category the falls on that date.
I want to return the list of names belonging in that category each time the category shows up for a date.
Sheet name = Groups
A B C D
Name1 Name1 Name3
Name3 Name7 Name8
Name4 Name9
Name6
Second Sheet
8/24 8/25 8/26 8/27
A C D B
Formula Cell
This is the current forumla that is the the cell under A
=OFFSET(INDIRECT(ADDRESS(2,MATCH(E16,Groups!2:2,FA LSE),4,TRUE,"Groups"),TRUE),1,0,COUNTA(OFFSET(INDI RECT(ADDRESS(2,MATCH(E16,Groups!2:2,FALSE),4,TRUE, "Groups"),TRUE),1,0,100,1)),1)
I'm got the array being returned but I'm unsure how to put it into one cell as text.


__ 1st P __
I'm trying to Concatenate an array of cells into 1 cell but there can be anywhere from 0 to 50 entries.
I don't have a problem finding the size of the array
but I've got the array as an offset right now and I'm unsure how to return the text from the array. Any suggestions?


1) could you be more specific regardig "where" (exactly) could it be your "anywhere" ?
and (of course) how to be sure *IF* the array is 0 or 50 entries ?

2) could you expose the formulae and/or code actually used (if any) ?

3) it might be preferable an UDF (but, knowing a little more of your unexposed "details")



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Concatenate cells with text and numbers/decimals rrupp Excel Worksheet Functions 2 June 19th 08 08:42 PM
CONCATENATE number and text from different cells furnaceman Excel Worksheet Functions 2 June 8th 07 06:11 AM
Creating a concatenate text list by referencing an array nothingbutjeep Excel Discussion (Misc queries) 0 May 30th 06 09:46 PM
Can I concatenate text in cells to make a working formula? Matt S. R. Excel Discussion (Misc queries) 11 November 11th 05 03:44 PM
concatenate a text string if two different cells contain the sam. Linda G Excel Worksheet Functions 5 January 17th 05 07:53 PM


All times are GMT +1. The time now is 09:48 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"