Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 698
Default Extracting Data easily from database Excel 2003

Hi Ozzy Jim,

You can do this with an array entered vlookup. Try this:

Select four cells on the same row and while still selected enter this
formula in the active cell.

=VLOOKUP(H1,B1:F2,{2,3,4,5},0)

Now commit with Ctrl+Shift+Enter.

Where H1 is the Number to lookup, (and can be a data valadation drop down
list of 1 to 50, etc.)
Where Description, Cost, Delivery, Qty is a range of B1:F2, expanded to suit
your data.

If your data table changes you will need to select the four cells containing
the formula and make your changes and again use the array enter method.

You also can do this using a more simple vlookup something like this in each
cell for for the four bits of info to be returned, assuming the same lookup
range as above. These are entered by a simple ENTER only.

=VLOOKUP(H1,B1:F2,2,0)
=VLOOKUP(H1,B1:F2,3,0)
=VLOOKUP(H1,B1:F2,4,0)
=VLOOKUP(H1,B1:F2,5,0)

HTH
Regards,
Howard

"OzzyJim" wrote in message
...
Hi All,
Have a large database (approx 30 columns, hundreds of lines) and would
like
to run a quick report that pulls important related information from the
databse via a key descriptor i.e if I have simple data like

Number Description Cost Delivery Qty
1 Egg 25 Yes 300
2 Chicken 30 No 500

So by choosing a line number, the remaining line information returns,
Description, cost etc returns into appropriate label fileds as below

Number 2 (line number chosen to view)
Description Chicken (these fields populate
automatically)
Cost 30 (these fields populate automatically)
Delivery no (these fields populate automatically)
Qty 500 (these fields populate automatically)

Any ideas will be appreciated
Cheers
OzzyJim



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
Easily extracting data from one spreadsheet to another Silent_Bob Excel Discussion (Misc queries) 5 July 8th 08 01:23 PM
How do I organize data from excel 2003 database into a word file? mdwife0520 New Users to Excel 1 November 11th 07 11:03 PM
Extracting data inexcell 2003 John cheshire lad Excel Worksheet Functions 8 June 13th 07 12:00 PM
Extracting Records From Excel Database thorvision Excel Discussion (Misc queries) 5 December 1st 05 06:09 AM
Extracting data without using database functions MelbTim Excel Worksheet Functions 5 May 30th 05 06:20 AM


All times are GMT +1. The time now is 04:29 AM.

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"