empty

  1. skorpionkz

    [VBA] SQL to get data from access to excel

    Hi All, I am building VBA tool and need to incorporate report into it. Data is recorded in Access database. User will pick status of project and project code list to see in the Report. I build SQL which works in Access query, but fails in VBA sample query SELECT * FROM Key_table WHERE...
  2. D

    empty row with listbox values

    Hi all, :) I have a code that allows me to put in the column B of an Excel sheet all the items displayed in a listbox Here is the code Sheet9.Activate For b = 0 To ListBox1.ListCount - 1 With Cells(b + 3, 2) .ColumnWidth = 15 .Value = ListBox1.List(b) End With Next But If...
  3. H

    conditional formatting

    Help need for this Formula in conditional formatting S9 =IF(AND(S15=2;Y9=2);2) S10 =IF(AND(S15=2;Y9=1);2) S19 =IF(AND(S15=1;Y19=2);1) S20 =IF(AND(S15=1;Y19=1);1) I need some kind where the Conditional Not to Take Action If One of these cell's are Empty i have Try with this...
  4. J

    empty the Cell content if multiple match is found |VBA|EXCEL|

    I have a Excel Where I want to empty the Cell content if multiple match is found like "SUP","AL" with in the Range Image Link : https://paste.pics/517160d93175e1e52a7ef6576524a322 My Code But not Working : Dim c As Range For Each c In Range("A7:AE7") If c.Value = "SUP" OR "AL" Then...
  5. W

    Rows to one Column including empty cell as well

    Hi All, I appriceate if someone can send a macro which can convert all of my rows into one column including empty cells. I have a data of rows 3798 and columns 26 and which i want to convert all my rows 3798 into one column. Please advise me. cheers
  6. C

    Finding the second empty row

    Hi, I have a code to copy and paste values till first empty row but then I want vba to copy and paste values after that till it find second empty row. So For first I did Lastrow = Cells.Find(What:="*", After:=[A20], SearchOrder:=xlByRows).Row Range("A1:H" & Lastrow - 1).Offset(19, 0).Copy...
  7. J

    Drag horizontal with spaces

    Hi friends, I have one issue which I cant resolve. So I have sheet1 with vertical list: Name Name1 Name2 Name3 Name4 etc... And I have to link it on sheet2, but on every fourth cell and horizontal. So it should be in link like: Name (empty cell) (empty cell) (empty cell) Name1 (empty cell)...
  8. I

    IsEmpty VBA

    hello I'm looking at a scenario such as the below; I've defined names; A2:A6 = System B2:B6 = OpenTime C2:C6 = Checked The current time is 08:15 I would like to perform an "EmptyCheck" based on the time (08:00) but ignoring empty cells whereby the check would be completed after 08:00 i.e...
  9. piannetta

    Create an empty cell via formula

    Hi, This is actually a chart problem, I chart time series values and they align to days of weeks. Certain days have no values and when I display them in a chart, I get a funky looking line that goes up and down rather than follow a trend of the days where there is actually data. I know that in...
  10. G

    Return First and Last Value in a Subtotal Grouping

    Team, first time user here, I've spent days looking for a solution to this, but I think I'm close but I'm simply running out of time to turn this project in. I am looking for a VBA code that will allow me to auto-populate the first value on the first empty cell of column A & the last value on...
  11. T

    Excel VBA to copy, find last empty row, paste

    I need the vba code to copy multiple worksheets into another worksheet (Main) without overwriting the first copy/paste. I have this started, it works, to copy from sheet 1 into MAIN. But I need to find the last empty cell in "Main"; then go to sheet2, sheet3, sheet4, copy without having to...
  12. B

    Test DATA question

    Good Morning, I am working with some test DATA, i am a teacher, and i have three columns A1 B1 C1 Increase (the difference between the scores) New Scores Old Scores In the increase column i am...
  13. N

    Delete empty rows/columns and reset last cell

    Using VBA how do I delete all empty rows and columns and reset last cell? Column A can be used to determine the last row, but the last column will always be different.
  14. L

    Looping through tables in vba, ignore empty tables?

    Hi all, So I have this following code (piece): <code style="margin: 0px; padding: 0px; font-style: inherit; font-weight: inherit; line-height: 12px;"> Dim i As Long Dim LOC As Long If Not Sheet4.ListObjects("BLANKTable").DataBodyRange Is Nothing Then LOC = Sheet4.ListObjects.Count ElseIf...
  15. P

    Fill down

    <tbody> Cost Center 1234 Total Cost Center 1234 </tbody> I have a table of information where, in column A there are title showing the beginning and end of each group. I want to fill down these titles. In the example above, I want to fill down the Cost Center 1234 in the empty...
  16. Photomommie

    HELP: Adding multiple textbox values (cleanup)

    I have 20 textboxes in my userform that need to be added as a "Subtotal" I have it working now, but it is very clunky and I thought there might be a better way of handling this. Here is an example of the code: Private Sub tbxPrice1_Change() Dim tbxPriceSum As Double If Me.tbxPrice1.value =...
  17. A

    check if range is empty

    I want to check if the values in the cells in a range are empty or blank. If a cell has a "" value then I want to consider that as empty or blank. How can i do this?
  18. H

    If cell is empty then nothing

    Help i need a Formula for checking if 1 one or 2 cell's are Empty the code i try is this =IF(OR(L5="";L11="")) and this code =IF(L5="";OR(L11="")) but they aint work what i want is this solution If no value in L5 nothing show in Cell "P11" If no value in L11 nothing show in Cell "P11"...
  19. F

    Conditional formatting only working on empty cells

    I have a worksheet where I have applied conditional formatting to color every other row. Sheets("Dealer").Select With Range("A1").CurrentRegion .FormatConditions.Add Type:=xlExpression, Formula1:="=MOD(ROW(),2)=1" .FormatConditions(1).Interior.ColorIndex = 15 End With But for some reason...
  20. A

    zero for answer

    I am using the following formula, =B84*C84+E84+G84. and when the previous cells are empty I get zero for an answer, is there some addition to the formula that will get rid of the zero's?

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