ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Determine if a value in a range is close to the value of another c (https://www.excelbanter.com/excel-worksheet-functions/92759-re-determine-if-value-range-close-value-another-c.html)

Marcelo

Determine if a value in a range is close to the value of another c
 
Hi Raven

try to use lookup, assuming that the average formula is on the a40 and the
range is on A2 thu A35 so:

=llokup(a40,a2:a35)

the function will return the closer number of the range

hope this helps
Regards from Brazil
Marcelo

"Raven" escreveu:

Hi!

Is there a way to determine if there is a number in a range of values that
is closest in value to another number? I have a column of numbers that I
have used to calculate an average, but now I want to find out which of those
numbers is closest to the average.

Thanks!
--
Ray



All times are GMT +1. The time now is 03:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com