#1   Report Post  
Dean
 
Posts: n/a
Default query functions

I have a large amount of 4 column data in an Excel file. Without using
Access, I want a simple way for a user to enter a number, execute a search
and have the search paste the row of information found next to the search
entry. The data itself will be hiden so the user only sees the search entry
and the results of each search.
  #2   Report Post  
Nick Hodge
 
Posts: n/a
Default

Dean

You can do this with a vlookup function. If the hidden data is on Sheet2, in
say A1:D25000. You wanted to look up an entry in A1 on Sheet1. Returning
the value in columnB on sheet2 corresponding to the 'found' entry, then in
B1 Sheet1 enter

=IF(ISNA(VLOOKUP(A1,Sheet2!$A$1:$D$25000,2,FALSE)) ,"Not
Found",VLOOKUP(A1,Sheet2!$A$1:$D$25000,2,FALSE))

This will return the value 'Not Found' if it finds nothing or else the value
from column B

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
HIS


"Dean" wrote in message
...
I have a large amount of 4 column data in an Excel file. Without using
Access, I want a simple way for a user to enter a number, execute a search
and have the search paste the row of information found next to the search
entry. The data itself will be hiden so the user only sees the search
entry
and the results of each search.



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
Excel2000 ODBC query oddity Arvi Laanemets Excel Discussion (Misc queries) 0 March 10th 05 07:35 AM
Question about Query Wizard Anita Excel Discussion (Misc queries) 0 March 7th 05 04:51 PM
Query of External Data Excel GuRu Excel Discussion (Misc queries) 2 January 3rd 05 08:43 PM
Microsoft Query Help Patti Excel Worksheet Functions 4 December 25th 04 10:54 AM
How to use a Access Query that as a parameter into Excel database query Karen Middleton Excel Discussion (Misc queries) 1 December 13th 04 08:54 PM


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