Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
terryc
 
Posts: n/a
Default vlookup for a range of data


I'm having some real problems trying to figure out how to do something
in Excel....

Basically, I have a large, indigestible table of data. What I want the
user to do is to select a range of electricity generator sizes from a
pull-down menu - e.g. "0-1 KW", "1-5 KW" etc.

There will then be another worksheet in which a similar table is
presented. However, this table will only display the data range
selection. E.g. if they've selected "1-5 KW", then the table will only
display 1-5 KW generators.

The problem is that using VLookup, I can get Excel to take specific
values, e.g. I can make it look up 1, 2, 3, etc., but I don't know how
to make it look for a range of 1-5. Does anyone know how to do this?


--
terryc
------------------------------------------------------------------------
terryc's Profile: http://www.excelforum.com/member.php...o&userid=35796
View this thread: http://www.excelforum.com/showthread...hreadid=556007

  #2   Report Post  
Posted to microsoft.public.excel.misc
baxybaxy
 
Posts: n/a
Default vlookup for a range of data


tricky without seeing the data

i think you'll need to do something like adding an additional
true/false column to both your detail data and your selection fields
and use the sumif or sumproduct formula


--
baxybaxy
------------------------------------------------------------------------
baxybaxy's Profile: http://www.excelforum.com/member.php...o&userid=35824
View this thread: http://www.excelforum.com/showthread...hreadid=556007

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
How to Match and Sort two range of data? Tan New Users to Excel 1 March 5th 06 10:30 PM
Getting #N/A from Vlookup when matching value exist in the lookup data range. jdeshpa Excel Worksheet Functions 2 November 22nd 05 09:12 PM
changing data in range of vlookup Josie Excel Discussion (Misc queries) 1 November 1st 05 05:42 PM
Printing data validation scenarios SJC Excel Worksheet Functions 14 July 24th 05 12:43 AM
Sort pages? David Excel Discussion (Misc queries) 15 May 13th 05 11:33 PM


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