+ Reply to Thread
Results 1 to 9 of 9

Merge the two formulas together?

  1. #1
    Registered User
    Join Date
    08-19-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    39

    Question Merge the two formulas together?

    Merge the two formulas together?

    First formula:
    =INDEX(A6:A99,MATCH(LARGE(IF(B6:B99="m",AG6:AG99,""),1),AG6:AG99,0))

    Second formula:
    =MAX(IF(AG6:AG99<180,AG6:AG99,""))

    As long as the value is less than 180

    Thanks in advance.

    Doug

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Merge the two formulas together?

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    08-19-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    39

    Question Re: Merge the two formulas together?

    It returns a value of 0

  4. #4
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Merge the two formulas together?

    could you send the non-sensitive data?

  5. #5
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Merge the two formulas together?

    @Dougiebn,

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).
    HTH
    Regards, Jeff

  6. #6
    Registered User
    Join Date
    08-19-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    39

    Re: Merge the two formulas together?

    Sorry won't happen again
    Dougiebn

    Cross-post address: http://www.mrexcel.com/forum/excel-q...-together.html
    Last edited by Dougiebn; 08-26-2013 at 03:03 PM.

  7. #7
    Registered User
    Join Date
    08-19-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    39

    Re: Merge the two formulas together?

    A B C
    Perfect
    Score
    Name MF 1001
    John m 180
    Diane f 120
    Sam m 140
    Sue f 171


    Perfect Score 1001
    Male
    # Name Total
    1
    2
    3
    4
    5
    6
    Female
    # Name Total
    1
    2
    3
    4
    5
    6

    First formula:
    =INDEX(A6:A99,MATCH(LARGE(IF(B6:B99="m",AG6:AG99,""),1),AG6:AG99,0))

    Second formula:
    =MAX(IF(AG6:AG99<180,AG6:AG99,""))

    As long as the value is less than 180

    How do I put an actual pic of the spread sheet on the forum so you can see what it looks like. or are you allowed to do that.
    Last edited by Dougiebn; 08-26-2013 at 02:03 PM.

  8. #8
    Registered User
    Join Date
    08-19-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    39

    Re: Merge the two formulas together?

    Incorporate the formulas?

    First formula: This is to determine the highest score in range of cells for males.
    =INDEX(A6:A99,MATCH(LARGE(IF(B6:B99="m",AG6:AG99,""),1),AG6:AG99,0))

    And the second formula: This formula is to make sure that the score is less than 180.
    =MAX(IF(AG6:AG99<180,AG6:AG99,""))

    I would like the two formulas to be incorporated in one if possible.

    Thanks in advance.

    Doug

  9. #9
    Registered User
    Join Date
    08-19-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    39

    Question Re: Merge the two formulas together?

    Incorporate the formulas?

    First formula: This is to determine the highest score in range of cells for males.
    =INDEX(A6:A99,MATCH(LARGE(IF(B6:B99="m",AG6:AG99,""),1),AG6:AG99,0))

    And the second formula: This formula is to make sure that the score is less than 180.
    =MAX(IF(AG6:AG99<180,AG6:AG99,""))

    I would like the two formulas to be incorporated in one if possible.

    Thanks in advance.

    Doug

+ 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] Trying to merge two formulas with no luck
    By jonahbosworth in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-16-2013, 01:02 PM
  2. How to merge two different formulas
    By hirenhkansara in forum Excel General
    Replies: 2
    Last Post: 08-24-2012, 08:13 AM
  3. How to merge two different formulas
    By hirenhkansara in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-24-2012, 07:50 AM
  4. Excel 2007 : Merge two formulas together
    By colins in forum Excel General
    Replies: 3
    Last Post: 02-20-2010, 10:57 AM
  5. Merge two formulas
    By Zaeguzah in forum Excel General
    Replies: 3
    Last Post: 11-12-2009, 03:35 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