Solved

first & last Row Formula

Posted on 2014-03-13
3
366 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

This article will show you how to use shortcut menus in the Access run-time environment.
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

777 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