Help with VBA project multiple tasks

Mike820

New Member
Joined
Jul 24, 2019
Messages
21
Hi, I’m hoping someone could help me with the tasks below; I know it’s a lot but Any help would be much appreciated. (#1-8 order matters)

1) in column AA SheetA any “0” change to blank cell

2) column AC SheetA some cells say “Fired - xxxx” , I’d like to change anything that doesn’t start with “Fired” changed to a dash then delete the word “Fired” from the text string so the text begins with a the dash.

3) column column AD and AE SheetA change blanks to dash

4) Column AL SheetA if any numbers are in here, change cells to “YES” if cells has “#N/A” clear it out. (Btw, the #N/A’s in this columns are not errors they’re hard coded)

5) I need to compare values in Column AF in SheetA with values in column AF in SheetB using account numbers (column E in both sheets). If an account has the same value (meaning column AF is the same) in both sheets then it is OK, but if the values are different then copy Z-AG in SheetA and paste it in column Z-AG in SheetB for that account.

6) If column P SheetA is less than 1 then change AB to ”<year”
less than 1”

7) clear AA SheetA if AB is “less than 1”<year”


8) if Column E SheetA contains an account that begins with 33, delete the entire row.

9) copy cells with values excluding headers in 1st row and insert in SheetB, above the second row (1st row has headers)

thanks.</year”
</year”>
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
You can use the VBA macro recorder and record doing these tasks (then modify the code slightly where necessary).
 
Upvote 0

Forum statistics

Threads
1,214,927
Messages
6,122,309
Members
449,080
Latest member
jmsotelo

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