Automatic insertion of rows with two or more conditions with continuance of formulas

baidya91

Board Regular
Joined
Jun 1, 2016
Messages
147
I have worksheet where Column A if for Serial Number, Column B for Post, Column for ROPA, Column D for Pay Scale, Column E for DOA, Column F for Pay, Column G for DOTA, Column H for Reason and Column I for Remark. I want automatic insertion of rows on certain conditions. IF any cell of Column = 81 and if any cell of Column = a date pertaining to a date of 1981 or before or after, rows have to inserted till the date reaches 1989, if IF any cell of Column = 90 and if any cell of Column = a date pertaining to a date of 1990 or before or after, rows have to inserted till the date reaches 1999. IF any cell of Column = 2009 and if any cell of Column = a date pertaining to a date of 2009 or before of after, rows have to inserted till the date (present year). Besides, If any cell of Column H = Change of Ropa, one row has to be inserted next. The formulas of all cells of all columns will continue whenever rows will be inserted. The formulas are to continue in succession. Is there any way to do this? Please help.
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
I have worksheet where Column A if for Serial Number, Column B for Post, Column for ROPA, Column D for Pay Scale, Column E for DOA, Column F for Pay, Column G for DOTA, Column H for Reason and Column I for Remark. I want automatic insertion of rows on certain conditions. IF any cell of Column = 81 and if any cell of Column = a date pertaining to a date of 1981 or before or after, rows have to inserted till the date reaches 1989, if IF any cell of Column = 90 and if any cell of Column = a date pertaining to a date of 1990 or before or after, rows have to inserted till the date reaches 1999. IF any cell of Column = 2009 and if any cell of Column = a date pertaining to a date of 2009 or before of after, rows have to inserted till the date (present year). Besides, If any cell of Column H = Change of Ropa, one row has to be inserted next. The formulas of all cells of all columns will continue whenever rows will be inserted. The formulas are to continue in succession. Is there any way to do this? Please help.

Model of the worksheet (Sheet1):https://www.dropbox.com/s/rbka4qvguahg7z3/PART-II of D OF TKD.xlsx?dl=0
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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