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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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 +...
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 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.