+ Reply to Thread
Results 1 to 5 of 5

Finding a max value.

Hybrid View

tactical Finding a max value. 10-25-2011, 11:59 AM
Marcol Re: Finding a max value. 10-25-2011, 12:11 PM
ConneXionLost Re: Finding a max value. 10-25-2011, 12:13 PM
tactical Re: Finding a max value. 10-25-2011, 12:39 PM
ConneXionLost Re: Finding a max value. 10-25-2011, 01:05 PM
  1. #1
    Registered User
    Join Date
    05-31-2011
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    37

    Finding a max value.

    See attached workbook. Pretty much I'm just trying to find the max value of column E for any given week.
    Can anyone tell me what is wrong with my equation in F2?

    Edit: I also am eventually going to go more in depth and try to find the max for any given week if c:c=130. I would assume I just need another if statement in there saying if(c:c=30,...

    Thanks!
    Attached Files Attached Files
    Last edited by tactical; 10-25-2011 at 12:09 PM.

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Finding a max value.

    The formula you are using is an array formula
    =MAX(IF(A:A>=F1, IF(A:A<G1,E:E )))
    Confirm with Ctrl+Shift+Enter not just Enter

    [EDIT]
    If you intend dragging right you will need
    =MAX(IF($A:$A>=F1, IF($A:$A<G1,$E:$E )))
    Last edited by Marcol; 10-25-2011 at 12:19 PM.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  3. #3
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Finding a max value.

    Try this:

    =MAX((A1:A1000>=F1)*(A1:A1000<G1)*E1:E1000)
    confrimed with Ctrl-Shift-Enter.

    Cheers,
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  4. #4
    Registered User
    Join Date
    05-31-2011
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Finding a max value.

    Okay, I got the first part. Thanks!! Now I'm trying to do what I posted in the edited comment. Any Insight?

  5. #5
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Finding a max value.

    Try:

    =MAX((A1:A1000>=F1)*(A1:A1000<G1)*(C1:C1000=130)*E1:E1000)
    again with CSE.

    Cheers,

+ 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