Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
67 views

I want a MsgBox that displays the names of the "Named Ranges" in the active worksheet, along with the "RefersTo" field. I created a macro that I thought would work, but when I ...
EmmaAleixa's user avatar
1 vote
4 answers
129 views

I have a named range called A2Bounds25: Grade Percentage A* 80 A 71 B 60 C 49 D 38 E 27 I pull the percentage from A2Bounds25: =VLOOKUP(F74, (INDIRECT($K$3)),2) where F74 contains the grade I want to ...
user2463758's user avatar
3 votes
1 answer
128 views

I have a workbook with multiple sheets. In the name manager, I have a range that looks like this: Name Value Refers To PremierPeeled ...
Lynn B's user avatar
  • 33
0 votes
1 answer
73 views

In the last month of each project, I need to add a certain amount proportionally to the amount allocated to the project, relative to the amount I have for all projects. However, this amount (for ...
malamare's user avatar
0 votes
0 answers
71 views

I have a data table that is currently made up of some financial data and some "number of items" data. My aim is to copy and paste the table but replace the "number of items" with ...
EmChan's user avatar
  • 1
0 votes
1 answer
85 views

Without using VBA (need to save as .xlsx), is there a way to create a dynamic named range? Name Include Dr. Nick Yes Dr. Hibbert No Dr. J No Dr. Spaceman Yes I am ...
BruceWayne's user avatar
  • 23.5k
2 votes
1 answer
276 views

I am new to Python but have used Excel and named ranges for some time. I have a football workbook, several worksheets, with several named ranges for team name, colors, plays, rules, formations, etc. ...
Jim Anderson's user avatar
0 votes
0 answers
30 views

I have a Table in Excel that has columns for : Country, Status, Cohort. I have given these columns named range values. The country column would be a 3 letter acronym (BEL, USA, ESP), the Status ...
Mark Ventura's user avatar
0 votes
0 answers
32 views

I cannot find any articles that deal with this subject. [Probably because it's so easy to figure out.] But here goes. I have a Named Range which consists of the names of 12 worksheets (called "...
Wayne C.'s user avatar
1 vote
1 answer
36 views

I'm using this code to insert the results of a formula into a cell: `With Range("A5:A" & LastRow) .Formula2 = "Some formula" .value = .value end With` I've used this multiple ...
jrdidigetthis's user avatar
-3 votes
1 answer
129 views

I'm currently working in Google Sheets. When I want to set a link from one "Worksheet" to another "Worksheet", I usually do the following: https://url_to_your_shee_and_sheets_ID&...
Sophus's user avatar
  • 491
1 vote
1 answer
80 views

I have a Python script which iterates through a set of Excel named ranges (DT_1, DT_2, ... DT_30). All ranges are in the same workbook, same sheet and are all named systematically. The script saves ...
Mark Barry's user avatar
0 votes
1 answer
124 views

Solution: See Macropod's suggestion for solution & make sure you have CorruptLoad:=xlNormalLoad and not CorruptLoad:=xlExtractData ExtractData = copies and pastes only the data into another ...
Eric Gu's user avatar
0 votes
2 answers
68 views

I have an Excel (VBA) test sub that first searches for named ranges that have the word "Date" in them. Then it's supposed to search through the found named range for all cells in column (2) ...
Wayne C.'s user avatar
-2 votes
1 answer
44 views

I am new here and I do not have much experience. I greatly appreciate any advice you may provide. I have a 2D array representing staff scheduled to work on a particular date. The data looks like this ...
Kathryn Kolsky's user avatar
0 votes
0 answers
62 views

I'm trying to create a C++ program that imports data from named ranges in Excel. Named ranges are defined in Excel using the Name Manager (Formulas > Name Manager), and I need to extract values ...
Sam J's user avatar
  • 1
0 votes
2 answers
115 views

I'm trying to select worksheets to save as csv, was previously using an array that defined each sheet name but I was having to update the tab names each month. I have a tab with the sheet names that I ...
Kelley's user avatar
  • 1
1 vote
3 answers
121 views

Is it possible to name a range without it being slaved to a single sheet? Like if I select "rnge1" on sheet 1, it will select range e2:e7 on sheet 1, and then I can go to sheet 2 and select &...
Quasar's user avatar
  • 73
0 votes
1 answer
61 views

I am trying to overwrite the value in a named range. I get Object doesn't support this property or method Sub CheckStuff() If Evaluate("Table1RowCount") > Evaluate("...
user27447697's user avatar
0 votes
0 answers
81 views

My macro is currently working with the below line: Range("Fee_Calculator.xlsm!Modelling_Labour_WBS").Copy I want to remove the reference to the workbook name but I'm not sure how. I think I ...
Talia's user avatar
  • 1
0 votes
2 answers
86 views

Consider this MWE: Option Explicit Sub test() Dim r1, r2 As Range Set r1 = Worksheets("MySheet").Range("MyNamedRange") Set r2 = NewRange(r1) End Sub Function NewRange(rng ...
Jason D.'s user avatar
  • 155
1 vote
2 answers
121 views

I have a list of email addresses in a column. Using the Name Manager, I've named the entire column, $Q:$Q as "Email". I have a macro that strings the emails together if their row is marked ...
Neuner's user avatar
  • 107
0 votes
1 answer
253 views

I want to union a few named ranges dynamically, while avoiding the use of Google Apps Scripts as much as possible. The number of named ranges can vary, so any references to them has to be dynamic. For ...
Nicolás Fernández Fioretti's user avatar
0 votes
3 answers
385 views

I have a couple of files where previously good named ranges stopped working. Running Office 365 for business, 64 bit, Win 11. The named ranges appear in name manager with the correct cell reference ...
cc1995's user avatar
  • 1
0 votes
2 answers
77 views

I have a very specific use case where I need to read value input in the data validation field for each cell. If the value is a list, then the value should be stored in the string as it is. However, if ...
Himanshu Dikshit's user avatar
0 votes
0 answers
90 views

I am trying to copy a named range in Excel (ex. "Question_1") and paste it into an empty area of the same worksheet, using Python (xlwings). I am getting an attribute error which mentions &...
Mark Barry's user avatar
0 votes
1 answer
95 views

I'm trying to create a table on a sheet, filled with data from multiple tables stacked in another sheet. A simplified file is here : https://docs.google.com/spreadsheets/d/...
Jérémie Ménard's user avatar
1 vote
1 answer
86 views

I have a formula in excel that looks like this: =SUMIFS(SILOADRESERVED, SIPDU, B8&"*", SIPHASE, "A", SITYPE, "<>RMT" ) The challenge is that ...
mybluesock's user avatar
0 votes
2 answers
108 views

In my Excel VBA, I have well over 100 lines of code similar to the following. Is there a way to loop through all existing named ranges, and set a variable with a name equal to the name of the named ...
Ryan MacDicken's user avatar
0 votes
1 answer
405 views

As a stopgap until systems get improved, I have a "form" some business partners use to submit a request for services from my group. It is not a "Form" in the technical sense, but ...
scubacamper's user avatar
0 votes
1 answer
56 views

I'm trying to use a named range to control cell formats, but it does not appear to work as expected: The Sub that does not use the named range, works fine: Sub COLOR_PATCH() ' ' This changes the ...
C0ppert0p's user avatar
  • 702
1 vote
0 answers
76 views

Xlwings version: 0.30.14 When creating named range in excel 2016 using the following statement generates an extra quote. Does anyone have the same issue? Here is my code workbook.names.add(name, f&...
buren's user avatar
  • 11
-2 votes
1 answer
79 views

So I have this formula: At a high level, the formula goes like this: If [Dynamic Array #1] = False, 0, Index( If [Dynamic Array #2] = 1, Named Range A, Named Range B <-- Problem ...
Kaz's user avatar
  • 1,332
0 votes
1 answer
282 views

Suppose I have a named Range in Googlesheets as MyNamedRange with definition as C1:H25 Now In a cell I want to show this value in cell A1 as "C1:H25" Is it possible through some formula like ...
Rguptas's user avatar
0 votes
0 answers
115 views

I have the following table. Every TOTALs row is a named range as can be seen from the formula bar. In addition, i have multiple sheets with the same table and the same named range (local named range)....
mike01010's user avatar
  • 6,204
0 votes
1 answer
40 views

I'm very new to all this, but I've created a sheet where we can get some information from our clients, but I’d like to make it more dynamic, so I'm trying to program it to at a click of a button I can ...
Natalia Cristiana's user avatar
1 vote
2 answers
59 views

I have a worksheet that project managers (PM) use to configure large systems. The worksheet has four sections that represent each of four panels. Within each panel, the PM must select one of the four ...
Yodelayheewho's user avatar
1 vote
1 answer
549 views

I have some named ranges in an excel file which I need to merge. The column names vary but most have DATE and Code. I cannot put them as tables in excel, they need to remain as a named range as I ...
Rodp's user avatar
  • 103
0 votes
0 answers
88 views

I'm using a code to identify a the name of a range and store it in a variable. Then, pass this variable using Names object to a Range variable to convert the string to a cell range. However, I'm ...
HD0902's user avatar
  • 1
2 votes
1 answer
264 views

I'm encountering a challenge with an ArrayFormula in Google Sheets that utilizes the SUMIFS function. Here's the scenario: I have a report with data in columns SpoPartnerShare, SpoMonth, and ...
Reg Regi's user avatar
0 votes
1 answer
281 views

The Sub shown below is in the workbook's Module1 (in the Modules folder) The workbook/file is named "240122 Range Name Scope v01.xlsm" It has 2 worksheets S1 and S2. Each worksheet has One ...
mtnmanmike's user avatar
2 votes
1 answer
257 views

I am collating data from various sources into several dataframes. Each dataframe would have dimension R_k X C_k. I would then like to export each dataframe (identified by a unique tag say ...
reytla's user avatar
  • 63
0 votes
1 answer
339 views

I am defining some column ranges in VBA so that I can easily use the name of a range later instead of defining every time. There are multiple worksheets in my workbook, which is why I'm defining the ...
Michaela Danielle's user avatar
1 vote
0 answers
83 views

In an excel file, I have 511 named ranges in a workbook that reference numerous tables of data plus I have about 72k indirect formulas used to pull the data into report tables or for charting (yes it'...
Rodp's user avatar
  • 103
-1 votes
1 answer
64 views

When referencing a named range, I'm getting a Global 'Range of Object Failure I've tried to use a named range determined by user input as ranges to copy and paste... Essentially copy rows( "SKE&...
JR Stroik's user avatar
2 votes
1 answer
59 views

Hoping someone could shed something on my line of vba script below and point out the error: Sub findKeyword() Dim tbl as ListObject set tbl = activesheet.ListOBjects("myTable") 'containing ...
Makubexho PC's user avatar
0 votes
1 answer
453 views

I have named a cell and I often forget which cell is the main one so I am trying to put a label beside it. I would like to return the cell name in an adjacent column. i.e. Cell A1 has a value of 2, ...
Brendon P's user avatar
1 vote
2 answers
157 views

I'm using the single cell named range RowMarker trick to keep track of when users are adding or deleting rows. This happens in the Worksheet_Change event. When a user adds a new row a dropdown (...
inkbiegel's user avatar
1 vote
1 answer
235 views

=IF(AND(MOD(J2,1)>TIME(8,15,0),MOD(J2,1)<TIME(17,0,0)),"In hours","Out of Hours") Formatted for readability: =IF( AND( MOD( J2, 1 ) > TIME( 8, 15, 0 ), ...
Gwen Taylor's user avatar
0 votes
1 answer
736 views

I am new to the google sheets environment and my limited knowledge of VBA does not help. I would like to be able to delete range names from a cell or multiple cells selected by the "curser" ...
Wim's user avatar
  • 1

1
2 3 4 5
14