Festus Hagen
New Member
- Joined
- Aug 1, 2011
- Messages
- 40
Hi All
Excel97
3 sheets:
Data sheet:
Dynamic Named Ranges: DataRange, DataDatesRange, DataNameRange
Names sheet:
Dynamic Named Ranges: NameListRange
Example of the Dynamic range setups:
One dimension
Two dimensions
The goal, To select Name criteria and Date criteria with Data Validation Lists on the Summary sheet:
There would only be one row of data per Name/Date combination...
I have tried vlookup/match techniques (Don't think it's the appropriate method) as well
as index/match techniques (looks more promising) with out success, any tips pointers handouts are joyfully welcome!
Here is where I'm at on the index/match:
I believe this is where it fails:
Thanks
-Enjoy
fh : )_~
Excel97
3 sheets:
- Summary
- Data
- Names
Data sheet:
- Row1 = Column headings ...
- ColA = ID (Index number (1 thru ???))
- ColB = Names (selected via Data Validation list from the sheet "Names")
- ColC = Date
- ColD ... = Data
Dynamic Named Ranges: DataRange, DataDatesRange, DataNameRange
Names sheet:
- Row1 = Column Headings
- ColA = Index number
- ColB = Name
- ColC ... = Data
Dynamic Named Ranges: NameListRange
Example of the Dynamic range setups:
One dimension
Code:
OFFSET(Data!$C$2,0,0,COUNTA(Data!$C:$C)-1,1)
Code:
OFFSET(Data!$B$2:$C$2,0,0,COUNTA(Data!$B:$B)-1,COUNTA(Data!$1:$1)-1)
- One is a list of names (Names!$B) (Named Range = NameListRange)
- The other is the list of dates in Data!$C (Named Range = DataDatesRange)
There would only be one row of data per Name/Date combination...
I have tried vlookup/match techniques (Don't think it's the appropriate method) as well
as index/match techniques (looks more promising) with out success, any tips pointers handouts are joyfully welcome!
Here is where I'm at on the index/match:
- H1 = Name list cell on the Summary sheet
- F2 = Date list cell on the Summary sheet
Code:
INDEX(Data!$D:$D,MATCH(H1, IF(Data!$C:$C=F2,Data!$B:$B),0))
Code:
Data!$C:$C=F2
-Enjoy
fh : )_~