rows.count.endxlup

  1. H

    Lookup Data in Sheet1 on Sheet2 or Sheet3 and Return Value

    Hi - How do I lookup an item on 2 lists with out the ws3 overriding the ws2 inputs? basically changing it so that if it cant find the item from ws1 in ws2, then look in ws3. This is the code I tried to modify to add ws3. thanks! With CreateObject("scripting.dictionary") .CompareMode = 1 For...
  2. H

    Vlookup Alternative

    Hi - I'm using the code below to lookup data in Ws2 and place it in Ws1. Currently if the value in Ws1 Column A isn't found in Ws2 Column E it will put a "N" in Column P. How do I tweak it so that it only changes the cells in Column P when there is a match between Ws1 Column P and Ws2 Column...
  3. B

    Split To Columns

    looking to Split Data in Column A into column b and column c. the below removes the text to the left of the coma. Thanks Sub SplitComma() Dim d As Range For Each d In Range("A2", Range("A" & Rows.Count).End(xlUp)) d.Value = Split(d.Value, ", ")(1) Next d End Sub
  4. L

    Sum of Offset Values

    Hi, I have this formula, but i would like to just have in "K" the sum of offset(0,3)+offset(0,4) is it possible on VBA or should i add up that on the sheet and just copy it? Rw = 11 With Sheets("Draft") For Each Cl In .Range("K7", .Range("K" & Rows.Count).End(xlUp)) If Cl.Value =...
  5. S

    VBA Dictionary mumps Code highlight both non matching columns

    https://www.mrexcel.com/forum/excel-questions/1054389-compare-two-column.html Based off of the thread above, how do I get the code to highlight both columns if they do not match. mumps code: Sub CompareLists() Application.ScreenUpdating = False Dim Rng As Range, RngList As Object...

Some videos you may like

This Week's Hot Topics

  • Turn fraction around
    Hello I need to turn a fraction around, for example I have 1/3 but I need to present as 3/1
  • TIme Clock record reformatting to ???
    Hello All, I'd like some help formatting this (Tbl-A)(Loaded via Power Query) [ATTACH type="full" width="511px" alt="PQdata.png"]22252[/ATTACH]...
  • TextBox Match
    hi, I am having a few issues with my code below, what I need it to do is when they enter a value in textbox8 (QTY) either 1,2 or 3 the 3 textboxes...
  • Using Large function based on Multiple Criteria
    Hello, I can't seem to get a Large formula to work based on two criteria's. I can easily get a oldest value based one value, but I'm struggling...
  • Can you check my code please
    Hi, Im going round in circles with a Compil Error End With Without With Here is the code [CODE=rich] Private Sub...
  • Combining 2 pivot tables into 1 chart
    Hello everyone, My question sounds simple but I do not know the answer. I have 2 pivot tables and 2 charts that go with this. However I want to...
Top