+ Reply to Thread
Results 1 to 6 of 6

Varying calculation formula

  1. #1
    Registered User
    Join Date
    09-02-2018
    Location
    Melbourne, Australia
    MS-Off Ver
    2010
    Posts
    9

    Varying calculation formula

    Hi all,

    Firstly, thankyou to all of you who make the daily effort to help news like me with formulas. It's so handy having a resource like this, well done to all involved.

    I am sure this is an easy one, but I can't wrap my mind around it. Am sure it's mostly if/elseif but need to put it to the experts.

    I need a point calculation formula that either awards 1 point for a matching score, or 0.5 awarded when the scoring is only off by 1 variance. I am sure I haven't explained that well enough so I've included a super basic document.
    Attached Files Attached Files
    Last edited by Svenski79; 01-21-2019 at 08:59 PM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: Varying calculation formula

    A bit too oversimplified!!

    Try this, after some rearrangement of data:

    =IF(A2=B2,1,IF(ABS(VLOOKUP(A2,F:G,2,FALSE)-VLOOKUP(B2,F:G,2,FALSE))=1,0.5,0))
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Varying calculation formula

    Another way.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Varying calculation formula

    Another one
    C2
    =(3-MATCH(ABS(MMULT(CODE(A2:B2),{1;-1})),{0,1,2}))/2

  5. #5
    Registered User
    Join Date
    09-02-2018
    Location
    Melbourne, Australia
    MS-Off Ver
    2010
    Posts
    9

    Re: Varying calculation formula

    Perfect, thanks all! Much appreciated.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: Varying calculation formula

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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. Gratuity calculation by lookup on 2cells with varying conditions
    By jayarajmarydasan in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-18-2018, 02:54 PM
  2. Multiple average value calculation of varying data set length
    By Kaspar87 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-22-2016, 10:04 AM
  3. [SOLVED] Formula to correlate varying data in one column to varying data in another column
    By Chris_SS in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-09-2014, 07:36 AM
  4. formula for a calculation with a varying spreadsheet
    By jordan11936 in forum Excel General
    Replies: 12
    Last Post: 03-15-2014, 04:14 AM
  5. [SOLVED] Varying validation drop-downs based on varying cell values
    By navarreman1 in forum Excel General
    Replies: 2
    Last Post: 08-08-2013, 08:13 AM
  6. perform a calculation on subsets of data of varying length
    By smokebreak in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-24-2010, 07:58 AM
  7. varying a range in a formula
    By Justme47 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-31-2009, 10:09 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