Copy Certain cells to different worksheet depending on what cell in row is populated

bnav2118

New Member
Joined
Oct 14, 2021
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hello- Very new to VBA here and very stuck! Any help will be greatly appreciated.
I have a workbook with several different sheets (individual coverage) and one Master of all sheets combined. On the master I have Columns with Name, employee ID and 8 different coverages. Each sheet is for each individual coverage the employee is signed up for. I am trying to find a way that each time an employee is signed up for and added to the Master sheet, each coverage option amount they enroll for along with their name and employee ID is copied over to the appropriate sheet.
OCSB Billing Remit to Payroll_Working_F.xlsx
ABCDEFGHIJKLMN
1NameEE ID AD&D Cr Ill Ins Dental D C Sp Acct H C Sp Acct L T D S T D AD&D VISION Vol Acc FlCred Total EE Cost
2John123456$ 5.00$ 5.00$ 6.05$ 16.05
3Jane458972$ 1.00$ 500.00$ 501.00
4Bob8587452$ 5.00$ 7.00$ 8.00$ 20.00
5Austin894646123$ 5.00$ 5.00
6Ruben5465612984$ 7.00$ 8.00$ 15.00
7James45813464$ 7.00$ 5.00$ 12.00
8Lisa48648$ 9.00$ 6.00$ 15.00
9Ashley4874816$ 8.00$ 8.00
10Laura58978974618$ 8.00
11$ -
12$ -
MASTER
Cell Formulas
RangeFormula
N2:N12N2=SUM(C2:M2)
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
This would be one of the sheets I need data to be moved to.


OCSB Billing Remit to Payroll_Working_F.xlsx
ABCD
1Employee NameEE SSDeduction Name Premium Deducted
2
3John123456The Hartford-EO Vol Life & AD&D$ 5.00
4 #REF!
5 #REF!
6 #REF!
7 #REF!
8 #REF!
9 #REF!
AD&D
Cell Formulas
RangeFormula
C3:C9C3=IF(A3<>"","The Hartford-EO Vol Life & AD&D","")
D4:D9D4=INDEX(MASTER!#REF!,MATCH('AD&D'!B4,MASTER!B:B,0))
 
Upvote 0

Forum statistics

Threads
1,223,264
Messages
6,171,081
Members
452,377
Latest member
bradfordsam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top