+ Reply to Thread
Results 1 to 11 of 11

removing one... to the greater value...

  1. #1
    Forum Contributor
    Join Date
    08-10-2010
    Location
    Tavira, POrtugal
    MS-Off Ver
    Excel 2010
    Posts
    132

    removing one... to the greater value...

    I'm having with a big little problem.

    I am not able to compose a formula that will in the Annex.

    the problem is that when the columns are 0 def values in a, b and c, the formula always takes one. and what I am trying to do since yesterday is the following:

    if A, B or C are greater than the value of D, E or F, remove one.

    Well this is what is formulated to do actually, now that I do not want to go get formula values lower than E, for example. ie count only the highest value among D, E or F.

    I hope I have made to understand.

    Respects
    Attached Files Attached Files
    Last edited by Birnen; 09-02-2010 at 02:40 PM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,043

    Re: removing one...

    Try this: =C3-(C3>MAX(F3:H3))
    Never use Merged Cells in Excel

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: removing one...

    Try this in A6:

    =C3 - (C3 > MAX(F3:H3))

    EDIT: hat-tip to zbor.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Forum Contributor
    Join Date
    08-10-2010
    Location
    Tavira, POrtugal
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: removing one...

    thank's

    it work's like I need...

    Hugs...

  5. #5
    Forum Contributor
    Join Date
    08-10-2010
    Location
    Tavira, POrtugal
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: removing one... to the greater value...

    my mystake... it didn't work as plan

  6. #6
    Forum Contributor
    Join Date
    08-10-2010
    Location
    Tavira, POrtugal
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: removing one... to the greater value...

    this is the one:

    =SE(B3>MÁXIMO(F3:H3);B3-1;B3)

    thank's for the help.

  7. #7
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,043

    Re: removing one... to the greater value...

    It does same as our formula

  8. #8
    Forum Contributor
    Join Date
    08-10-2010
    Location
    Tavira, POrtugal
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: removing one... to the greater value...

    no...

    it´s a little bit diferrent

    I have try yours but didn't work like I need

    try my formula...

    but one think i have too say your's help me a lot.

    thank's

  9. #9
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,043

    Re: removing one... to the greater value...

    hmmm.. Maybe this: =C3-(C3>MIN(F3:H3)) ?

  10. #10
    Forum Contributor
    Join Date
    08-10-2010
    Location
    Tavira, POrtugal
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: removing one... to the greater value...

    see this...
    Attached Files Attached Files

  11. #11
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,043

    Re: removing one... to the greater value...

    I think they are the same.. Not that you do it wrong.. It was my first solution too.
    Attached Files Attached Files

+ 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