Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Business Applications
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop driver drivers dvd email error excel firefox hard drive hardware hdmi hijackthis internet keyboard laptop malware monitor network networking outlook problem ram recovery router safe mode screen slow sound spyware trojan upgrade vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Business Applications >
Solved: Excel or Access or something else???

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
allenkc's Avatar
Computer Specs
Senior Member with 177 posts.
 
Join Date: Feb 2003
Location: Kentucky
Experience: Intermediate
02-May-2009, 12:31 AM #1
Solved: Excel or Access or something else???
Is it possible somehow to take a list of names in an excel file that are listed in columns per below:
Employee Dependent SSN
Bob Smith Tracy Smith 444444444
Bob Smith Terry Smith 333333333
Bob Smith Alice Smith 222222222

What I need is for the results to be like in a flat file (or all in one line)like this:
Employee Dependent1 SSN1 Dependent2 SSN2 Dependent3 SSN3
Bob Smith Tracy Smith 444444444 Terry Smith 333333333 Alice Smith 22222222

I am trying to do a mail merge and it needs to be in this order if possible. Does anyone have any idea if this is possible??? Thanks!!
__________________
Don't be a Douche Bag!!
OBP's Avatar
OBP OBP is online now
Computer Specs
Distinguished Member with 9,331 posts.
 
Join Date: Mar 2005
Location: UK
Experience: An old Basic Programmer
02-May-2009, 07:00 AM #2
This can be done in either Access or Excel. But I think that you will need an Excel Macro or Access VBA to do it.
It is probably marginally easier in Excel with a macro, but the control of the data is better in Access, so really the choice is yours, personally I would go with Excel if the data is already there.
__________________
OBP
I do not give up easily
allenkc's Avatar
Computer Specs
Senior Member with 177 posts.
 
Join Date: Feb 2003
Location: Kentucky
Experience: Intermediate
02-May-2009, 10:36 AM #3
Thanks for your advise but there lies the main problem, I do not know how to write a macro. Could any give any advise on how to write a macro in excel (if it is the easiest)?
OBP's Avatar
OBP OBP is online now
Computer Specs
Distinguished Member with 9,331 posts.
 
Join Date: Mar 2005
Location: UK
Experience: An old Basic Programmer
02-May-2009, 10:43 AM #4
allen, I am just a bit busy at the moment, I will ask slurpee if he can have a look at it for you, he seems to be the only other regular looking in at the moment, although Double Helix might take a look.
If they can't do anything for you by tomorrow i will have a go, it shouldn't take long it just needs a loop to compare the names in Column A and if it doesn't change put the name in Column B in to the next column on another sheet.
__________________
OBP
I do not give up easily
OBP's Avatar
OBP OBP is online now
Computer Specs
Distinguished Member with 9,331 posts.
 
Join Date: Mar 2005
Location: UK
Experience: An old Basic Programmer
02-May-2009, 10:45 AM #5
It would help if you posted an excel sheet with those examples on already
allenkc's Avatar
Computer Specs
Senior Member with 177 posts.
 
Join Date: Feb 2003
Location: Kentucky
Experience: Intermediate
02-May-2009, 11:22 AM #6
Here you go OBP.

One other thing, I am only showing 3 dependents on this sheet but I need to make it work for up to 8 dependents.

Thanks for your time.
Attached Files
File Type: xls sample.xls (22.5 KB, 23 views)
OBP's Avatar
OBP OBP is online now
Computer Specs
Distinguished Member with 9,331 posts.
 
Join Date: Mar 2005
Location: UK
Experience: An old Basic Programmer
02-May-2009, 11:54 AM #7
This should do it, just click the button
Attached Files
File Type: xls sample.xls (38.5 KB, 20 views)
allenkc's Avatar
Computer Specs
Senior Member with 177 posts.
 
Join Date: Feb 2003
Location: Kentucky
Experience: Intermediate
02-May-2009, 12:00 PM #8
WOW....thank you so much. That should do it!!!
OBP's Avatar
OBP OBP is online now
Computer Specs
Distinguished Member with 9,331 posts.
 
Join Date: Mar 2005
Location: UK
Experience: An old Basic Programmer
02-May-2009, 12:25 PM #9
Can you mark the thread as Solved please?
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 08:19 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.