+ Reply to Thread
Results 1 to 9 of 9

Maximum Number

  1. #1
    Forum Contributor geliedee's Avatar
    Join Date
    10-14-2013
    Location
    Manila, philippines
    MS-Off Ver
    Excel 2007
    Posts
    399

    Maximum Number

    Hi All, I have here a formula and its working well. But i have a problem.

    Please Login or Register  to view this content.
    In column a are the names and in column e are the values.

    a 1
    a 1
    a 1
    a 1
    b 2
    b 2
    b 2
    c 6
    c 6


    what i need to add is when the values in column e are the same ex. customer a all values are 1 it should display Equal and not yes.

    So i should have 3 output: YES, NO and EQUAL

    Attached is the file

    Hope u can help me Book1.xlsx
    Last edited by geliedee; 01-06-2015 at 07:37 AM.

  2. #2
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Maximum Number

    Sorry wrong solution

    Hi try this

    Punnam
    Last edited by Punnam; 01-06-2015 at 07:40 AM.

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Maximum Number

    =IF(AND(E2=MAX(IF($A$2:$A$13=A2,$E$2:$E$13)),E2>1),"Yes","No")
    Try this array formula
    Confirm with Shft+Ctrl+Enter
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  4. #4
    Forum Contributor
    Join Date
    03-11-2014
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    379

    Re: Maximum Number

    Hi geliedee,

    Did you edit your requirement?
    If so then please mention it.

    Regards,
    AM

  5. #5
    Forum Contributor geliedee's Avatar
    Join Date
    10-14-2013
    Location
    Manila, philippines
    MS-Off Ver
    Excel 2007
    Posts
    399

    Re: Maximum Number

    Hi, the values in column a is duplicated.

  6. #6
    Forum Contributor geliedee's Avatar
    Join Date
    10-14-2013
    Location
    Manila, philippines
    MS-Off Ver
    Excel 2007
    Posts
    399

    Re: Maximum Number

    hi ashishmehra2010, thanks for the reminder. yes i have edited it and when i refreshed, i saw the first answer to my question.

    So here's the updated one.

    what i need to add is when the values in column e are the same (ex. customer a all values are 1) it should display Equal and not yes, not no.

    So i should have 3 output: YES, NO and EQUAL

  7. #7
    Forum Contributor geliedee's Avatar
    Join Date
    10-14-2013
    Location
    Manila, philippines
    MS-Off Ver
    Excel 2007
    Posts
    399

    Re: Maximum Number

    hi nflsales, i tried your formula, it applies for customer with the 1 values in column e.

    the out put should be liked this:

    a 1 EQUAL
    a 1 EQUAL
    a 1 EQUAL
    a 1 EQUAL
    b 2 NO
    b 3 YES
    b 1 NO
    c 6 NO
    c 7 YES
    C 5 NO

  8. #8
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Maximum Number

    =IF(COUNTIF($A$2:$A$10,$A2)=COUNTIFS($A$2:$A$10,$A2,$E$2:$E$10,$E2),"Equal",IF(COUNTIF($A$2:$A$10,$A2)=COUNTIFS($A$2:$A$10,$A2,$E$2:$E$10,"<="&$E2),"Yes","No"))
    Try this in H2 and copy towards down

  9. #9
    Forum Contributor geliedee's Avatar
    Join Date
    10-14-2013
    Location
    Manila, philippines
    MS-Off Ver
    Excel 2007
    Posts
    399

    Re: Maximum Number

    hi @nflsales , that worked really good! Thank you so much!

+ 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. Maximum Number of Columns
    By martin.j.h in forum Excel General
    Replies: 6
    Last Post: 11-26-2013, 11:44 AM
  2. if then to a MAXIMUM number
    By atlus in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-05-2009, 09:26 AM
  3. Maximum number of macros??
    By jenhearns in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-15-2007, 02:10 PM
  4. How can I show a maximum number?
    By JoeD in forum Excel General
    Replies: 6
    Last Post: 02-24-2006, 09:50 AM
  5. [SOLVED] getting the number of the row with the maximum value
    By hilbert in forum Excel General
    Replies: 3
    Last Post: 04-05-2005, 09:06 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