compare range values

  1. A

    Comparing Ranges in VBA

    Hi Firstly, I have to say that I am very new to VBA and have hardly used it before. So I have 3 ranges on a worksheet, with the zeros lining up with each number above: Range 1: 25 50 85 180 350 500 650 850 0 0 0 0 0 0 0 0 Range 2: 25 50 85 180 350 500 650 850 0 0 0...
  2. D

    Compare range values

    Sorry, not sure how to title this problem. I want to test range values. For example, in cell A1, I have a value: 100-500; A2, 501-1000; A3, 1001-1500, and so forth. I want to test each cell (A1 thru Ax...), whether my input value (for example) is within the range. For example, if my input...
  3. M

    Compare rows in VBA

    How do I compare entire rows with each other? I'm trying to write a macro that finds duplicate rows in CurrentRegion and deletes the duplicates but I'm lost with the code: The CurrentRegion has headers and is sorted so the duplicates (if any) should be right ontop of eachother. The problem...
  4. M

    Compare range values in VBA

    How do I compare range values with VBA? I have a customer price table in C3:AQ60 and I'm trying to write a macro to compare if the Cell values in Columns are the same on each Column. There can be up to 20 different values in each column (=up to 20 different ranges within a single column that...

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...
Top