LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
DEE DEE is offline
external usenet poster
 
Posts: 250
Default Vlookup to transform columns to rows

Hi,

I have data, for example:

Empl No. Emp First Emp Last Dependents Dep1 Dep2
Dep3
98789991 John Doe Mary Mary
Jim Suzie
98789992 John Doe Jim
98789993 John Doe Suzie
87656781 Marie Smith James James
89986661 Mark White Janet Janet
Al
89986662 Mark White Al

after which I can delete the no longer necessary rows.

Any help would be greatly appreciated!

I have added the 1, 2, 3, etc. to the end of the Empl Number to denote
numbers of dependents through a formula.

I would like to transform the Dependent column to Dependent1, Dependent2,
Dependent3, etc. through a formula that looks up the Empl No and, based on
the number at the end of it, puts the correct dependent name in those
columns, as:

Empl No. Emp First Emp Last Dependents Relationship
98789991 John Doe Mary Wife
98789992 John Doe Jim Son
98789993 John Doe Suzie Daughter
87656781 Marie Smith James Husband
89986661 Mark White Janet Wife
89986662 Mark White Al Son


--
Thanks!

Dee
 
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
Excel 2003 - change columns to rows and rows to columns Trish Excel Discussion (Misc queries) 0 August 17th 07 02:22 AM
Excel 2003 - change columns to rows and rows to columns JLatham Excel Discussion (Misc queries) 0 August 17th 07 02:05 AM
Vlookup by rows and columns puukoi Excel Worksheet Functions 2 September 4th 06 09:38 PM
how to interchange rows to columns & columns to rows in a table kotakkamlesh Excel Discussion (Misc queries) 1 July 10th 06 07:58 AM
How can I transform several rows into 1 column in excel? Melanie Excel Discussion (Misc queries) 5 October 11th 05 07:22 PM


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