Results 1 to 5 of 5

Thread: Finding the number of times a max value is seen per location

  1. #1

    Finding the number of times a max value is seen per location



    Register for a FREE account, and/
    or Log in to avoid these ads!

    I am trying to see if there is a way to display the number of times a MAX value is seen per location across these WiFi SSID (see attached).
    Attached Files Attached Files

  2. #2
    Good afternoon,

    Please see the attached file. Is this what you are looking for? It looks like all of the max values occur only once, but I did change the values to test the formula and it appears to work correctly (when I duplicate a max value within a location it shows up as a '2' in the count.

    Hope this helps,
    Attached Files Attached Files

  3. #3
    Quote Originally Posted by bgoree09 View Post
    Good afternoon,

    Please see the attached file. Is this what you are looking for? It looks like all of the max values occur only once, but I did change the values to test the formula and it appears to work correctly (when I duplicate a max value within a location it shows up as a '2' in the count.

    Hope this helps,
    Thank you for your response but I was actually looking for the count of max per ssid. So there should be 4 rows (Ant, Threat, Snail and Variable) each with a count of the times thay had a max value per location.

  4. #4
    Conjurer Simi's Avatar
    Join Date
    Feb 2012
    Location
    Utah, USA
    Posts
    187
    Articles
    0
    This is slightly hard to look at but I'll try to break it down.

    On "Sheet1" cell B2 put the following:
    =SUM(IF(speed!B$1:speed!B$24508=A2,IF(speed!C$1:speed!C$24508=MAX(IF(speed!B$1:speed!B$24508=A2,speed!C$1:speed!C$24508,0)),1,0),0))
    you will need to enter this as an array formula by pressing ctrl+shift+enter

    I'm going to color code this so its easier to explain how it works.
    =SUM(IF(speed!B$1:speed!B$24508=A2,IF(speed!C$1:speed!C$24508=MAX(IF(speed!B$1:speed!B$24508=A2,speed!C$1:speed!C$24508,0)),1,0),0))

    The Red portion is there for us to only look at the data that pertains to the ssid in A2.
    The Blue portion, then checks to see if the value in column C is equal to the max for the ssid, if it is it adds 1 to the count
    The Green portion helps us find the max speed for our given value in this case cell A2 = Ant.

  5. #5
    Quote Originally Posted by Simi View Post
    This is slightly hard to look at but I'll try to break it down.

    On "Sheet1" cell B2 put the following:
    =SUM(IF(speed!B$1:speed!B$24508=A2,IF(speed!C$1:speed!C$24508=MAX(IF(speed!B$1:speed!B$24508=A2,speed!C$1:speed!C$24508,0)),1,0),0))
    you will need to enter this as an array formula by pressing ctrl+shift+enter

    I'm going to color code this so its easier to explain how it works.
    =SUM(IF(speed!B$1:speed!B$24508=A2,IF(speed!C$1:speed!C$24508=MAX(IF(speed!B$1:speed!B$24508=A2,speed!C$1:speed!C$24508,0)),1,0),0))

    The Red portion is there for us to only look at the data that pertains to the ssid in A2.
    The Blue portion, then checks to see if the value in column C is equal to the max for the ssid, if it is it adds 1 to the count
    The Green portion helps us find the max speed for our given value in this case cell A2 = Ant.
    Thanks but forgot the ua on speed. This is more of a tally per location. You are trying to find how many times SSID of Ant has the fastest speeds across all of the ua locations. This is a competitive list.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •