I've already used this for other formulas/functions with no issue, but the INDEX and MATCH issue is bugging me. Either it's just not possible or I need to do it somehow differently.
The setup is for an Excel workbook where the data range is split over two sections. The reason for split is due to needing some rows at top of first 2 pages, but not on third for printing. The split ranges only came into the scene when it was desired to have 2 pages of data input for the process. Before that, it was one page of data, so no big deal for named ranges.
Now I have named ranges such as: MyWorksheet!$G$12:$G$53,MyWorksheet!$G$61:$G:$102
Most formulas and VBA doesn't seem to care that the range is split, but INDEX and MATCH sure do. MATCH gives "N/A" and INDEX gives "#VALUE!".
If the arrays (ranges) are not split over 2 sub-ranges, then they work fine.
I may just punt and build a VBA solution but trying to skip it for this type setup.
Thanks for any thoughts. Will come back to this in an hour or so.
Sorry not much detail - on the run for other matters. Can likely get back after lunch with more detail.
"But thanks be to God, which giveth us the victory through our Lord Jesus Christ." 1 Corinthians 15:57
The setup is for an Excel workbook where the data range is split over two sections. The reason for split is due to needing some rows at top of first 2 pages, but not on third for printing. The split ranges only came into the scene when it was desired to have 2 pages of data input for the process. Before that, it was one page of data, so no big deal for named ranges.
Now I have named ranges such as: MyWorksheet!$G$12:$G$53,MyWorksheet!$G$61:$G:$102
Most formulas and VBA doesn't seem to care that the range is split, but INDEX and MATCH sure do. MATCH gives "N/A" and INDEX gives "#VALUE!".
If the arrays (ranges) are not split over 2 sub-ranges, then they work fine.
I may just punt and build a VBA solution but trying to skip it for this type setup.
Thanks for any thoughts. Will come back to this in an hour or so.
Sorry not much detail - on the run for other matters. Can likely get back after lunch with more detail.
"But thanks be to God, which giveth us the victory through our Lord Jesus Christ." 1 Corinthians 15:57