+ Reply to Thread
Results 1 to 4 of 4

Max of every every type

  1. #1
    Registered User
    Join Date
    09-15-2017
    Location
    United Arab Emirates
    MS-Off Ver
    2013
    Posts
    68

    Max of every every type

    Please send me a formula where max of every header 1 column is taken from header 2 and replicated in resulted column C

    head 1 head 2 result sheet
    Apple 2 8
    Apple 8 8
    Apple 4 8
    orange 1 9
    orange 2 9
    orange 2 9
    orange 9 9


    Thanks

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,496

    Re: Max of every every type

    if you have maxifs (which if you have MS version 2013 I don't believe you have) this would work...
    =MAXIFS($B$2:$B$8,$A$2:$A$8,A2)
    but otherwise this array formula...
    =MAX(IF($A$2:$A$8=A2,$B$2:$B$8)) Activated by ctrl + shift + enter to get the braces to appear on each end {} (you cannot add them yourself).
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Max of every every type

    You can use this array* formula in cell C2:

    =MAX(IF(A$2:A$100=A2,B$2:B$100))

    * Note that an array formula needs to be committed using the key combination of Ctrl-Shift-Enter (CSE), rather than the usual Enter.

    Copy the formula down to the bottom of your data.

    Hope this helps.

    Pete

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Max of every every type

    Similar to Pete's this won't need array entry.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

+ 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] Index-Match type lookup to assign phrase to a number from a MaxDiff type survey matrix
    By FivestarMac in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-15-2018, 02:24 PM
  2. [SOLVED] multiple conditions to count large amount of data by Type, month & activity type
    By norfolk_lass in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-03-2014, 12:54 PM
  3. Replies: 0
    Last Post: 07-06-2013, 12:59 PM
  4. [SOLVED] Type Mismatch: array or user defined type expected
    By ExcelMonkey in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-06-2006, 10:45 AM
  5. [SOLVED] Type mismatch using rnge as Range with Type 8 Input Box
    By STEVE BELL in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 12-03-2005, 01:10 AM
  6. [SOLVED] Help: Compile error: type mismatch: array or user defined type expected
    By lvcha.gouqizi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-31-2005, 05:05 PM
  7. [SOLVED] Adding new 'Type' to Format->Number->Time->Type
    By Alex Vinokur in forum Excel General
    Replies: 5
    Last Post: 09-26-2005, 04:05 PM

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