Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default search from range in column 1 and print from corresponding values

column 1 column 2
0-100 2
101-200 4
201-300 6
301-400 8
401-500 10

I need a formula that would look whether a no. entered in a cell falls in
which range in column 1 and print the corresponding value in column 2.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,344
Default search from range in column 1 and print from corresponding values

Hi,

If you change the first column to read
0 2
101 4
201 6
301 8
401 10

Then you can use =VLOOKUP(H1,A1:B5,2,TRUE)

Where H1 contains the number you want to look up and your modified table is
in the range A1:B5.

--
Thanks,
Shane Devenshire


"manu" wrote:

column 1 column 2
0-100 2
101-200 4
201-300 6
301-400 8
401-500 10

I need a formula that would look whether a no. entered in a cell falls in
which range in column 1 and print the corresponding value in column 2.

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
Question regarding how to search a column and print a row(s) Max Links and Linking in Excel 1 July 15th 05 03:15 PM
Question regarding how to search a column and print a row(s) PegL Excel Discussion (Misc queries) 0 July 15th 05 03:15 PM
Question regarding how to search a column and print a row(s) PegL Excel Worksheet Functions 0 July 15th 05 03:15 PM
Question regarding how to search a column and print a row(s) Max Excel Discussion (Misc queries) 0 July 15th 05 04:14 AM
Question regarding how to search a column and print a row(s) Max Excel Worksheet Functions 0 July 15th 05 04:14 AM


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

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"