+ Reply to Thread
Results 1 to 4 of 4

Find the Max and Min value in multiple set of cells containing streaming data using UDF

  1. #1
    Registered User
    Join Date
    02-27-2014
    Location
    Taipei
    MS-Off Ver
    Excel 2003
    Posts
    24

    Find the Max and Min value in multiple set of cells containing streaming data using UDF

    I have a workbook that get live data from a streaming server, i found this thread that can do the trick, http://www.excelforum.com/excel-prog...using-udf.html, but it cannot get the various set of cells to work using UDF,

    I have live data in cell O48, O49, O50, .... each having different values, if the current values are like this, O48 = 1.23, O49 = 3.35, O50 = 120.25, and keeps changing,

    what is the code to get the Max of O48 and enter to L48 and min to M48,
    Max of O49 and enter to L49 and min to M49,
    Max of O50 and enter to L50 and min to M50, .........

    result values of the cells is something like this
    L48 = 1.28, M48 = 1.20,
    L49 = 3.55, M49 = 3.12,
    L50 = 125.20, M50 = 118.50,
    ......
    Last edited by mrprofit; 12-07-2015 at 06:58 AM.

  2. #2
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Find the Max and Min value in multiple set of cells containing streaming data using UD

    Hi, the code in formula is MAX and MIN if you use VBA then you use WorksheetFunction.Max or .Min
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

  3. #3
    Registered User
    Join Date
    02-27-2014
    Location
    Taipei
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: Find the Max and Min value in multiple set of cells containing streaming data using UD

    I am not good in code, what is the code for this to work, many thanks

  4. #4
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Find the Max and Min value in multiple set of cells containing streaming data using UD

    It's not that simple because you cannot compare L48 to istself and to O48 as well as M48 to L48
    I have no idea where your live data comes from and if the workbook you use has any macros, what version of Excel.
    So if you've got no idea of code (I think you mean programming) then it won't be that easy.
    Try this link so you get an idea how it can work
    http://www.contextures.com/excelminmaxfunction.html

+ 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. [SOLVED] Find the highest & lowest ever value in multiple cells containing streaming data using UDF
    By giuseppegennaro in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-28-2017, 08:43 AM
  2. Replies: 4
    Last Post: 01-07-2014, 03:38 AM
  3. How to capture streaming data
    By nickq8 in forum Excel General
    Replies: 1
    Last Post: 12-07-2012, 12:00 PM
  4. Streaming data into Excel from the net
    By tx12345 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-28-2006, 12:16 PM
  5. [SOLVED] Writing streaming data to txt file
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-01-2006, 12:10 PM
  6. [SOLVED] streaming csv data
    By JohnHorb in forum Excel General
    Replies: 0
    Last Post: 05-18-2006, 06:45 AM
  7. [SOLVED] How to find multiple cells/replace whole cells w/data
    By dcurylo in forum Excel General
    Replies: 2
    Last Post: 11-30-2005, 04:10 PM
  8. DDE Data Streaming Macro
    By rnrss in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-09-2005, 12:02 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