Results 1 to 5 of 5

Update data depending on date using VB

Threaded View

studentt Update data depending on date... 05-25-2012, 09:34 AM
studentt Re: Update data depending on... 05-27-2012, 07:45 AM
studentt Re: Update data depending on... 05-27-2012, 07:46 AM
studentt Re: Update data depending on... 05-27-2012, 07:14 PM
studentt Re: Update data depending on... 05-28-2012, 05:31 AM
  1. #1
    Registered User
    Join Date
    05-25-2012
    Location
    Germany
    MS-Off Ver
    Excel 2003
    Posts
    13

    Exclamation Update data depending on date using VB

    Hello !

    A date is entered by user in Cell A1(Sheet1). Some calculations should happen in sheet2 based on the date entered.


    If in Sheet1, A1 = Dates are between 01/04/2012 - 01/09/2012, then in Sheet 2
    C2:C19(18 rows) should have value = 0%, C20:C25(6 rows) should be value 8%, C26:C31(6 rows) 5% ,C32:C37(6 rows) 2.5% , C38:C43(6 rows) 0.83%

    If in Sheet1, A1 = Dates are between 01/10/2012 - 01/03/2013, then in Sheet 2
    C2:C19(24 rows) should have value = 0%, C20:C25(6 rows) should be value 8.33%, C26:C31(6 rows) 5% ,C32:C37(6 rows) 2.5% , C38:C43(6 rows) 0.83%


    If in Sheet1, A1 = Dates are between 01/14/2013 - 01/09/2013, then in Sheet 2
    C2:C19(30 rows) should have value = 0%, C20:C25(6 rows) should be value 8.33%, C26:C31(6 rows) 5% ,C32:C37(6 rows) 2.5% , C38:C43(6 rows) 0.83%


    If in Sheet1, A1 = Dates are between 01/10/2013 - 01/03/2014, then in Sheet 2
    C2:C19(36 rows) should have value = 0%, C20:C25(6 rows) should be value 8.33%, C26:C31(6 rows) 5% ,C32:C37(6 rows) 2.5% , C38:C43(6 rows) 0.83%

    And so on . . . .

    i.e. Only 0 is increasing after each 6 months by 6 more rows.
    Last edited by studentt; 05-27-2012 at 07:21 AM.

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