range values

  1. R

    Relative reference in the use of the formula left VBA

    I created this macro to count the number of rows starting from column B. Then I created a cycle to fill columns 3,4,5 and 6 with excel formulas. my problem is that the references should be relative and not absolute (b5,b6,b7 and c5, c6,c7...until the last line). I can't finish the macro. Can you...
  2. F

    Grouping Values for a Macro?

    I'm beginning to learn to code in Excel, and I have a question about grouping items. I have about 100 different "types" of items that are separated into about 5 groups based on how I describe the item. I created a user form that allows you to choose the item from a tiered drop down list and...
  3. G

    Move non-blank values in a range to the top rows (VBA)

    Hello all, What I have is a small range with 5 rows and 2 columns. What I would like to do is turn this: <tbody> Deposit A 100.00 x x x x Deposit B 200.00 Deposit C 300.00 </tbody> Into this: <tbody> Deposit A 100.00 Deposit B 200.00 Deposit C 300.00 x x x x...
  4. C

    write range value to a cell

    Hi, I would like to write the value of a range I've selected to a particular cell. Can't seem to get that to work. Tried Valrange1 = Range("A" & s5row & ":A" & drow).Value, and then Cells(arow, 48) = Valrange1, but that only got me the first value in the range. Thought perhaps I needed DIM...
  5. A

    Assigning a specific range a value.

    Hello- I've looked through the forum (as well as google) and can't seem to find exactly what i'm looking for. I am looking to assign 3 different ranges different values i.e.- 1-6= -100, 7-8=0, and 9-10= 100. I then want to be able to use the end results to calculate an average. For Example 1...
  6. O

    Delete rows based on range of values found in Column A

    Hi Guys, I'm SO new to this, I don't even really understand how to put macros into the Excel coding section. :confused: I want to delete all the rows that show anything BUT a value between 300 and 400 in column A. I was trying to modify some of the other 'delete row' codes that have been...
  7. L

    Editing a Range from a value

    OK this is what i'm trying to do in a VBA macro: I have a value=4 on my cell B1. What i'm trying to do is putting this value inside my formula: COUNTA(A1:A4) so, if i change my B1 value the formula should change: B1=5 --> COUNTA(A1:A5) B1=9 --> COUNTA(A1:A9) B1=5000 --> COUNTA(A1:A5000)...

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