LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Junior Member
 
Posts: 19
Cool Insert Row and Countif Macro

Hi Guys/Gals,

I am a bit stuck with this Macro. And I have no idea really where to start. I am looking for a Marco to do the following and I am hoping for some guidance:

Insert a 2 New Rows after a specified time is exceeded.
In the first of the New Rows I the marco to performe the countif formula

The problem I am having is the data sheet has 5 Columns. Column 2 has the time starting from 08:00:00 running till 22:00:00. The values in the time column however are not consistant. I need the new lines to be added after 12:00:00, but before 12:00:01. The second row needs to be added at 17:00:00 and the third at 22:00:00.

The Countif formula for the first section should then only be done for time 08:00:00 - 12:00:00, second 12:00:01 - 17:00:000, and third 17:00:01 - 22:00:00.

Can anyone help here? Thanks guys.
 
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
Merging excel tables & more, countif, macro line insert etc Cheekyaardvark Excel Worksheet Functions 7 August 7th 09 10:43 AM
Recorded single column insert in macro. Macro inserts two not one lostatlewisu Excel Programming 3 August 16th 07 01:26 AM
Macro to insert copy and insert formulas only to next blank row bob Excel Programming 0 June 30th 06 12:02 PM
countif usage in macro parthaemail New Users to Excel 2 February 8th 06 04:06 PM
using countif from a vba macro christopher ward Excel Programming 6 January 12th 06 11:20 PM


All times are GMT +1. The time now is 10:10 PM.

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"