Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
feman007
 
Posts: n/a
Default How do I find a column entry closest to a particular value

I'm trying to find the closest value in a column to a specified number, then
list it. Basically, I have a function in which I have to find 25% of the max
value and find which value in the data column that is closest. I was trying
to use a function to search the column but it wasn't working. any thoughts?

Thanks,
Dave
  #2   Report Post  
Domenic
 
Posts: n/a
Default

Try the following formula that needs to be confirmed with
CONTROL+SHIFT+ENTER...

=INDEX(A1:A10,MATCH(MIN(ABS(A1:A10-B1)),ABS(A1:A10-B1),0))

....where B1 contains the specified number.

Hope this help!

In article ,
"feman007" wrote:

I'm trying to find the closest value in a column to a specified number, then
list it. Basically, I have a function in which I have to find 25% of the max
value and find which value in the data column that is closest. I was trying
to use a function to search the column but it wasn't working. any thoughts?

Thanks,
Dave

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
need to find which numbers (3+) in a column sum to a value Devin Excel Discussion (Misc queries) 1 February 11th 05 10:30 PM
find first nonzero value in column DAVID Excel Worksheet Functions 5 January 11th 05 03:31 AM
find first nonzero value in column DAVID Excel Worksheet Functions 2 January 11th 05 12:53 AM
Finding last entry in column Phil Excel Worksheet Functions 5 January 10th 05 07:21 PM
Move the last entry in a column to a different cell, when the loc. MicroSoft Excell (?) Excel Worksheet Functions 2 January 7th 05 09:29 PM


All times are GMT +1. The time now is 10:37 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"