#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ray Ray is offline
external usenet poster
 
Posts: 267
Default dynamic vlookup?

How would I create a formula that uses 'User input' as the criteria to
find the designated data on another sheet? Here's an example:

Say I have sales data for cars. A user can choose to see total sales
on 'Make' (ie Honda) or 'Model' (ie Accord), or 'Make/Model' (Honda
Accord). Assume for this example that other manufacturers make an
'Accord', so 'Accord' and 'Honda Accord' would return different totals.

I've already got drop-downs created for Make & Model that contain the
possible options. But how do I structure the VLOOKUP to use these
user-entered values? When I try it the 'normal' way, the VLOOKUP
doesn't recognize a blank cell (ie a Make but no Model) as blank -- it
evaluates the cell as '0'.

Any ideas? I know that VLOOKUP may not be the best way to do, but it's
what I knew how to do...

TIA, Ray

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default dynamic vlookup?

The answer depends on how your raw data is setup. Without a good detailed
description or seeing a small sample it'd be difficult to make a suggestion.

Biff

"Ray" wrote in message
oups.com...
How would I create a formula that uses 'User input' as the criteria to
find the designated data on another sheet? Here's an example:

Say I have sales data for cars. A user can choose to see total sales
on 'Make' (ie Honda) or 'Model' (ie Accord), or 'Make/Model' (Honda
Accord). Assume for this example that other manufacturers make an
'Accord', so 'Accord' and 'Honda Accord' would return different totals.

I've already got drop-downs created for Make & Model that contain the
possible options. But how do I structure the VLOOKUP to use these
user-entered values? When I try it the 'normal' way, the VLOOKUP
doesn't recognize a blank cell (ie a Make but no Model) as blank -- it
evaluates the cell as '0'.

Any ideas? I know that VLOOKUP may not be the best way to do, but it's
what I knew how to do...

TIA, Ray



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 698
Default dynamic vlookup?

Hi Ray,

I sent you a workbook that may do what you want, if not, maybe get on the
right track. Tried to explain what I was doing but got all muddled and
would probably not make good enough sense.

HTH
Regards,
Howard

"Ray" wrote in message
oups.com...
How would I create a formula that uses 'User input' as the criteria to
find the designated data on another sheet? Here's an example:

Say I have sales data for cars. A user can choose to see total sales
on 'Make' (ie Honda) or 'Model' (ie Accord), or 'Make/Model' (Honda
Accord). Assume for this example that other manufacturers make an
'Accord', so 'Accord' and 'Honda Accord' would return different totals.

I've already got drop-downs created for Make & Model that contain the
possible options. But how do I structure the VLOOKUP to use these
user-entered values? When I try it the 'normal' way, the VLOOKUP
doesn't recognize a blank cell (ie a Make but no Model) as blank -- it
evaluates the cell as '0'.

Any ideas? I know that VLOOKUP may not be the best way to do, but it's
what I knew how to do...

TIA, Ray



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ray Ray is offline
external usenet poster
 
Posts: 267
Default dynamic vlookup?

Thanks alot for your help, Howard ... as you said, not exactly what I
needed (likely due to my poor explanation of what I needed!), but put
me on the right track -- and now the issue is solved!

Best Rgds,
Ray


L. Howard Kittle wrote:
Hi Ray,

I sent you a workbook that may do what you want, if not, maybe get on the
right track. Tried to explain what I was doing but got all muddled and
would probably not make good enough sense.

HTH
Regards,
Howard

"Ray" wrote in message
oups.com...
How would I create a formula that uses 'User input' as the criteria to
find the designated data on another sheet? Here's an example:

Say I have sales data for cars. A user can choose to see total sales
on 'Make' (ie Honda) or 'Model' (ie Accord), or 'Make/Model' (Honda
Accord). Assume for this example that other manufacturers make an
'Accord', so 'Accord' and 'Honda Accord' would return different totals.

I've already got drop-downs created for Make & Model that contain the
possible options. But how do I structure the VLOOKUP to use these
user-entered values? When I try it the 'normal' way, the VLOOKUP
doesn't recognize a blank cell (ie a Make but no Model) as blank -- it
evaluates the cell as '0'.

Any ideas? I know that VLOOKUP may not be the best way to do, but it's
what I knew how to do...

TIA, Ray


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
VLOOKUP in a dynamic setting Liz Excel Worksheet Functions 3 February 10th 06 04:19 AM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
Dynamic range for Table_array in a VLOOKUP. DaveO Excel Worksheet Functions 8 October 12th 05 04:28 PM
Urgent Dynamic Range with Vlookup Jeff Excel Discussion (Misc queries) 3 October 6th 05 01:09 AM
Dynamic Range for Function (Vlookup etc) IshtiaqM Excel Worksheet Functions 4 March 27th 05 09:47 PM


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