Please help me with a formula

%3CLINGO-SUB%20id%3D%22lingo-sub-2016115%22%20slang%3D%22en-US%22%3EPlease%20help%20me%20with%20a%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2016115%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20a%20sheet%20with%20many%20different%20variables%20that%20I%20assign%20points%20to%2C%20and%20then%20add%20all%20the%20points%20up%20cumulatively%20in%20order%20to%20get%20a%20total%20point%20score%20for%20a%20particular%20row.%20I've%20been%20doing%20this%20by%20hand%2C%20and%20would%20like%20to%20try%20and%20automate%20more%20of%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou'd%20be%20a%20great%20help%20if%20you%20could%20help%20me%20write%20a%20formula.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'll%20tally%20up%20the%20points%20in%20columns%20to%20the%20far%20right%2C%20so%20I%20can%20write%20a%20formula%20in%20column%20AB%20that%20shows%20me%20how%20many%20points%20are%20in%20column%20I.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20need%20for%20the%20formula%20to%20be%3A%3C%2FP%3E%3CP%3EIf%20I1%20is%20between%200-.4%20then%20the%20result%20should%20be%200%3C%2FP%3E%3CP%3EIf%20I1%20is%20between%202-4.5%20then%20the%20result%20should%20be%20.5%3C%2FP%3E%3CP%3EIf%20I1%20is%20greater%20than%204.5%20then%20the%20result%20should%20be%201%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOnce%20I%20have%20that%20I%20could%20adapt%20it%20for%20my%20other%20needs.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20may%20be%20some%20differences%20with%20other%20columns%2C%20as%20sometimes%20I%20subtract%20points%20for%20certain%20results%20of%20a%20column.%20So%20please%20help%20me%20with%20this%20as%20well%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20column%20J%20is%20greater%20than%20115%20then%20the%20result%20should%20be%20-1.5%3C%2FP%3E%3CP%3EIf%20column%20J%20is%20between%2080%20and%20115%20then%20the%20result%20should%20be%20-1%3C%2FP%3E%3CP%3EIf%20column%20J%20is%20between%2040%20and%2080%20then%20the%20result%20should%20be%20-.5%3C%2FP%3E%3CP%3EIf%20column%20J%20is%20between%2024%20and%2040%20then%20the%20result%20should%20be%200%3C%2FP%3E%3CP%3EIf%20column%20J%20is%20between%2019-24%20then%20the%20result%20should%20be%20.5%3C%2FP%3E%3CP%3EIf%20column%20J%20is%20between%2016-19%20then%20the%20result%20should%20be%201%3C%2FP%3E%3CP%3EIf%20column%20J%20is%20between%2012-16%20then%20the%20result%20should%20be%201.5%3C%2FP%3E%3CP%3EIf%20column%20J%20is%20between%209-12%20then%20the%20result%20should%20be%202%3C%2FP%3E%3CP%3EIf%20column%20J%20is%20between%200-9%20then%20the%20result%20should%20be%202.5%3C%2FP%3E%3CP%3EIf%20column%20J%20is%20below%200%20then%20the%20result%20should%20be%20-1%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20lots%20of%20other%20variants%20of%20these%20however%20I%20suspect%20if%20someone%20were%20to%20help%20me%20with%20those%20two%2C%20I%20could%20figure%20out%20how%20to%20alter%20them%20for%20my%20other%20columns.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20really%20appreciate%20any%20help!%3CBR%20%2F%3E%3CBR%20%2F%3EThanks.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2016115%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2016391%22%20slang%3D%22en-US%22%3ERe%3A%20Please%20help%20me%20with%20a%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2016391%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F911981%22%20target%3D%22_blank%22%3E%40BrianC15%3C%2FA%3E%26nbsp%3BPerhaps%20the%20attached%20workbook%20points%20you%20in%20the%20right%20direction.%20Creating%20some%20named%20ranges%20(yellow%20shaded)%20and%20perhaps%20som%20helper%20columns%20(green%20shaded)%20will%20make%20formula%20writing%2Freading%20easier.%20I've%20given%20two%20examples%20using%20VLOOKUP%20and%20XLOOKUP.%20Not%20sure%20which%20Excel%20version%20you%20are%20on%2C%20so%20the%20latter%20might%20not%20work%20for%20you.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20these%20(not-very-pretty)%20examples%20are%20missing%20the%20point%20completely%2C%20please%20provide%20the%20workbook%20you%20are%20working%20on%20(or%20a%20representative%20part%20of%20it%2C%20and%20without%20any%20confidential%20information)%2C%20including%20the%20manual%20calculations%20you%20now%20want%20automated.%20So%20much%20easier%20to%20help%20I%20one%20has%20the%20actual%20schedule(s)%20to%20work%20with.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

Hello,

 

I have a sheet with many different variables that I assign points to, and then add all the points up cumulatively in order to get a total point score for a particular row. I've been doing this by hand, and would like to try and automate more of it.

 

You'd be a great help if you could help me write a formula.

 

I'll tally up the points in columns to the far right, so I can write a formula in column AB that shows me how many points are in column I. 

 

I would need for the formula to be:

If I1 is between 0-.4 then the result should be 0

If I1 is between 2-4.5 then the result should be .5

If I1 is greater than 4.5 then the result should be 1

 

Once I have that I could adapt it for my other needs.

 

There may be some differences with other columns, as sometimes I subtract points for certain results of a column. So please help me with this as well:

 

If column J is greater than 115 then the result should be -1.5

If column J is between 80 and 115 then the result should be -1

If column J is between 40 and 80 then the result should be -.5

If column J is between 24 and 40 then the result should be 0

If column J is between 19-24 then the result should be .5

If column J is between 16-19 then the result should be 1

If column J is between 12-16 then the result should be 1.5

If column J is between 9-12 then the result should be 2

If column J is between 0-9 then the result should be 2.5

If column J is below 0 then the result should be -1

 

I have lots of other variants of these however I suspect if someone were to help me with those two, I could figure out how to alter them for my other columns.

 

I really appreciate any help!

Thanks.

 

 

 

 

 

1 Reply

@BrianC15 Perhaps the attached workbook points you in the right direction. Creating some named ranges (yellow shaded) and perhaps som helper columns (green shaded) will make formula writing/reading easier. I've given two examples using VLOOKUP and XLOOKUP. Not sure which Excel version you are on, so the latter might not work for you.

 

If these (not-very-pretty) examples are missing the point completely, please provide the workbook you are working on (or a representative part of it, and without any confidential information), including the manual calculations you now want automated. So much easier to help if one has the actual schedule(s) to work with.