Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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.


+-------------------------------------------------------------------+
|Filename: Excel forum 5.zip |
|Download: http://www.excelforum.com/attachment.php?postid=3534 |
+-------------------------------------------------------------------+

--
dstock
------------------------------------------------------------------------
dstock's Profile: http://www.excelforum.com/member.php...o&userid=24225
View this thread: http://www.excelforum.com/showthread...hreadid=382014

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
EOMonth function Ayo Excel Worksheet Functions 4 March 22nd 10 04:18 PM
Creating a Drop Down List with Step by Step Instructions for 2007 remarkable Excel Worksheet Functions 2 March 22nd 09 04:36 AM
data validation with EOMONTH function spence Excel Worksheet Functions 1 March 19th 06 12:04 AM
How about adding a quarterly function to Excel like its EOMonth? SDolley Excel Worksheet Functions 1 March 30th 05 06:58 PM
How to call EOMONTH(a, b) function Lee Dengo Excel Programming 1 May 10th 04 07:05 PM


All times are GMT +1. The time now is 07:22 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"