+ Reply to Thread
Results 1 to 2 of 2

search for Value between Dates specified

  1. #1
    Registered User
    Join Date
    08-01-2008
    Location
    london
    Posts
    1

    search for Value between Dates specified

    Hi Can anyone tell me how to find the minimum value in a table between two dates specified in cells ( e.g D1 and D2) of the current Sheet:

    also when i get the minValue how do i set the Cell where i find this minvalue to be the activeCell?

    since i have the minvalue as 'answer' i am not sure how to set the Cell where i find the value of the 'answer' variable to be the active Cell


    please see my code below:

    Please Login or Register  to view this content.
    Thanks
    Last edited by VBA Noob; 08-01-2008 at 08:28 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    08-26-2006
    Location
    -
    MS-Off Ver
    2010
    Posts
    388
    Quote Originally Posted by ShadowOfTheBeas
    Hi Can anyone tell me how to find the minimum value in a table between two dates specified in cells ( e.g D1 and D2) of the current Sheet:
    Could minValue occur more than once?
    If it can you may need to use the Find method to loop through all occurrences of minValue and check if it's between minDate and maxDate.
    Quote Originally Posted by ShadowOfTheBeas
    also when i get the minValue how do i set the Cell where i find this minvalue to be the activeCell?

    since i have the minvalue as 'answer' i am not sure how to set the Cell where i find the value of the 'answer' variable to be the active Cell
    Something like this:
    Please Login or Register  to view this content.
    But you don't need to activate a cell to work with it, instead of the above use
    Please Login or Register  to view this content.

+ 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