Hi, I require a formula to work out a sales commission structure as a lot of online templates seem to be different structures.
In a nutshell, when looking at the picture, I will require 5 of the same formulas which I can replicate which need to go into the cells in yellow in G2, G3, G4, G5 &...
Hi all
Ive had a look through the discussion board and cant quite find what i was looking for, or the codes were very different.
The idea is a macro button which saves to a specific location, saves as a PDF, saves name as todays date.
Please find code below.
Currently it is saving the PDF in...
Hello excel experts,
I am using a two-way XLOOKUP() to grab a range of lookup values from a dynamic column lookup.
The formula I am currently using is:
=SUM(XLOOKUP($C$11:$C$43,INDIRECT("'"&G$10&"'!"&"$A:$A"),XLOOKUP($D11,INDIRECT("'"&G$10&"'!"&"$6:$6"),INDIRECT("'"&G$10&"'!"&"$1:$1048576"))))...
Hello, I am struggling with quartile formula to calculate the selected value in another tab based on the description and grade. In the workbook I have one tab with all the data range based on description (i.e. Maths - A, B, C) and in another tab I need to calculate 3rd quartile for grade A, B...
My code below:
Sub arrange()
'all declarations for wkshts and wbs stated at top unless stated here
Dim g1 As Range
Dim g2 As Range
Dim g3 As Range
Dim g4 As Range
Dim g5 As Range
Dim g6 As Range
Dim g7 As Range
Dim g8 As Range
Dim g9 As Range
Dim g10 As Range
Dim g11 As Range
Dim g12 As Range...
I have a set of data in which two columns define a start date and end date - I'll call it my Census data. I have another dataset, call it my Day of Month data with one column that has individual dates of a month, i.e. 7/1/22, 7/2/22....7/31/22.
In the range of start dates and end dates in my...
Hi all,
In the code below I want to adjust the "criteria" line in such a way that it not refers to an array, but that it refers to a range in column A that is changing in size (sometimes it has more, sometimes it less lines) on a separate sheet (Sheet3)
How do I make this adjustment? I know...
Hello Experts,
I've been trying to figure out how to do this macro. I have a sheet with A-AK in column to be copied multiple times to another sheet.
I have seen and used the code found in this forum as well but with my requirements, I need some modification since the code copies the whole row...
Hello everyone,
I am struck with this problem since yesterday and have been unable to find any solution despite all the web searches. Please help me if it is indeed possible.
To better explain the situation:
We have multiple templates for different product types (400+). We share these files...
Hi everyone,
Just wondering if anyone can help me out here.
When the value of column A is changed, I want to refresh the combination of columns b, c, and d.
Also, if the cell is empty, I want it to be ignored.
I've gotten help from the community, but it's not working.
Sub...
xDRg1, xDRg2, xDRg3 Ranges contain empty Cells. Can I do a combination other than this?
Sub ListAllCombinations()
'Updateby Extendoffice
Dim xDRg1, xDRg2, xDRg3 As Range
Dim xRg As Range
Dim xStr As String
Dim xFN1, xFN2, xFN3 As Integer
Dim xSV1, xSV2, xSV3 As String
Set xDRg1 = Range("a2"...
I am trying to do a summation of how many labs occur per week from a daily count on another sheet. However, I can not get the summation to shift down 7 days at a time. Is there a way to do this?
Weekly summary:
From the Daily Counts:
I need It to sum a week at a time like this. Then , the...
I'm trying to get better at this and in doing so, I've seen over and over again to stop using .Select and .Copy/.Cut to move things
I know I can move my columns with copy and insert no issue, but I'd like to step into the next level. On one ws, i've got columns P to AB and need to move them to...
Hello I have a weird thing going on with some practice code I'm trying. I am trying to create a code that copies the value of a cell, that has a range in it (@Rick Rothstein for helping with that). That works. I then want to use that value (the range) and select said range in a different...
Hy everyone,
The below code works when the ranges are A5:J39, A44:J65 and A70:J89
Sub RangesToArray()
Dim vRws As Variant, vData As Variant
vRws = Application.Transpose(Split( _
Join(Application.Transpose(Evaluate("row(5:39)"))) & " " & _...
Hi there,
I am a bit of a newb when it comes to VBA. I've tried many different options and nothing worked. I cannot think of a way to get this to work. Would appreciate any help:
Aim:
I wish to paste a sum formula in Sheet1, Column R starting in Row 2. which sums the previous 4 columns (simple...
I have several workbook(.xlsx) that have only 1 sheet per workbook. I would like to loop through all the workbooks in the folder one by one and find certain cells with specific keywords and
copy the cell adjacent to it. Next, copy all the cells and paste it in a master file into its respective...
Hello, this is my first post in this forum. I am currently doing a mini attendance sheet for number of employees. I have two different sheets, "A" and "B".
In sheet B, there are a list of employees with each of them have 4 values (date).
In Sheet A, there are column of days of a month. I would...
Hello,
My objective: Delete specific range based on duplicates in a specific column , and shift cells up.
I have a large spreadsheet with evenly separated data. I have an example attached of the outcome I want, but I would like to have it in a loop, where the script counts the columns and...
Hello everyone. Awesome forum! Hope everyone is having a wonderful Thursday. I was wondering if any of you could help me with this problem I have been having in excel. I am creating a filter function based off of raw data to give me data from that raw data given two date constraints and two...
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.