BleepingComputer.com: Work out next sequential date

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Work out next sequential date

#1 User is offline   jasonpc 

  • New Member
  • Pip
  • Find Topics
  • Group: Members
  • Posts: 10
  • Joined: 10-March 08
  • Gender:Male

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?

This post has been edited by boopme: 16 July 2009 - 12:58 PM
Reason for edit: Moved to Business APPs ~~boopme


#2 User is offline   tos226 

  • BleepIN--BleepOUT
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 1,423
  • Joined: 21-October 04
  • Gender:Female
  • Location:LocalHost

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.

This post has been edited by tos226: 16 July 2009 - 09:58 PM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users