Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
BCBOY
 
Posts: n/a
Default how do i set a range within one cell

Say I have a value eg 23 in one cell i want to use LOOKUP in col A and if it
falls in that range output col b. But how do I set this range in that
cell.Please Help.
eg 23
Col A Col B
row 1 1 - 9 $1
row 2 10 - 19 $2
row 3 20 - 29 $3
  #2   Report Post  
Gord Dibben
 
Posts: n/a
Default

Enter in B1 then drag/copy down.

=LOOKUP(A1,{0,9,19},{1,2,3})


Gord Dibben Excel MVP

On Sat, 14 May 2005 09:57:10 -0700, "BCBOY"
wrote:

Say I have a value eg 23 in one cell i want to use LOOKUP in col A and if it
falls in that range output col b. But how do I set this range in that
cell.Please Help.
eg 23
Col A Col B
row 1 1 - 9 $1
row 2 10 - 19 $2
row 3 20 - 29 $3


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
Reveal cell formats and extendable range in tool/statusbar/icon. Danny O'Hern ([email protected]) Excel Worksheet Functions 0 April 29th 05 01:16 PM
highlight range if cell contains desired data The Other Bollinger New Users to Excel 7 March 24th 05 01:30 AM
Grabbing the last Non-empty cell in a range Arlen Excel Discussion (Misc queries) 2 January 22nd 05 05:15 PM
Comparing a cell result with a pre-defined value range Antony Weldon Excel Worksheet Functions 1 November 23rd 04 11:51 AM
Merging Cells but have each cell counted in the range of merged c. gats13 Excel Worksheet Functions 2 November 9th 04 07:14 PM


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