ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Excel 2003 - define name like a filtered list (https://www.excelbanter.com/excel-discussion-misc-queries/247021-excel-2003-define-name-like-filtered-list.html)

Hershmab

Excel 2003 - define name like a filtered list
 
I have a worksheet containing the dates of public holidays in two countries
as a 3-column array: A=country, B=holiday name, C=date. The dates are the
primary sort key.
I need to assign an individual name to the sub-range for each country for
use in the WEEKDAY function. What is the simplest way to do that without
physically sorting the array by country?


Dave Peterson

Excel 2003 - define name like a filtered list
 
I'm not sure what you're doing this for, but I'd use a macro...

But before I invested any time doing this, I'd what to know that the next step
(where I'd use that name) would actually work with a non-contiguous multi-area
range name.



Hershmab wrote:

I have a worksheet containing the dates of public holidays in two countries
as a 3-column array: A=country, B=holiday name, C=date. The dates are the
primary sort key.
I need to assign an individual name to the sub-range for each country for
use in the WEEKDAY function. What is the simplest way to do that without
physically sorting the array by country?


--

Dave Peterson


All times are GMT +1. The time now is 07:06 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com