Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
jocmccoy
 
Posts: n/a
Default how to lookup a value within a range and return a label

Wrecking my head this one:

For example if the Label
A is from 1 to 200
B from 201 to 1000
C from 1001 and above

How can I lookup and return the correct label for a value.

Is there a function for this, or does it require programming
  #2   Report Post  
Posted to microsoft.public.excel.misc
Duke Carey
 
Posts: n/a
Default how to lookup a value within a range and return a label

Put these values in cells A1:B3

1 A
201 B
1001 C

put the value to look up in C1, and use this formula

=VLOOKUP(C1,A1:B3,2)


"jocmccoy" wrote:

Wrecking my head this one:

For example if the Label
A is from 1 to 200
B from 201 to 1000
C from 1001 and above

How can I lookup and return the correct label for a value.

Is there a function for this, or does it require programming

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
return a range of cells from a vertical lookup vickyb_au Excel Worksheet Functions 2 October 11th 05 12:15 PM
lookup and return range of cells ark Excel Worksheet Functions 3 August 6th 05 06:18 PM
Match function...random search? Les Excel Worksheet Functions 10 July 28th 05 12:54 PM
Return cell reference of lookup value bobm Excel Worksheet Functions 3 July 7th 05 09:49 AM
Excel - return a picture or range rows as the result of a formula juststarting Excel Worksheet Functions 1 July 4th 05 01:59 AM


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

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"