relative cell reference

  1. T

    Both relative and absolute reference in a macro

    I have a table of data that I want to be able to copy a cell in an absolute column but relative to the row of the selected cell. Eg. I select B2 and it copies A2 I select C3 and it copies A3 I select D5 and it copies A5 I see how to have a constant offset of the Activecell but not an...
  2. K

    Referencing, selecting & copying a cell relative to original selection?

    Hello everyone, I'm trying to create a macro which takes selected cells and imprints them on a form with a specific template. I'd like to have most of the information from the "Payout Tracker" imprint to the "Internal Payment Request Form" [shown below]. My trouble is that I'll be adding...
  3. M

    Counting instances of cells containing numbers greater than zero in the row below a specified value

    Hello, As I described in the title, I'd like help with a formula that will allow me to count how many times the cell below a specified value is a number greater than zero in another sheet within a specified range. So let's say that I choose "J" as my specified value. I'd like the formula to...
  4. B

    Help adding formula to Macros (with relative reference)...

    I have my Macros working well but need to make it paste a formula in the active cell. I've looked at several posts but have only become more confused. Still a newbie - I've mastered copy/paste and slight tweaks but this is confounding me.:confused: My formula to include is...
  5. S

    Relative referencing with structured table references

    Hi all, While writing out the title for this posting, it occurred to me how much it sounds like an oxymoron... but I am going to go ahead and post anyway in search of an answer. I have a ListObject (table) that contains two columns like the sample below... <tbody> Footage Length 0 =100 - 0...
  6. V

    VBA - Search, formulas based on other cells depending on search & msgbox

    Hello, I'm pretty new at using VBA. I would like a button on a UserForm to open up an InputBox that requests a value. The code then needs to look up the value in a particular sheet. Based on that found value (which is always in Column A) I will need a MsgBox to pop up that will display some of...
  7. F

    Macro to Open File in Reference Cell

    Hi, I'm not skilled in VBA, so the following is created from Macro Recorder. The macro below functions, though actions 422.csv which was the original file when recording the macro. Rather, i'm wanting the macro to action the respective csv file for that same worksheet. My data is saved in...
  8. S

    VBA Index Match (relative ref, named range)

    How would I use/apply the same VBA code across a worksheet to perform an IndexMatch whose inputs would be populated by it's relative location on a worksheet. i.e., Take the text on ?ActiveCell? row of the named range in column Z ?is a VBA INDIRECT necessary? and then ( , 1 or 2 or 3 depending...
  9. S

    Relative Postion of next value in array

    Hi Guys, I'm sure I must be over thinking this but I don't seem to be able to find the solution to what seems a simple problem. I've a column of values separated by blank cells and I need a formula to return the relative position in the array of the next value in the column. The results of such...
  10. C

    Relative Cell Reference for a Macro

    Sorry I am relatively new to making Macros, I have a basic macro that hides a row when a checkbox is selected. However I don't want to copy and paste the same macro for every line I have the checkbox in. My (very basic code) is: ub CheckBox() If Range("M4").Value = True Then Call...
  11. N

    I need help with making a macro relative to a selection field within the macro

    Hello, I am new to macros, and to recording them. I created a webquery with a parameter that it edits a part of the query based on a cell I select. I now have to run this web query 800+ times. So I recorded myself doing it with the "Use relative references" checked. But it always puts the...
  12. A

    Can I use a dynamic reference in a table name?

    Hi Does anyone know how to use dynamic reference as part of a table name. So If I have 10 tables called... Revenue_WK1 Revenue_WK2 ... Revenue_WK10 Can I then select the relevant Table using =SUMIF(Rev_WK10[ITEM],"11*",Alacer!D:D) where the _WK10 part of the table name is dynamically...
  13. T

    Relative Cell Reference in VBA Not Working

    For some reason, the below snippet of code inserts a formula where the lookup value for the match functions actually refers to cell RC1, rather than the first column of the sheet and the row of the active cell. Does anyone know why this code would do this? I think it has something to do with the...
  14. A

    Deleting rows in excel and recalculating formulas

    I have the following cell formulas A1: 100 A2: =A1+1 A3: =A2+1 A4: =A3+1 A5: =A4+1 I would like to delete a row, eg. A3 and not have the following rows (A4, A5) get #REF! errors. Instead, I want them to recalculate so that A4 becomes the new A3 and takes on the formula =A2+1 Is there...
  15. C

    VBA Relative Vlookup Formula

    Hi, I have a userform that is coded to enter data into the next empty row on a worksheet. The first 8 columns are populated with data from the user form, I need column 9 to be populated with a VLOOKUP formula. The extract code below does enter the formula, but "MONTH(B8)" appears to be absolute...
  16. G

    Page Linking

    I have 10 worksheets that contain data by price ranges. I have created a new worksheet to summarize the data in a different perspective. I have used copy and paste (link) to insert data. On original 10 worksheet pages, I used copy and paste(formula) to insert data from adjacent column and/or...
  17. X

    Copying absolute cell references

    Hi, I have a spreadsheet that has some values in cells A1:E1 (let's call these base values 1) The values in cells A2:A10 are calculated using the base values in A1:E1 So, the formulas is A2:A10 might look something like this... A2 = ($A$1 + $B$1 + $C$1 + $D$1 + $E$1) * 1 A3 = ($A$1 + $B$1 +...
  18. D

    Macro help to change cell relative reference

    Hello All ~ I am writing a macro to prepare a tab for the next year's data. I have been searching this forum and have found many answers to issues a long the way. I have searched and tried many things but cant get this last part to work correctly. Right now all the coding that is active...

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