LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 152
Default Copy multiple values into a single cell

I have a worksheet whe
Row 1 is the header row
A2:Axx is UIC
B2:Bxx is BLDG
C2:Cxx is ROOM
D2:Dxx is LAST [name]
E2:Exx is FIRST [name]
F2:Fxx is MI [middle initial]

I've tried to get a merge to work in Word, but have been told what I need to
do is impossible (Word cannot merge data from two separate fields). So,
perhaps this might work from the Excel side.

I'm holding out for some hope that Excel can group multiple values on
another worksheet -- otherwise, I'm stuck having to copy paste data onto each
form in Word. Can I get the following results from Excel?:
Column A: UIC & BLDG & ROOM
Column B: LAST & FIRST & MI

The UIC & ROOM will always be in the same BLDG
The UIC is not the same for each ROOM (this is what Word merge can't do)

The output would look something like:
(Header Row)
A1: UIC; BLDG; ROOM
B1: LAST, FIRST, MI

A2: W1234; 456; 12A
B2: Jones, Mary L
Smith, Joe S
Doe, Adam D

A3: W3456; 456; 12A
B3: Black, Alan F
White, Barbara T

A4: W3456; 456; 99A
B4: House, Jill S [and so on]

You see that:
o The BLDG stayed the same for all three rows;
o Rows 2 & 3 have the same ROOM;
o Rows 3 & 4 have the same UIC but not the same room;
o The names column B are stacked (not one long string)
o There is a separate form for each UIC + ROOM

BTW: I also have the form in Excel whe
(First page)
K3 = UIC
P3 = BLDG
U3 = ROOM (note: I can merge these together if needed)
(Second page)
A52:Axx = LAST
G52:Gxx = FIRST
N52:Nxx = MI (note: I can merge these together if needed)

Thanks -- Suzanne
 
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
VLookup multiple values - sum returned values into single cell se7098 Excel Worksheet Functions 12 April 2nd 23 07:32 PM
Multiple returned values into a single cell Jeff Excel Discussion (Misc queries) 12 May 29th 09 11:41 PM
Auto copy single values to another cell DDavid Excel Discussion (Misc queries) 5 September 27th 07 02:11 PM
How to sum the values of a single cell from multiple worksheets Ratman Excel Worksheet Functions 3 September 20th 05 06:35 PM
Toggle multiple values in single cell Chandni Excel Worksheet Functions 5 February 10th 05 12:48 AM


All times are GMT +1. The time now is 10:53 AM.

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"