+ Reply to Thread
Results 1 to 5 of 5

How to find high and low temperature cycles in a column of temperature data

  1. #1
    Registered User
    Join Date
    12-11-2012
    Location
    Virginia USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    How to find high and low temperature cycles in a column of temperature data

    I have a month worth of temperature data at 5 minute intervals. I need to count the number of times the temperature cycled from <1400 degF to >1900 degF and back down to <1400 degF (this is one cycle). I can determine the first low instance (<1400 degF, I can determine the first high instance (>1900 degF) BUT I'm having difficulty coming up with a formula to determine the second instance of the low and high. Any help would be greatly appreciated.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: How to find high and low temperature cycles in a column of temperature data

    welcome to the forum

    perhaps it would be easier to help you if you uploaded a sample workbook, showing what data you are working with, a few examples of what your expected outcome would be, and how you would arrive at that (remove any confidential info if necessary).
    To Attach a File:

    1. Click on Go Advanced
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the Browse... button to locate your file for uploading.
    6. This will open a new window File Upload.
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the Upload button and wait until the file has uploaded.
    10. Close the window and then click Submit.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    01-16-2012
    Location
    Wisconsin
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: How to find high and low temperature cycles in a column of temperature data

    Would something like this work?

    Put a formula to identify if a entry is the start (over 1400), middle (over 1900) or end (under 1400) of a cycle and then count the starts and ends?

    Starting in the second row of data:
    =IF(AND(A2>1400, A1<1400),"Beginning",IF(AND(A2>1900,A1<1900),"Middle",IF(AND(A2<1400,A1>1400),"End","")))

    Then at the bottom of the column with the formula:
    =COUNTIFS(B1:Bx,"Beginning","End")/2

    I suppose this doesn't take into account double dips, but it might be a start.

  4. #4
    Registered User
    Join Date
    12-11-2012
    Location
    Virginia USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: How to find high and low temperature cycles in a column of temperature data

    Here is my example and need; Our security will not allow spreadsheet downloads but here is a JPEG

    Example.jpg

  5. #5
    Registered User
    Join Date
    12-11-2012
    Location
    Virginia USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: How to find high and low temperature cycles in a column of temperature data

    It probably be best if you look at my example that I have attached. I'm looking at capturing the values and time also.
    Thanks,

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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