empty cell

  1. S

    VBA; String variable; If Statement; Empty cell

    Dear Forum Members, I am hoping you can assist a newbie here. The following is required from my VBA code: A cell input is made in the "Form" sheet and compared with a cell in the "Formdata" sheet. If the cells are different then a MsgBox is displayed with a warning and the cell is deleted...
  2. R

    Send email if cell is empty on a certain day.

    Hi guys Is it possible to send an email if a cell is empty on a certain day? Fx if C2 is empty 28 jan , C3 empty on 28 feb an so on. Thanks
  3. Y

    XIRR Formula to start at first value

    Hello all, I would like to use the XIRR formula however not all my data start on the same date <tbody> 2006-06-30 2006-09-30 2006-12-31 2007-03-31 XIRR -200 10 205 16% -300 15 15 350 39% -100 105 22% </tbody> To sum up, I would like to be able to start a formula (XIRR) on th first...
  4. R

    Empty or Populate cells if conditions are met

    Hi to everyone, I am new to the forum and to the vba code. I am creating an excel workbook which would automate certain type of routinary calculations. So far all I wanna do is to add to my workbook a cell conditional value according to a number which I have in a cell (let's say C10). I created...
  5. S

    VBA - Sub to combine four other subs

    Hello, I’m fairly new to VBA, and this forum has already proved to be a fantastic resource. I have the following four subs, all of which are intended to hide columns B, D, F, and H if all cells but the header are empty. The subs are functional, but I would really like to be able to combine them...
  6. B

    Delete Empty Rows is range

    I am trying to delete all the empty rows in a range. What I currently have deletes the rows but skips over a lot as the code runs. Below is what I currently have. 'msgbox delete blanks??? If MsgBox("Are you sure you want to delete ALL the blank rows in the chart?", vbYesNo, "Delete...
  7. J

    Find Last Empty Cell in a Column & then Sum all the Cells Above?

    Currently the data has blank cells in between, every time I sum of the numbers it only sums the first couple of cells and places the total in the empty cell. So the column A is the headings and description of amounts, and column B is the amount. As well, the number of entries vary all the time...
  8. F

    [VBA]: set cell equal to a cell in another column(same row) if empty

    Hello Ex(cel)perts. Im working on a macro that looks at column headers to perform some actions on the corresponding cells. I'm almost done with the VBA except for one thing that's making me bang my head on walls, I want to look at the cell to check if it's length is less than 8 and substitute...
  9. M

    copy cell based on an empty cell in the same row

    Hi, I need to copy a cell into another spread sheet contingent on whether or not another cell in the row is empty. For example, I need to copy cell A5 because D5 is empty.. However, if D5 was not empty I would not need to copy A5. I don't need this macro to loop. Please help! Thanks in...
  10. R

    Empty Cell with variable range

    Hey! In my macro I want to check if a cell is empty or not before writing it over, but with my code it always thinks the cell is empty, what am I doing wrong? Sub Macro 1 Dim r As Integer r = Application.Match(Sheets("Sheet1").Range("A1"), Sheets("Sheet2").Range("A1:ZZ1"), 0) If...
  11. M

    VBA Go to next empty cell in row

    I am struggling to write the code to go to the next empty cell in a row. I have the code: Sheets("Resultados").Select Range("A3").Select Range(Selection.End(xlToRight)).Select ActiveCell.Offset(0, 1).Select ActiveCell.Value = BP1 however this is not working. My program loops several times...
  12. M

    Find next blank row but not past row 35?

    Hello Everyone, I want a macro that will find the last blank row but only up to row 35 (not beyond row 35). I found the below macro online and it works very well but on my spreadsheet it will go past row 35! The range I want to look in is from cell B11 down to cell B35. I need to select the...
  13. K

    How to Find the Next non-empty cell using vba excel (plus merge it)

    Hi, I have a afew columns of data related to eachother. Column A contains text in some cells then afew blank cells then another cell with text etc. I would like to merge the text cells with all the blank cells below it (until the next non-empty cell is reached). However, I dont know the code...
  14. timetabler

    Empty Cells aren't empty

    I have web-site generated xls sheet (The site provides online data, I then press the excel icon and it creates and downloads as xls format). - The content appears to be raw (no colouring, or table lines) The problem is that the cells which are empty are counted by excel i.e. select a2:a5 will...
  15. S

    Macros to check whether all cells are filled

    i need a macro which should check whether all cells are filled in a row, let me say if there are 21 rows and 21 columns in a excel sheet and if the person has the data to fill only 10 rows and 10 columns that's not a problem but in that 10 rows he has to fill every cell, if he doesn't then the...
  16. Y

    Return value of first non blank cell above active cell

    Hi everyone! I've tried to find the answer for that question but it doesn't seem that it has ever been quite resolved. So here I am, trying to get resolution on it! I want to be able to return the value of the first non blank value above a given cell (as parameter). Example A1: A2: x A3...
  17. L

    Need empty cells not to be seen as zero

    hello, Id appreciate your help on the below. Im creating a template for a quotation to use everytime we need it. However the formula is supposed to multiply four cells by each other corresponding to units, rate and days and episodes. My problem is that not all cells are filled in each row...
  18. B

    Combining cells if adjacent cells empty until non-empty cell reached

    Hi all! I have 2 columns, C and D. Basically, column D contains fragments of a sentence. I need to combine these fragments into one cell. The indication of where the beggining and end of the sentence is in column C. When the adjacent cell in column C is NOT empty, this means the sentence...
  19. A

    Macro Hide/Print/Unhide rows w/ empty cell

    Hi Everyone, I have this macro that is working perfectly, the only problem is that it takes very long time when a lot of rows are empty. I would like someone to help me modify it to make it faster. I have a report with information form A3:P103, when a cell from column B3 is empty the entire...
  20. R

    Checking for empty cell in vba

    Hi, I am in the middle of testing my first attempt at using VBA code and to my dismay am running into difficulties. I have used the following VBA code in a For loop to check for empty cells in a spreadsheet: If Cells(i, 1).Value <> "" And Cells(i, 13).Value <> "" And Cells(i, 20).Value <> 0...

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