+ Reply to Thread
Results 1 to 3 of 3

Recording maximum and minimum

  1. #1
    F
    Guest

    Recording maximum and minimum

    I have a spreadsheet in which a value is automatically imported into B2
    each day.

    I would like B3 to automatically show the maximum value ever reached in
    B2 and, in B4, the minimum ever reached by B2. Could someone advise me
    on how I might do this please.

    TIA.

    --
    F
    (Beware of spam trap - remove the negative)

  2. #2
    Ron de Bruin
    Guest

    Re: Recording maximum and minimum

    Hi F

    You can add this to your code

    If Range("B2").Value > Range("B3").Value Then
    Range("B3").Value = Range("B2").Value
    End If

    You can do the same for minimum

    --
    Regards Ron de Bruin
    http://www.rondebruin.nl


    "F" <[email protected]> wrote in message news:[email protected]...
    >I have a spreadsheet in which a value is automatically imported into B2 each day.
    >
    > I would like B3 to automatically show the maximum value ever reached in B2 and, in B4, the minimum ever reached by B2. Could
    > someone advise me on how I might do this please.
    >
    > TIA.
    >
    > --
    > F
    > (Beware of spam trap - remove the negative)




  3. #3
    F
    Guest

    Re: Recording maximum and minimum

    Hi Ron

    Thanks for the help: appreciated!

    --
    F
    (Beware of spam trap - remove the negative)

+ 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