copy and paste rows based on criteria

elynoy

Board Regular
Joined
Oct 29, 2018
Messages
160
Office Version
  1. 365
  2. 2021
  3. 2016
Platform
  1. Windows
Hello, guys.

Is is possible to copy and paste rows based on 2 or more criteria? I'll explain:

I'm building an Agenda with excel. I got it to work as a perpetual agenda the only thing missing is that, for exemple, when february has only 28 days there are extra rows on the sheet for when that month has 29 days. Or, when that month has 29 days and i need to remove one day so it becomes only 28 again.

I have a formula that gives me the end of the month for each month. I have another fórmula that excludes all the sundays on the month, so, if the month starts on a sundays it jumps into monday and starts counting from there untill the end of the month wich if ends on a sunday it will jump again.

So, my question is, is it possible to, to add and remove rows based on all those conditions?

My goal is to have the perpetual agenda while changing only the year it removes the rows with excedent days or add rows if there are missing days on that month.

And the amount of rows it needs to "copy and paste" are about 40.

Best regards,
eLy
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,223,236
Messages
6,170,915
Members
452,366
Latest member
TePunaBloke

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