vba if and

  1. S

    VBA delete row if date contained however skip if blank

    Hello, I am looking for a vba that will do the follow. If the cell a2 date value is not the date value of the cells below delete the row however if the cell is blank within the column do nothing and move on to the next cell. <tbody> a b 1 2 7/22/2019 21:04 3 7/22/2019 20:55 4...
  2. B

    VBA to create an error log based on IF AND statement

    Hello. I'm hoping you all can help me create a macro that will loop through multiple sheets to identify errors and log those on an ErrorLog worksheet. The excel file is a system generated report with 115 tabs. Column A = Descriptions and Column B = Values. If Column A is blank " " (there...
  3. Weeble

    VBA copy row IF <=, AND if duplicate, DO not copy

    I'm trying to make an inventory model. let's see if I can explain it. This is "Sheet1" <tbody> Article Inventory stack Fork 500 2 Spoon 50 1 BBQ 300 1 Sallad 23 1 Computer 6 2 </tbody> I need a VBA macro that copies the first 2 columns IF 'Inventory' Collumn has a value of <= 50...
  4. I

    Vba code for an if and statements

    Hello, I have a table where users enter data. The final entry, in col M, is their name. I would like to create an VBA code that will display a msg box if the user enters their name in col M without having entered a date in col J. I've written the following if function which seems to do the...

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