Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default how do i assign a range of numbers to a cell in excel

how do i assign a range of numbers to a single cell, i have a vlookup
function which looks up a table where the cells in the first column are
labled 2 to 5, 5 to 7, 7t o 9 and 9 to 12, but this is just text and excel
doesnt recognise it, how do i get these cells to actually represent these
ranges
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 58
Default how do i assign a range of numbers to a cell in excel

Make your first column just the first number of the range. Assuming you
have the following table starting in Cell A1:
2 first
5 second
7 thired
9 fourth

Then in your vlookup, leave of the "False" argument. It will lookup up
the closest value and pick it. So if you looked up the following, it
will return "first"

=VLOOKUP(3,A1:B4,2)

HTH,

Ken Puls, CMA - Microsoft MVP (Excel)
www.excelguru.ca

nickfunsw wrote:
how do i assign a range of numbers to a single cell, i have a vlookup
function which looks up a table where the cells in the first column are
labled 2 to 5, 5 to 7, 7t o 9 and 9 to 12, but this is just text and excel
doesnt recognise it, how do i get these cells to actually represent these
ranges

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default how do i assign a range of numbers to a cell in excel

thanks ken this solved my problem

"Ken Puls" wrote:

Make your first column just the first number of the range. Assuming you
have the following table starting in Cell A1:
2 first
5 second
7 thired
9 fourth

Then in your vlookup, leave of the "False" argument. It will lookup up
the closest value and pick it. So if you looked up the following, it
will return "first"

=VLOOKUP(3,A1:B4,2)

HTH,

Ken Puls, CMA - Microsoft MVP (Excel)
www.excelguru.ca

nickfunsw wrote:
how do i assign a range of numbers to a single cell, i have a vlookup
function which looks up a table where the cells in the first column are
labled 2 to 5, 5 to 7, 7t o 9 and 9 to 12, but this is just text and excel
doesnt recognise it, how do i get these cells to actually represent these
ranges


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
Non updatable Unique Random Number Ian Excel Worksheet Functions 30 September 28th 06 08:19 PM
I displaying a range in Time within a cell in Excel. Moricj Excel Discussion (Misc queries) 1 May 4th 06 01:04 PM
cell format in Excel 2002 SP3 will not accept long numbers spkersh Excel Worksheet Functions 1 October 27th 05 07:22 PM
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 03:47 PM
Pasting Word table cell with paragraph markers into single Excel c Steve Excel Discussion (Misc queries) 1 June 16th 05 11:26 PM


All times are GMT +1. The time now is 05:09 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"