This is an Array formula that could be put anywhere on the worksheet. It
refers to the indicated range.
Instead of entering/editing with just ENTER, hold down the ctrl & shift keys
and touch enter at the same time.
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
(E-Mail Removed)
"crapit" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> do i need to put the array across the same row
> "Don Guillett" <(E-Mail Removed)> wrote in message
> news:eW7tu%(E-Mail Removed)...
>> Array enter
>> =MIN(IF(A2:A21="a",ROW(A2:A21)))
>> =Max(IF(A2:A21="a",ROW(A2:A21)))
>> --
>> Don Guillett
>> Microsoft MVP Excel
>> SalesAid Software
>> (E-Mail Removed)
>> "crapit" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> From a column e.g "A"
>>> How to determine the 1st cell and the last cell that contain a specific
>>> word?
>>>
>>> A B C
>>> 1
>>> 2 grp
>>> 3 grp
>>> 4
>>> 5 grp
>>> 6
>>> 7 hex
>>> 8 hex
>>> 9 hex
>>> 10 grp
>>> 11 grp
>>>
>>>
>>
>
>