Solved

first & last Row Formula

Posted on 2014-03-13
3
367 Views
Last Modified: 2014-03-13
Hello ,
What is the very good formula to find the first and last occurrence row for the word “Area”? Please see the attached. I am looking for a vba but a direct cell formula
first-last-occurence.xlsx
0
Comment
Question by:Rayne
  • 2
3 Comments
 

Author Comment

by:Rayne
ID: 39928012
but a direct cell formula for cell C2 and C3
0
 
LVL 39

Accepted Solution

by:
nutsch earned 500 total points
ID: 39928016
For the first row:

=MATCH("Area",$E$1:$E$105,0)

and for the last row, the following as an array formula (entered with Ctrl+Shift+Enter)

=MAX(IF($E$1:$E$105="Area",ROW($E$1:$E$105),0))
0
 

Author Comment

by:Rayne
ID: 39928044
thank you :)
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question