?
Solved

first & last Row Formula

Posted on 2014-03-13
3
Medium Priority
?
377 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 2000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

This article describes a serious pitfall that can happen when deleting shapes using VBA.
New style of hardware planning for Microsoft Exchange server.
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

719 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