How to determine the value?
David,
Had to find this in Forte Agent ( I normally use the web interface). I think
you'll find that when the OP asked this very similar question previously in
the event of a tie the higher value was to be returned, this time it's the
lower value.
Mike
"David Biddulph" wrote:
On microsoft.public.excel.misc
today, after a
similar
on Nov 5th
I think you answered the one on Nov 5th, Mike?
--
David Biddulph
"Mike H" wrote in message
...
David,
Agree totally with the irritations of multi-posting but I can't see
another
post. Where is it?
Mike
"David Biddulph" wrote:
Please don't multipost.
--
David Biddulph
"Eric" wrote in message
...
Does anyone have any suggestions on how to determine the closest number
without using sorting functions?
Example One
There is a list of number under column A
191,189,183,177,175,171,167,165,159,153,151
and there is a given number in cell B1, 154.
I would like to determine the closest number, which match with the
number
in
cell B1. On above example, it should return 153 in cell C1.
Example Two
There is a list of number under column A
191,189,183,177,175,171,167,165,155,153,151
and there is a given number in cell B1, 154.
I would like to determine the closest number, which match with the
number
in
cell B1. On above example, if the given number matches two numbers,
which
the
difference is the same, then it should return 153 in cell C1.
Does anyone have any suggestions?
Thanks in advance for any suggestions
Eric
|