+ Reply to Thread
Results 1 to 2 of 2

VBA routine to block a velocity log (into intervals of average velocity)

  1. #1
    Registered User
    Join Date
    07-07-2016
    Location
    Kuwait
    MS-Off Ver
    2016
    Posts
    28

    VBA routine to block a velocity log (into intervals of average velocity)

    Hi,

    I would like to find a way to automate blocking a velocity log in Excel. The attached file shows an example log (depth, velocity). The input log is sampled at small depth intervals eg half a foot and the velocity values will fluctuate with depth. I would like to convert the log to a "blocked" log - i.e. one having sections of constant velocity. The velocity depends on rock type and depth and the idea is that the log can be split into a number of depth sections (which will not be of equal length) that can be reasonably represented by a constant average velocity. So the aim is to use Excel to work out where these sections need to occur and the associated average velocity for each section. There will need to be some threshold value to control where the blocked depth intervals occur and the severity of the blocking (eg. % velocity change). There should also be a minimum depth interval for the blocking - eg all the depth intervals should be more than 300 ft.

    The ideal outcome would be to be able to simply copy and paste a log into columns A and B and then run a VBA routine which will process the data and output a list of depths and the corresponding blocked velocities. I'm not sure how easy this will be - but perhaps someone has done something similar and can provide me with some pointers.


    Cheers,

    Hamang
    Attached Files Attached Files

  2. #2
    Forum Contributor banaanas's Avatar
    Join Date
    08-26-2014
    Location
    Finland
    MS-Off Ver
    2016
    Posts
    199

    Re: VBA routine to block a velocity log (into intervals of average velocity)

    Hi!

    This seems like a interesting task to do. I am a bit lost with the explanation tough. Could you provide a second sheet where you would have manually made a few sections?
    And could you try to go in a bit more in detail about this part:
    There will need to be some threshold value to control where the blocked depth intervals occur and the severity of the blocking (eg. % velocity change). There should also be a minimum depth interval for the blocking - eg all the depth intervals should be more than 300 ft.
    Tuomas "Banaanas" Savonius
    Trying to give back now when I actually can do some VBA

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 12-21-2015, 09:45 AM
  2. Velocity Vectors on moving shapes
    By Stanley91 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-19-2014, 08:14 AM
  3. Simple Velocity help!
    By elitecore in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-09-2013, 05:43 PM
  4. How do you calculate velocity/differentiate using excel?
    By SJConley in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-31-2012, 08:36 AM
  5. averaging velocity time curves
    By ondaverdeblu in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 02-02-2009, 11:40 PM
  6. [SOLVED] [SOLVED] how to plot velocity vectors?
    By Dakujr in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-02-2006, 05:40 AM
  7. [SOLVED] velocity=Distance/time
    By Rasoul Khoshravan Azar in forum Excel General
    Replies: 3
    Last Post: 02-15-2005, 06:06 AM

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