Lookup Data

smr384

New Member
Joined
Jul 7, 2011
Messages
2
I have two excel spreadsheets, one is a database of information sorted by dates and categories and the other is a presentation sheet. What I am looking to do is to be able to type the date of the information I am looking for into one cell on the presentation sheet and then have the information that is associated with that date on the database sheet to fill the cells on the presentation sheet. The format of the two sheets is the same. Ideally I would like to use a formula if possible. If anyone can help it would be greatly appreciated.
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
=Vlookup($A$2, '[DATABASE.xls]Sheet1'!$A$1:$Z$100, 2)


drag this formula across the row.


Change the blue 2 to 3, then 4, then 5...etc. for each new column.

And match the formula to your data.
 
Upvote 0
Thanks for the response. Can I use VLOOKUP if I am searching using 4 sets of criteria or do I have to use the index formula? My data is sorted by date, index, and two different indicators (call them indicator #1 and indicator #2).
 
Upvote 0
=Vlookup($A$2, '[DATABASE.xls]Sheet1'!$A$1:$Z$100, 2)


drag this formula across the row.


Change the blue 2 to 3, then 4, then 5...etc. for each new column.

And match the formula to your data.



Just as a note for the 2, if you are copying it across just replace the 2 with column()-5 , the -5 being the initial adjustment to get the right number, then when you drag the formula across you don't have to manually change as you do with the constant 2.
 
Upvote 0
Just as a note for the 2, if you are copying it across just replace the 2 with column()-5 , the -5 being the initial adjustment to get the right number, then when you drag the formula across you don't have to manually change as you do with the constant 2.


Which will go **** up if columns are inserted or deleted ;)
 
Upvote 0

Forum statistics

Threads
1,224,503
Messages
6,179,134
Members
452,890
Latest member
Nikhil Ramesh

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