namedrange

  1. O

    Copy a named range to another workbook

    Hello, I have the below code where I am trying move away from using the cell ranges e.g. A2:A11 and use named ranges so if the range grows it still comes across, however it only copies over the first row but if I was to change it to the cell range it works fine. Looking for help on a way to make...
  2. A

    Userform Textbox value to select named range based on Userform Combobox value

    This is too specific for me to find any relevant info on the internet, at least from my searches, and I'm wondering if anyone can help out. I've created a userform that is filled in by user. I would then like to use the values entered in the textboxes in this userform to populate a new lastrow...
  3. H

    Date Lookup Return row

    I am in need of vb code that takes date imputed into cell and returns the row number associated with date range. example below Enter Date of 2/14/2019 and code would return Row number as 3 ( for 2/1/2019 thru 2/28/2019 ) <tbody> Start Date End Date Enter Date: 2/14/2019 1/1/2019...
  4. D

    Sum Values in column if Left 3 in another column are specified, and values in a different column are in a specified named range

    Hi All, I have a large set of data (example below). I would like to Sum the values in column A, if the date is a specific date, if the LEFT 3 values in column B is "200", AND if the value in column C is in a specified named range (name: Include). Not all the data is unique which is fine. I can...
  5. P

    Excel best practice

    Q1 --- Pretend in J3 you've got the formula =VLookup(A3, NamedRange,4,FALSE) and you have that formula all the way down column J Is there a right/wrong in whether you choose to write it as =VLookup(A3, NamedRange,4,FALSE) or =VLookup($A3, NamedRange,4,FALSE) I know that the $ makes no...
  6. Leonvl

    Add a new named range each time a cell changes

    When a cell in the range A1:A100 is changed (added), I want to define a named range that referring to the two cells to the right. The name of the range can be the value of the target cell. I tried the below code but it doesnt work for some reason... Private Sub Worksheet_Change(ByVal Target As...
  7. T

    Formulate % with named range

    Hiya This table is representative of a larger data set I'm working with. I want to calculate the number of yes / (yes+no)%. I wondered if I could use a named range by highlighting only rows of data which were relevant and ignore those that were blank or contained numerical . But Excel didn't...
  8. M

    Excel Use CodeName with Name Manager without VBA

    I would like to use the CodeName with the Name Manager without using VBA. I have a spreadsheet with four years of data in it and when 2016 is done I want to change the tab name to 2020 without having to change range name references. Is there a way to put the code name in when using the...
  9. J

    Find Column and Row number of Named Range (not worksheet address)

    Hello I have been working with a matrix for airline rates and have named Range called "AirRates". What I need is to find the correct row and column of the range but everything I have tried is giving me the sheet address. I can find the origin and Dest in the "AirRates" ok but when I want the...
  10. D

    VBA - Autofilter 3 months per quarter basis using namedrange

    Hi Experts, I got the below code from one of webpages in contexture. I amend a little bit here and there to meet my requirements. I want user to be able to see all the filtered data based on 3 months in the quarter number selected. At first I tested on a fix "Q1" as the choice and it works. But...
  11. J

    Using Named Ranges across multiple worksheets to sum, Arrays

    I have three country tabs. Each one has accounts in column A and Dates going across row 3. Is there a way to use a create a summary tab using a named range of the worksheets, accounts, and dates, so that if a new country is added all i need to do is update the named range of the worksheets and...
  12. J

    VBA If Cell Equals Certain Value Then Delete Values of Corresponding Named Range

    I need help creating a VBA IF statement. For example this could be used for a budget, a forecast etc. If the value in cell K17 = "F00" of Sheet1 then clear the values (not formats) of the cells in the Named Range "OneElevenSalary" of Sheet2. If the value in cell K17 = "F01" of Sheet1 then...
  13. P

    Use AutoFilter results from NamedRange in RowSource ComboBox

    Hi, Been trying this for a long, long time now and I've yet to see a solution. I have a sheet with names of customers in column A. I also have a userform with a combobox. Its RowSource currently is the named range of all customers in A. I now want users to search for customers containing some...

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