Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Work out next sequential date


  • Please log in to reply
1 reply to this topic

#1 jasonpc

jasonpc

  • Members
  • 10 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:05:18 PM

Posted 16 July 2009 - 12:25 PM

I have used 'morefunc' addin to excel to use the following...

=LASTROW('sheet1'!A:A)

this shows the last row entry how do i find out the contents of the previous to last row?

Edited by boopme, 16 July 2009 - 12:58 PM.
Moved to Business APPs ~~boopme


BC AdBot (Login to Remove)

 


#2 tos226

tos226

    BleepIN--BleepOUT


  • Members
  • 1,574 posts
  • ONLINE
  •  
  • Gender:Female
  • Location:LocalHost
  • Local time:12:18 PM

Posted 16 July 2009 - 09:36 PM

Use the Offset function from a known starting point.
Assume the last row# was 25. You want contents of A24.
'=offset(A25,-1,0) goes up one row and stays on the same column.
You just need to fit in your LastRow function into the offset() syntax.

Edit: I just realized you may need how to make an address from row and column numbers.
'=offset(address(lastrow(…),1),-1,0)
where in (...) just put what you now have, and 1 means columnA.

Edited by tos226, 16 July 2009 - 09:58 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users