Mr Excel Forum
768 FOLLOWERS
Mr Excel Forum is your one-stop for Excel tips and solutions. Discuss topics related to excel, pivot tables, power pivot, and VBA. Find guides on mouse wheel scrolling, removal of duplicate formulas, expanding data validation, and much more.
Mr Excel Forum
42m ago
I have a Sub created and need to add into that Sub at the end of it to go search column C for the word Prestige and if column C says Prestige, it will delete that whole row and move the next line up. I need it to search the whole column C which will have more or less rows each time.
When I search for this, I find a lot of Dim starting codes but will those work within a already created Sub ..read more
Mr Excel Forum
42m ago
Here is my data
Index
EscBaseYear
EscToYear
2017
2018
2019
2020
2021
1
2018
2021
1.0557374
1.0678285
1.00
1.00
1.0361346
2
2019
2021
1.019307
1.0236019
1.03066
1.0168599
1.1077434
This formula keeps returning the value 1.00...
Read more ..read more
Mr Excel Forum
42m ago
Hello helpful peeps! I have a massive macro that is run every month on files that are received from an outside source. It worked last month, but this month I received an error. The file received has not changed, nor has the code. I don't get it. Any help is appreciated! The line where the code is red.
VBA Code:
'Clean and set up EB Other Locals Adjustment workbook
Dim lr8 As Long
Dim lr9 As Long
Sourcewb2.Activate
Columns("D").Delete
'Filter, copy...
Read more ..read more
Mr Excel Forum
42m ago
How do you expand this list so that the values in the list line up with the name column?
If I expand the list I get this ..read more
Mr Excel Forum
2h ago
Hi experts,
I've got a workbook with 4 tabs, call them tab Sales, Contacts, Accounts Payable, Accounts Receivable. Column A in all four tabs is the Customer ID.
I need a VBA script that will copy rows from each of these tabs to a new workbook with matching tabs based on unique Customer ID numbers, so that I wind up with a workbook for each customer that contains four tabs showing all records associated with them in these four categories.
Is this possible ..read more
Mr Excel Forum
2h ago
I was feeling quite pleased with myself having replaced a PQ table with a long hstack formula (13 arrays, some manipulated à la PQ) residing in the one cell; then sorted on the resulting column 2. So far so good, but the result rows contain some nil values which I need to filter out based on, say, array 5. I tried FILTER() but keep messing up.
The rational/benefit is/was to avoid having to refresh the data, as I forgot recently and other calculations based on it were effected. As a...
Read more ..read more
Mr Excel Forum
2h ago
Hello,
I've come across an annoying "feature" while trying to create an Excel based report.
Basically, I've created a data model using Power Pivot and added a couple simple measures - Forecast Accuracy (FA) & BIAS (see screenshot).
After adding them to pivot tables everything seems to be correct and working properly, but after adding some slicers one of the measures (FA) is displaying the results in a weird way.
When I try to filter a specific country (using the country field from the...
Read more ..read more
Mr Excel Forum
2h ago
Hi - I would like to set this slicer up so that activates a macro depending on which box i select below - eg if select the planners box it activates a macro called "Planning_Staff"
Ive been offered this as a solution but nothing happens when i click the Planners box
for info i can confirm that the name of the slicer is "ROLE" and there is a macro in the workbook entitled "Planning_Staff"
Private Sub Workbook_SheetPivotTableUpdate(ByVal Sh As Object, ByVal Target As...
Read more ..read more
Mr Excel Forum
3h ago
Hello,
I am trying to set up auto text based off a value in a cell where there could be multiple values...
For Example in column D the cell will either have a "T", "G", or "N"... and I am trying to have auto text (for T=94010 and for G=36941) populate into another column. (Don't care about any other values at this point)
I've managed to do a If formula for the T value but cannot figure out how add on the G value this way. Some googling has come up with VLOOKUP ideas but I'm so lost...
Read more ..read more
Mr Excel Forum
3h ago
Hi everybody,
I have code to add the year to the header, but I need it to run through all sheets and it only works for the active sheet. Also, I wanted to have it use Arial, bold and font size 18. I've tried many different things that I thought might work, but they don't. I made the lines that aren't working into comments just to hang on to them for now. Please see below. Any help is greatly appreciated, thank you!
VBA Code:
Sub header_year()
Dim ws As Worksheet
For Each ws In...
Read more ..read more