+ Reply to Thread
Results 1 to 6 of 6

A formula to calculate the MAX number in a range between two numbers.

  1. #1
    Registered User
    Join Date
    06-15-2021
    Location
    Bergen
    MS-Off Ver
    365
    Posts
    3

    A formula to calculate the MAX number in a range between two numbers.

    Hi everyone,

    I was wondering if there is a formula to calculate the MAX number in a range but limit the search with certain identifiers.

    For example; lets say the list looks like this:
    3101
    3102
    3103
    3201
    3202
    3203
    3301
    3302
    3303

    I want to select this range but only find the MAX number between say 3100-3199, and then do the same for 3200-3299 and 3300-3399 etc.

    Edit: OR "MAX number from all numbers starting with 31,32,33 etc"

    Is this possible? I tried googling but couldn't find anything for this specific formula.

    Thanks in advance
    -Adam
    Last edited by Adamjc; 06-15-2021 at 02:58 AM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,443

    Re: A formula to calculate the MAX number in a range between two numbers.

    As the XL version in your profile is unknown to me (2105??) check your version and see if you have the MAXIFS function

  3. #3
    Registered User
    Join Date
    06-15-2021
    Location
    Bergen
    MS-Off Ver
    365
    Posts
    3

    Re: A formula to calculate the MAX number in a range between two numbers.

    Version 2105 (Build 14026.20270) (Microsoft® Excel® for Microsoft 365 MSO (16.0.14026.20270) 64-biters)

    Looks like i do have that function yes.

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,443

    Re: A formula to calculate the MAX number in a range between two numbers.

    OK, so it's XL365. You should change your profile accordingly as 365 has some features other versions don't have.

  5. #5
    Registered User
    Join Date
    06-15-2021
    Location
    Bergen
    MS-Off Ver
    365
    Posts
    3

    Re: A formula to calculate the MAX number in a range between two numbers.

    Thanks, I update my profile. Any idea if a formula like this is possible? I had a look at MAXIFS but couldn't figure out how to set the criteria if it comes from the same range/column.

  6. #6
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: A formula to calculate the MAX number in a range between two numbers.

    Enter your numbers in A1 to A9

    then

    =MAX(IF($A$1:$A$9>=3100,1,0)*IF($A$1:$A$9<=3200,1,0)*$A$1:$A$9)
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

+ 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. Formula to Calculate Number of Incidents Within A Range
    By kattyaftaeva in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-30-2019, 06:55 PM
  2. Help with writing a formula to calculate based on a range of numbers
    By hapahoale in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-25-2016, 10:24 AM
  3. Replies: 3
    Last Post: 03-03-2015, 03:01 PM
  4. Replies: 1
    Last Post: 07-18-2013, 10:11 AM
  5. Replies: 5
    Last Post: 08-06-2009, 05:17 PM
  6. Replies: 4
    Last Post: 03-10-2009, 11:42 PM
  7. [SOLVED] Excel Formula - to calculate highest number from a set of numbers
    By Emily in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-27-2006, 01:55 AM

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