+ Reply to Thread
Results 1 to 12 of 12

Modify formula to replace value needed to reach 1st or 2nd place and return win by value

  1. #1
    Forum Contributor
    Join Date
    04-22-2011
    Location
    Isabela, Puerto Rico
    MS-Off Ver
    365 Mac Excel Version 16.54
    Posts
    233

    Modify formula to replace value needed to reach 1st or 2nd place and return win by value

    I have 4 values, a value of 15.00 on cell L29, a value of 14.43 in cell T29, a value of 18.00 in cell L49 and a value of 14.43 in cell T49.

    I have a value of 15.00 on cell L29 (2nd highest value) and i'm using this formula on cell J15 =IF(L29=LARGE((L29,T29,L49,T49),1),LARGE((L29,T29,L49,T49),1)-LARGE((L29,T29,L49,T49),2),IF(L29=LARGE((L29,T29,L49,T49),2),LARGE((L29,T29,L49,T49),1)-L29 + 0.01)) returning 3.01, i need to modify this formula to return 18.01 wich is the value needed to be in 1st.

    I have a value of 14.43 on cell T29 (3rd highest value tied wth value on cell T49)and on cell R15 i have this formula (same formula) =IF(T29=LARGE((L29,T29,L49,T49),1),LARGE((L29,T29,L49,T49),1)-LARGE((L29,T29,L49,T49),2),IF(T29=LARGE((L29,T29,L49,T49),2),LARGE((L29,T29,L49,T49),1)-T29 + 0.01)) returnig FALSE, i need to return 15.01 wich is the value needed to be in 2nd.

    I have a value of 18.00 on cell L49 and on cell J35 have this formula (same formula) =IF(L49=LARGE((L29,T29,L49,T49),1),LARGE((L29,T29,L49,T49),1)-LARGE((L29,T29,L49,T49),2),IF(L49=LARGE((L29,T29,L49,T49),2),LARGE((L29,T29,L49,T49),1)-L49 + 0.01)) returning 3.00 wich is the value that is winning over the 2nd value, here is returning the desire number.

    Thanks in advance for any help, i been trying for endless time to get the results needed with no success.

  2. #2
    Registered User
    Join Date
    04-18-2010
    Location
    MK
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Modify formula to replace value needed to reach 1st or 2nd place and return win by val

    Hello,

    Have tried to simplify the formulas, the enclosed sheet shows the new formulas.

    Book1.xlsx

  3. #3
    Forum Contributor
    Join Date
    04-22-2011
    Location
    Isabela, Puerto Rico
    MS-Off Ver
    365 Mac Excel Version 16.54
    Posts
    233

    Re: Modify formula to replace value needed to reach 1st or 2nd place and return win by val

    millimo, thank you very much, the formulas give the desire result, i may do not explain well, the values on cells L29, T29, L49,T49 are constanly changing, is there maybe a way to have just one formula that return the desire number everytime the values on cells L29, T29, L49, T49 changes. Really sorry about that detail.
    Last edited by score; 12-12-2014 at 07:49 PM. Reason: wrong cell #

  4. #4
    Registered User
    Join Date
    04-18-2010
    Location
    MK
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Modify formula to replace value needed to reach 1st or 2nd place and return win by val

    Hi score. I'm not sure what you mean. The formulas shown will change as the values in L29, T29, L49,T49 do.
    They will show the a] value needed to be first(J15) b] value needed to be 2nd(R15) c] difference between the 2(J35)

  5. #5
    Forum Contributor
    Join Date
    04-22-2011
    Location
    Isabela, Puerto Rico
    MS-Off Ver
    365 Mac Excel Version 16.54
    Posts
    233

    Re: Modify formula to replace value needed to reach 1st or 2nd place and return win by val

    thanks millimo, it should be like all those formulas combine into one formula using the IF statement (IF(L29, IF(T29, IF(L49,IF(T49, you have the idea and the formulas return the correct value but everytime values changes in cells L29, T29, L49,T49 the formula should return the numbers that need to be on 1st place or 2nd place and the number for how much is ahead of the others, when values change i have a formula on I15, Q15,I35,Q35 left of the returning value on J15, R15, J35, R35 that changes to "Win by", "Need" and "Tied" so the returning value on J15, R15, J35, R35 must match with "Win by", "Need" and "Tied", hope this help to understand what i looking for. Appreciate for taking of your time to help with this.
    Last edited by score; 12-12-2014 at 11:42 PM.

  6. #6
    Registered User
    Join Date
    04-18-2010
    Location
    MK
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Modify formula to replace value needed to reach 1st or 2nd place and return win by val

    Can you provide a sheet with an example of what you want. Just fill in 2 shhets with examples, and I'll have a look.
    What formulas are showing in I15, Q15,I35,Q35? as you could just type the text out as the values in J15, R15, J35 always show the 1st, 2nd & difference.

    If you can show me what you need I'm sure we can get there.

  7. #7
    Forum Contributor
    Join Date
    04-22-2011
    Location
    Isabela, Puerto Rico
    MS-Off Ver
    365 Mac Excel Version 16.54
    Posts
    233

    Re: Modify formula to replace value needed to reach 1st or 2nd place and return win by val

    Hi millino,file attached with the results i will like to have, what i need is to modify the formula that is on J14,R14,J34,R34, These formulas make reference to the value on cells G14,O14, G34,O34 (yellow color)and does exactly what i need.
    What i need is the same formula on J15,R15,J35,R35 (blue color)but to modify it to make reference to the values on cells L29,T29,L49,T49, hope this help, thanks very much!!
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    04-18-2010
    Location
    MK
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Modify formula to replace value needed to reach 1st or 2nd place and return win by val

    Hi score. I hope this is what you require.
    I have referenced the cells you wanted.

    2014_12_15_Score Board example millimo copy.xls

  9. #9
    Forum Contributor
    Join Date
    04-22-2011
    Location
    Isabela, Puerto Rico
    MS-Off Ver
    365 Mac Excel Version 16.54
    Posts
    233

    Re: Modify formula to replace value needed to reach 1st or 2nd place and return win by val

    Hi millimo, thanks a lot, we are almost there, In R15 should return 15.01 because is the score needed to be replaced for L29 (to get 1st place), in J35 should return 14.44 because is the score needed to reach 2nd place, in R35 should return 14.44 because is the score needed to get 2nd place, IN R35 should return 14.44 because is the value needed to be in 2nd place, let see if this do it., thanks.

  10. #10
    Registered User
    Join Date
    04-18-2010
    Location
    MK
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Modify formula to replace value needed to reach 1st or 2nd place and return win by val


  11. #11
    Forum Contributor
    Join Date
    04-22-2011
    Location
    Isabela, Puerto Rico
    MS-Off Ver
    365 Mac Excel Version 16.54
    Posts
    233

    Re: Modify formula to replace value needed to reach 1st or 2nd place and return win by val

    Cheers millimo, seems to work, thank you very much!!!

  12. #12
    Registered User
    Join Date
    04-18-2010
    Location
    MK
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Modify formula to replace value needed to reach 1st or 2nd place and return win by val

    No problem. Please mark the thread as solved if you're happy with it.

+ 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] Looking for a way to calculate items needed to reach target %
    By UNCDave13 in forum Excel General
    Replies: 13
    Last Post: 01-24-2017, 02:05 AM
  2. [SOLVED] Modify If formula to return N/A if value is Negatitve value
    By SVTF in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 10-26-2014, 09:12 PM
  3. Function or Formula needed for Car Show results 1st, 2nd, 3rd place
    By MacArtist in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-23-2014, 03:18 PM
  4. [SOLVED] Modify left-search formula to replace letter with number
    By Mikey7346 in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 08-27-2012, 05:30 AM
  5. formula needed to place a stage #
    By ice in forum Excel General
    Replies: 1
    Last Post: 11-24-2010, 05:24 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