Results 1 to 2 of 2

How to separately sum up disparate number-value clusters with varied gaps between 'em

Threaded View

SleepnGood How to separately sum up... 05-11-2021, 06:02 AM
SleepnGood Re: How to separately sum up... 05-11-2021, 06:07 AM
  1. #1
    Registered User
    Join Date
    05-01-2021
    Location
    California, USA
    MS-Off Ver
    Excel 2010
    Posts
    2

    How to separately sum up disparate number-value clusters with varied gaps between 'em

    My request and purpose is to obtain or develop my first macro (of any significance at all) to interpret data produced by my sleep apnea device's EDF files, which are, to me, huge with over 700k data rows. To date I've not found a way to use usual Excel workbook features to do the immediate task for anything but small samples of a few thousand data points. Some mix of "manual" methods with Excel and EDF data files has provided helpful illumination. It's time to do whole files.

    New here with little Forum experience, I've blundered but am trying to learn how to handle myself. a long time Excel Worksheet user (for some engineering and financial work, going back to 1986, DOS and Excel 2.0).

    The attachment is an Excel Workbook with its 2 sheets (and a macro if successful sending these 3 items). Sheet 1 is intended to be an input sheet for the macro I desire and haven't been successful writing. Sheet 2 was deleted. Sheet 3 has dummy data and a mix of mental and Excel arithmetic work for illustration of my Subject difficulty and the need: the problem is scattered, varying-count clusters of numeric values with varying gaps between them. The range of a SUM function must vary (as far a I know), yet it must be copy-able down 700 ks rows. Any single SUM range working for most all waves will generate hundreds, if not thousands, of sum errors.

    Writing the macro has stumped me and that is embarrassing because my sense is that it will be very short and simple. I'm tangled up in mixing types, not handling range objects properly etc. I haven't looked that much here yet, but find that most writers narrowly illustrate single topic instances using generic placeholders without any full context examples that I learn fastest from. Those show coherent concurrent uses of key elements.

    The total focus of my request is on adding up .04 second by up to, say, 50 Liter/second strips inside each inhalation "half wave" of each breath--that is, the goal is to do numerical integration to determine the +curve-axis-enclosed wave areas representing air-volume delivered by my device during sleep. Once I have sums of each inhalation wave area I can then move to doing a sliding window smoothing and do comparisons of windowed wave averages to the next single wave. Then compute percentiles, etc.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Extract varied character number string from URL
    By _kemper_ in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-17-2018, 11:58 PM
  2. Number clusters
    By shabazali1 in forum Excel General
    Replies: 9
    Last Post: 08-06-2018, 09:01 AM
  3. [SOLVED] Left formula to compensate for varied number of characters
    By BryceVBA in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-21-2018, 05:20 PM
  4. Add strings of a varied length to a Serial Number
    By michud08 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-30-2017, 11:38 AM
  5. Replies: 6
    Last Post: 05-19-2017, 05:34 PM
  6. [SOLVED] Removing varied number of letters from end of number-letter string
    By WhiskeyGolf in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 04-16-2015, 04:43 AM
  7. summing totals from varied number of workbooks
    By Wally Steadman in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-13-2006, 02:25 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