Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Check the interval of a cell withni a range of values

Suppose the following table:
**********
* A * B *
************
************
1 ** 1 * B1 *
2 ** 5 * B2 *
3 ** 8 * B3 *
4 ** 20 * B4 *
***********
and a cell with number 4.

I would like to get B1 displayed, since the number 4 is bigger than A1
(namely '1', but smaller than A2 ('5'). Is this possible using functions?
  #2   Report Post  
Posted to microsoft.public.excel.misc
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default Check the interval of a cell withni a range of values

where the value to look up is in C1, you could try:
=VLOOKUP(C1,A1:B4,2,TRUE)


"dakke" wrote:

Suppose the following table:
**********
* A * B *
************
************
1 ** 1 * B1 *
2 ** 5 * B2 *
3 ** 8 * B3 *
4 ** 20 * B4 *
***********
and a cell with number 4.

I would like to get B1 displayed, since the number 4 is bigger than A1
(namely '1', but smaller than A2 ('5'). Is this possible using functions?

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
check for FALSE values in a range of cells in VBA Dave F[_2_] Excel Discussion (Misc queries) 2 August 7th 07 04:12 PM
Check if rounded cell values fall within a range vertigo Excel Discussion (Misc queries) 2 April 24th 07 11:34 AM
Name Findout From a interval range mun04 Excel Worksheet Functions 2 March 5th 06 10:52 AM
Q: check a range values JIM.H. Excel Discussion (Misc queries) 2 October 21st 05 12:26 AM
counting values within given interval - countif? A_F Excel Discussion (Misc queries) 4 May 6th 05 10:07 AM


All times are GMT +1. The time now is 05:51 AM.

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

About Us

"It's about Microsoft Excel"