LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions,microsoft.public.excel
external usenet poster
 
Posts: 6
Default Copying rows down into cells across until row=false ?

Sorry about the title, let me explain in more detail:

In row A, I have various listings. The title is always in caps, the user is
always in mixed case.

For example:

COW
SHEEP
Jim
Bob
Stu
RHINO
Dave
Ollie

So, no-one is interested in COWS but Jim, Bob and Stu like SHEEP. And what I
need to end up with is:

COW
SHEEP | Jim, Bob and Stu
RHINO | Dave and Ollie

You get the picture. It doesn't matter if the readers names go into one cell
each, I can concatenate them later.

Now, what I've worked out is that I can put a TRUE or a FALSE in the next
column along, with:
=IF(AND(LEN(A1)1,EXACT(A1, UPPER(A1))),TRUE,FALSE)

So I've got

Code:
COW | TRUE
SHEEP | TRUE
Jim | FALSE
Bob | FALSE
Now, what I HAD planned on doing was a formula which would test if the cell
to the right of A1 said true or false, then concatenate the contents of the
cell below the contents of A1 in the most recent TRUE cell, then concatenate
that plus the next on and the next one until we get another TRUE. But of
course, the cell value changes too.

So I'm clearly out of my depth here! I just showed that to prove that I have
at least tried and thought about it,
 
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
Copying & Dragging Cells & Keeping Rows On all Screens trvlnmny New Users to Excel 2 February 16th 10 01:14 AM
Adding Rows and copying cells Jeff S. New Users to Excel 2 September 5th 08 06:16 PM
allow insert rows = false for only some of the worksheet bill311 Excel Worksheet Functions 1 September 5th 08 11:21 AM
Need help copying cells into rows with spaces between Doug Titus Excel Discussion (Misc queries) 0 July 25th 08 06:00 PM
Copying cells from varying rows annettek Excel Discussion (Misc queries) 2 May 25th 07 02:51 PM


All times are GMT +1. The time now is 08:35 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"