Move row based on information from two columns

toomanydogs

New Member
Joined
Dec 21, 2024
Messages
2
Office Version
  1. 365
  2. 2024
Platform
  1. Windows
Hello,

I need help to create a code that when you hit the button it to checks to see if the status of a project in the sheet "Inbox" is marked completed (column K). If it is completed, then it needs to move to another sheet based on the location (column A) and delete the entire row. So if a project is completed in Location 1, then it needs to move to another excel sheet labeled Location 1. If a project is marked as completed for Location 2, then it needs to move to another excel sheet labeled Location 2. If the status bar is empty or in progress it needs to be left behind.

The projects start in row 3 of the sheet.

Thank you!
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
This is what I have so far. I don't have a delete code in there and I keep getting an error "Next without For"
 

Attachments

  • Code for Maintenance Sheet.png
    Code for Maintenance Sheet.png
    80.3 KB · Views: 5
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,154
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