• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Increment %

Lasantha

Member
Dear Team,

Kindly look into the attached template. could you please help me to get the relevant increment % to Column "C" .

Thank you.
Lasantha.
 

Attachments

  • Score.xlsx
    9.6 KB · Views: 17
I liked Bosco's cunning use of IMAGINARY so, building on that with modern Excel, I used the lower threshold to each band to give
= XLOOKUP(appraisalScore, IMREAL(appraisalBand&"j"), Increment, , -1 )
or, even more aggressively up to date
= LET(
threshold, IMREAL(appraisalBand&"j"),
empIncrement, XLOOKUP(appraisalScore, threshold, Increment, , -1 ),
empIncrement )


One might argue to case for defining the threshold values using
= VALUE( LEFT( appraisalBand, SEARCH("-", appraisalBand) - 1 ) )
despite it being less innovative.

Note: These formulae are intended for Office 365 and the LET function requires insider channel.
 

Attachments

  • Score (PB).xlsx
    17.9 KB · Views: 12
Peter

I didn't find where this item is selected in the formula, I put it in bold.

= LET (
threshold, IMREAL (appraisalBand & "j"),
empIncrement, XLOOKUP (appraisalScore, threshold, Increment,, -1),
empIncrement)

Where are these item?

appreciate

Decio
 
@deciog

The LET function is something new, currently on beta release within Office 365 insider channel. It came as a bit of a shock to me earlier in the year.
It takes an alternating pattern of parameters with the first of any pair being a name that is local to the LET function and the second being its defining formula. The names defined this way can be used in subsequent formulas within the LET but not elsewhere. Unlike normal named formulas, these names are evaluated at the point at which they are defined and so may be used multiple times in the function without being recalculated.
I have used Alt+Enter to display the arguments over multiple lines simply to make the formula more readable.

The short answer to "Where are these items?" is "right in front of you"; you are looking at their definition.

I hope that helps (assuming it translates into Portuguese OK in the first place) .

Cheers
Peter
 
Peter

Thanks for the answer, I did tests here and it worked, any name accepts very strange but it works

A big hug

Decio
 
I liked Bosco's cunning use of IMAGINARY so, building on that with modern Excel, I used the lower threshold to each band to give
= XLOOKUP(appraisalScore, IMREAL(appraisalBand&"j"), Increment, , -1 )
or, even more aggressively up to date
= LET(
threshold, IMREAL(appraisalBand&"j"),
empIncrement, XLOOKUP(appraisalScore, threshold, Increment, , -1 ),
empIncrement )


One might argue to case for defining the threshold values using
= VALUE( LEFT( appraisalBand, SEARCH("-", appraisalBand) - 1 ) )
despite it being less innovative.

Note: These formulae are intended for Office 365 and the LET function requires insider channel.
This is Great .
 
Back
Top