How do I find the cell/data the closest/nearest to another data?
Assuming the cells are in A2:A151
Select A2, go to Format, Conditional Format. Formula is:
=ABS(A2-AVERAGE($A$2:$A$151))=MIN(ABS($A$2:$A$151-AVERAGE($A$2:$A$151)))
Select a format you want to appear if cell meets your criteria. Select A2,
copy, then select rest of column, right click, paste special, formatting only.
--
Best Regards,
Luke M
*Remember to click "yes" if this post helped you!*
"V" wrote:
Hi everyone!
I'm sorry, I can't find my answer in the general help program.
How do I find the cell or the data from a list, that I cannot sort, the
closest to another data.
e.g. If I have 150 values in a column and I do the average of this column, I
want to know which data or cell is the closest from this average. Thank you
so much!
|