Vlookup help!

mrpotatohead

New Member
Joined
Feb 10, 2004
Messages
4
Hello!

I'm a student taking I.C.T at AS Level in England, and for my project I have to design a system for an end-user who wants to have an easy to use system to check the Lottery results of a syndicate.

I'm still in the design/specification stages, but I am having trouble with a basic Vlookup that I need help with.

Below is a sheet I've called ResultsHistory - in the red box is an area I have named LottoResults.


exceleg1.jpg


And below is another sheet called CheckResults - I want to be able to create a combo box which lists all the dates listed in the LottoResults area of the ResultsHistory sheet, and when the user selects a date - the relative numbers for that date are shown in the boxes below...

exceleg2.jpg


Please tell me there is a way of doing this - if anybody can help me out with this, not only will I be eternally grateful - but I'll be a very happy man!! :)


Thanks guys!


- Joe[/img]
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
hi - welcome to the board!

this might help:
Book1
ABCD
1Source
2DateNumber1Number2Number3
31/01/2001123
42/01/2001345
53/01/2001789
64/01/2001101112
7
8
9DateN1N2N3
102/01/2001345
Sheet2


...post back if you need some explanation etc...
 
Upvote 0
Welcome to the Board!

How about something like this in D4:I4

=VLOOKUP($D$3,'Lottery Results History'!$B$4:$I$20,COLUMN()-2,FALSE)

Where D3 is the Cell Link for the Combo Box.

Hope that helps,

Smitty
 
Upvote 0
Thanks PaddyD, for the welcome and assistance...

I think I'm taking it in ok... what would I add for the 'Control' settings in the Combo box?

Thanks again for all your help - much appreciated!

I'm trying to get from your example, what I should include as the formula in my sheet - I've tried putting '=VLOOKUP(ResultsHistory!$B$4,ResultsHistory!$B$4:$B$20,2,0)' - but it's come up with #REF...

Sorry I'm not very good at this... thanks for bearing with me!!


- Joe
 
Upvote 0
pennysaver said:
Welcome to the Board!

How about something like this in D4:I4

=VLOOKUP($D$3,'Lottery Results History'!$B$4:$I$20,COLUMN()-2,FALSE)

Where D3 is the Cell Link for the Combo Box.

Hope that helps,

Smitty

Thanks Smitty... I'll try that now!


- Joe
 
Upvote 0
Ok I've done what you suggested Smitty - and I can tell I'm making some sort of progress!

Just wondering now - what do I put in for the Input Range in the Combo Box... and also... in cell D3 (where I've put the formula) - it is displaying the date 00/01/1900 ?!?!

Hmm... any suggestions!!


Many thanks... for your help!


- Joe
 
Upvote 0
The Input Range for the Combo Box will be wherever your dates are stored. Update that and your date display will be correct too.

Smitty
 
Upvote 0

Forum statistics

Threads
1,203,501
Messages
6,055,767
Members
444,822
Latest member
Hombre

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top