Re – Deleting or editing Named Ranges
Mr. Don Guillet,
Thank you for responding to my query.
1. After much struggle, the following worksheet formula produces the
results besought :-
1a. {=IF(ROWS($BD$54:$BD54)>ROUND(UniqueLineCriteria-1,0),CHAR(149),
"Line no. "&TEXT(
INDEX($R$54:$R$202,MAX((IndexMatchSmall=$BE$54:$BE$202)*
ROW($BE$54:$BE$202)-ROW($BE$54)+1)),"000")&"-"&
INDEX($S$54:$S$202,MAX((IndexMatchSmall=$BE$54:$BE$202)*
ROW($BE$54:$BE$202)-ROW($BE$54)+1))&"-"&
INDEX($T$54:$T$202,MAX((IndexMatchSmall=$BE$54:$BE$202)*
ROW($BE$54:$BE$202)-ROW($BE$54)+1))&"-"&
INDEX($U$54:$U$202,MAX((IndexMatchSmall=$BE$54:$BE$202)*
ROW($BE$54:$BE$202)-ROW($BE$54)+1)))}
2. The following Named Formulae are Inserted with the Define Name
dialog box :-
2a. CountGeneral = ROW()-ROW('Sketches&Photos'!$BF$54)+1-
COUNTBLANK(OFFSET('Sketches&Photos'!$BF$54,0,0,ROW()-
ROW('Sketches&Photos'!$BF$54)+1,1))
2b. CountifBlank = COUNTIF(LineCode,"<="&LineCode)+
COUNTBLANK('Sketches&Photos'!$BE$54:$BE$202)
2c. FrequencyCountif = IF(FREQUENCY(COUNTIF(LineCode,"<="&LineCode),
COUNTIF(LineCode,"<="&LineCode))>0,
CountifBlank,ROWS('Sketches&Photos'!$BE$54:$BE$202))
2d. IndexMatchSmall = INDEX(LineCode,MATCH(SMALL(
IF(ISBLANK(LineCodePlus1),ROWS('Sketches&Photos'!$BE$54:$BE$202),
IF(LineCodePlus1=CHAR(149),ROWS('Sketches&Photos'!$BE$54:$BE$202),FrequencyCountif)),
CountGeneral),CountifBlank,0))
2e. LineCode = 'Sketches&Photos'!$BE$54:$BE$202
2f. LineCodePlus1 = OFFSET(LineCode,0,0,ROWS(LineCode)+1,1)
2g. UniqueLineCriteria = SUM(
IF(COUNTIF('Sketches&Photos'!$BE$54:$BE$202,
'Sketches&Photos'!$BE$54:$BE$202)>0,
1/COUNTIF('Sketches&Photos'!$BE$54:$BE$202,
'Sketches&Photos'!$BE$54:$BE$202),0))
3. Remarks :-
3a. The name of the worksheet is 'Sketches&Photos'.
3b. If the worksheet formula is to be applied in another worksheet or
another workbook, it would be a task tussle with respect to the
editing of tabs and references (recalling which is intended for what
under the circumstances of involuntary memory lapse) required to suit.
And there, amidst the list in the Define Name dialog box, many more
other formulae roll up and down not-so-unison-ly. That's the
formidable obstacle to the application of the formula in other
instances and therefore a custom Name-Manager would be helpful.
3c. In retrospect, there's an inevitable avalanche of resentment
stemmed from such pursuit and entrapment thereof ; nevertheless, this
is an attempt of the first step to get it off my chest. Neutrally
speaking, this query is not intent upon manifesting the convolution of
things but, bracing in the state of being snowballed and cocooned.
3d. The worksheet formula was devised to order the entries in a range
of worksheet cells.
4. Regards.