Solved

first & last Row Formula

Posted on 2014-03-13
3
372 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

632 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