+ Reply to Thread
Results 1 to 1 of 1

Step 1: EOMONTH Function

  1. #1
    Registered User
    Join Date
    06-12-2005
    MS-Off Ver
    Office 2016
    Posts
    40

    Step 1: EOMONTH Function

    I'm in step one of creating a macro. The workbook is a position tracker for the trading company I work fo. I have attached it as a point of reference for those who care to take a look

    Step one is to get a block of cells to row by row shift up as the month changes. Right now I am using the EOMONTH function with the formula =EOMONTH(IF(EOMONTH(A1,0)=A1,A1+1,A1),0)+1

    This successfully rolls in the next month, but its not copying the whole row.

    For example if the date is 7/1/05 then the next month is August. IF 8/1/05 then next month is Septemtber. I need to be able to roll entire rows instead of just a few cells. I also need to have the number of months shown constant, therefore "rolling in" the next month.

    Any help is appreciated, the example makes it much clearer. Thanks.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1