• 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.

if function

Rik Smith

New Member
Hi all


I'm trying to estimate the compensation if stolen it will be based on the percentages in column T the age of the vehicle will the the criteria so for vehicles less than one year old 50% of column K the value of the vehicle and so on as shown in columns R-T.
 

Attachments

Thankfully, you've got the perfect lookup table setup. :)
Formula in M5:
=LOOKUP(E5,$R$6:$T$10)*K5

Copy down as desired.
 
Hi all


I'm trying to estimate the compensation if stolen it will be based on the percentages in column T the age of the vehicle will the the criteria so for vehicles less than one year old 50% of column K the value of the vehicle and so on as shown in columns R-T.
Hi,

In M5 and drag down

=VLOOKUP(E5,$R$6:$T$10,3)*K5
 

Attachments

Mike can you please advise this vlookup working in which way.... how this checking the data between a range like how it is checking that 2 is falling between 2-4...
Hi,

VLOOKUP has the following arguments and the last argument in bold below is optional. If the range_lookup argument is set to FALSE then vlookup finds an exact match or returns an error.

If the argument is TRUE or (as in my formula) omitted then vlookup returns an exact match or if there isn't an exact match it returns the largest match that is less then the lookup value and that's how in the formula it's working out whether the value is between values.

VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
 
Hi,

VLOOKUP has the following arguments and the last argument in bold below is optional. If the range_lookup argument is set to FALSE then vlookup finds an exact match or returns an error.

If the argument is TRUE or (as in my formula) omitted then vlookup returns an exact match or if there isn't an exact match it returns the largest match that is less then the lookup value and that's how in the formula it's working out whether the value is between values.

VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
you are awesome, thanks... :)
 
Back
Top