There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Business Applications
Tag Cloud
access acer asus bios bsod computer crash drive driver drivers error ethernet excel freeze games gaming graphics hard drive hardware hdmi internet laptop malware memory monitor motherboard netgear network printer problem ram random registry router slow software sound trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless xbox
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Business Applications >
Solved: Excel or Access or something else???

Reply  
Thread Tools
allenkc's Avatar
Computer Specs
Member with 190 posts.
 
Join Date: Feb 2003
Location: Kentucky
Experience: Intermediate
02-May-2009, 01: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 offline
Computer Specs
Distinguished Member with 14,665 posts.
 
Join Date: Mar 2005
Location: UK
Experience: An old Basic Programmer
02-May-2009, 08: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
Member with 190 posts.
 
Join Date: Feb 2003
Location: Kentucky
Experience: Intermediate
02-May-2009, 11: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 offline
Computer Specs
Distinguished Member with 14,665 posts.
 
Join Date: Mar 2005
Location: UK
Experience: An old Basic Programmer
02-May-2009, 11: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 offline
Computer Specs
Distinguished Member with 14,665 posts.
 
Join Date: Mar 2005
Location: UK
Experience: An old Basic Programmer
02-May-2009, 11:45 AM #5
It would help if you posted an excel sheet with those examples on already
allenkc's Avatar
Computer Specs
Member with 190 posts.
 
Join Date: Feb 2003
Location: Kentucky
Experience: Intermediate
02-May-2009, 12:22 PM #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, 82 views)
OBP's Avatar
OBP OBP is offline
Computer Specs
Distinguished Member with 14,665 posts.
 
Join Date: Mar 2005
Location: UK
Experience: An old Basic Programmer
02-May-2009, 12:54 PM #7
This should do it, just click the button
Attached Files
File Type: xls sample.xls (38.5 KB, 61 views)
allenkc's Avatar
Computer Specs
Member with 190 posts.
 
Join Date: Feb 2003
Location: Kentucky
Experience: Intermediate
02-May-2009, 01:00 PM #8
WOW....thank you so much. That should do it!!!
OBP's Avatar
OBP OBP is offline
Computer Specs
Distinguished Member with 14,665 posts.
 
Join Date: Mar 2005
Location: UK
Experience: An old Basic Programmer
02-May-2009, 01:25 PM #9
Can you mark the thread as Solved please?
Reply

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.

Search Tech Support Guy

Find the solution to your
computer problem!




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



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 03:31 PM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.