Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / September 2006

Tip: Looking for answers? Try searching our database.

How To Determine if Your In 1 of the last n rows

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Takeadoe - 16 Sep 2006 13:39 GMT
Dear NGs,

Good morning.  I want to use an IF statement to set a cell value to
"True" or "False" based on the following condition: If in 1 of the last
200 rows of the spreadsheet then TRUE, else FALSE.  I have found posts
that describe how to get the last value in a column using a number of
functions including the Index, Lookup, Isblank, and so on, but I've not
found any that address this specific question.  Of course, ROW() will
give you the row number and if I could find a function that gave me the
last row number I could test the difference for < 200 or > 200.

Any help on this would really be appreciated.

Thanks much.

Mike
Don Guillett - 16 Sep 2006 14:35 GMT
if all numbers you can match a number larger than possible less the rows
desired. Different if text or mixed.

=IF(ROW()>=MATCH(99999999,A:A)-200,"inrows","not")

Signature

Don Guillett
SalesAid Software
dguillett1@austin.rr.com

> Dear NGs,
>
[quoted text clipped - 12 lines]
>
> Mike
Takeadoe - 17 Sep 2006 01:45 GMT
Don - Thank you!  That was exactly what I had in mind!

Mike
> if all numbers you can match a number larger than possible less the rows
> desired. Different if text or mixed.
[quoted text clipped - 21 lines]
> >
> > Mike
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.