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: 5
Default Wondering if this is possible with a Macro or if another solution is better...

I have tried poting this question in the excel.misc group but I have
had no advice on how to do this. My first thought was to use a VLookup
and HLookup but I am unsure of how to go about doing this and if this
is even the best way. So now I am posing the question as to whether or
not this can be done with a Macro.

I have three seperate spreadsheets. All three spreadsheets have
Employee Name, Check # and Check Date in common. I need to combine the
three spreadsheets by check # all on one line for each check number.
For instance, the final spreadsheet would have Employee Name, Check #,
Check Date, Gross Pay, Total Deductions, Total Withholding, Net Pay,
Deduction A, Deduction B,...Witholding A, and so on. Below is a sample
of the data.


Spreadsheet1:
Check # Check Dt Name Tot Gross Total Ded. Total Taxes Net Pay End Date
123456 2005-09-16 Doe, John 1,794.62 196.40 206.38 1,391.84
2005-09-25

Spreadsheet2:
Check # Check Dt Name Plan Typ Deductn Cd Ded Class Curr Dedn End Date
123456 2005-09-16 Doe, John Life BASLIF Before-Tax 1.15 2005-09-25
123456 2005-09-16 Doe, John Medical GRBOSN Before-Tax 51.68 2005-09-25
123456 2005-09-16 Doe, John Retirement
Plans ORPAET Before-Tax 143.57 2005-09-25
123456 2005-09-16 Doe, John Retirement
Plans TRSL01 Before-Tax 0.00 2005-09-25
123456 2005-09-16 Doe, John Life BASLIF Nontaxable
Benefit 1.15 2005-09-25
123456 2005-09-16 Doe, John Medical GRBOSN Nontaxable
Benefit 155.04 2005-09-25
123456 2005-09-16 Doe, John Retirement Plans ORPAET Nontaxable
Benefit 285.34 2005-09-25
123456 2005-09-16 Doe, John Retirement Plans TRSL01 Nontaxable
Benefit 0.00 2005-09-25

Spreadsheet3:
Check # Check Dt Name Tax Class St Curr Tax End Date
123456 2005-09-16 Doe, John FICA Med Hospital Ins /
EE $U 25.26 2005-09-25
123456 2005-09-16 Doe, John Withholding $U 147.04 2005-09-25
123456 2005-09-16 Doe, John FICA Med Hospital Ins /
ER $U 25.26 2005-09-25
123456 2005-09-16 Doe, John Withholding LA 34.08 2005-09-25


Any help would be GREATLY appreciated!

Gerald

 
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
hopefully a simple solution for Macro quesion hmz Excel Worksheet Functions 3 July 30th 09 08:00 PM
Possible Macro Solution To My Problem Robert Excel Discussion (Misc queries) 4 July 24th 09 12:03 AM
Macro Solution for Link Problem? Mikeice Excel Worksheet Functions 2 June 14th 05 07:49 AM
Macro better solution than cell formula with date? LLr Excel Programming 2 April 15th 05 03:20 PM
Problem vlookup -solution macro Michel8 Excel Programming 1 November 24th 04 10:52 AM


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