Based on inserting a new row in first sheet - in another sheet find the last row and create new set of rows with predefined formatting and formulas

hananak

Board Regular
Joined
Feb 10, 2022
Messages
110
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Dear All,

In my excel workbook, I have two sheets.

1) Summary
2) Schedule

In summary sheet whenever I insert one row. It should automatically create in the schedule sheet 13 (Including the Total) rows with predefined formatting and formulas but remove the constants.

I have uploaded the mini sheets.

First Row in the summary sheet and 13 rows in the Schedule sheet already created manually by me. From here I am looking for a VBA code (Macro), that will do this task whenever any one insert row in summary sheet.

Your help would be really appreciated.

Many Thanks.

Sample Register.xlsx
ABCDEFGHIJKLM
1
2
3SERVICE/STAFF NAMEORGANISATIONDEPTSPECIALTYBUDGET CODENOMINAL CODEANNUAL EXPENSEMONTHLY EXPENSEYTD INVOICEAMOUNT TO ACCRUE ACCRUALS PERIOD Purpose NARRATIVE
4RubinoDunhill College London#REF!#REF!30340584920016,0001,333.332,527.16-0Salary Recharge#REF!
5
Summary



Sample Register.xlsx
ABCDEFGHIJKLM
1SCHEDULE
2
3
4Month3M0331/03/2022
5
6DEPTCOMPANYMAIN CODENOMINAL CODESTAFF NAMEMONTHSPERIODINV NO INV AMOUNT £ ACCRUALS ACCRUALS PERIODCOMMENTS
71Dunhill College LondonRubinoM01Apr-21123451,263.58Check
82Dunhill College LondonRubinoM02May-2167891,263.58Check
93Dunhill College LondonRubinoM03Jun-21
104Dunhill College LondonRubinoM04Jul-21
115Dunhill College LondonRubinoM05Aug-21
126Dunhill College LondonRubinoM06Sep-21
137Dunhill College LondonRubinoM07Oct-21
148Dunhill College LondonRubinoM08Nov-21
159Dunhill College LondonRubinoM09Dec-21
1610Dunhill College LondonRubinoM10Jan-22
1711Dunhill College LondonRubinoM11Feb-22
1812Dunhill College LondonRubinoM12Mar-22
19RubinoTotal2,527.160.00
Schedule
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Can anyone confirm whether it is possible please?
 
Upvote 0
Anyone Please help or at least let me know if this is something possible?
 
Upvote 0

Forum statistics

Threads
1,224,812
Messages
6,181,099
Members
453,021
Latest member
Justyna P

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