Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / February 2007

Tip: Looking for answers? Try searching our database.

Vlookup in 2 fields on another worksheet

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve - 06 Feb 2007 21:19 GMT
On Sheet1
I have a list of dates in column B and a list of numbers in column C.
I have data in all columns up to M.

In sheet2 I have todays date in A1: =today()
and a number in A2: 33

In sheet 2 I need a formula to lookup any row which matches todays
date in column AND matches the number in A2. I then need to display
all the row from column B:M.

Many thanks

STeve
T. Valko - 06 Feb 2007 22:54 GMT
>I need a formula to lookup any row which matches todays date

Can there be more than 1 row that meets this condition?

Biff

> On Sheet1
> I have a list of dates in column B and a list of numbers in column C.
[quoted text clipped - 10 lines]
>
> STeve
Steve - 07 Feb 2007 08:25 GMT
> >I need a formula to lookup any row which matches todays date
>
[quoted text clipped - 18 lines]
>
> - Show quoted text -

Yes. There is likly to be up to 15 that need to be displayed in a
predefined box on my second worksheet (probally 20 rows big).

Cheers

Steve
T. Valko - 08 Feb 2007 04:00 GMT
There's a couple of ways to do this.

The easiest way and the one that will impact performance of the file the
least is to use a filter. Add a column to the end of table and enter this
formula:

=IF(AND(A1=Sheet2!A$1,B1=Sheet2!A$2),"x","")

Copy down to the end of the table.

Then filter on that column using the "x" as the criteria. Then copy the
filtered list over to sheet 2.

That's the easiest way to do this but it isn't dynamic.

You could do this with formulas, but, depending on how much data needs to be
searched on sheet1 and how many records need to be pulled over to sheet2,
this can impact the performance of the file (slow things down).

How many rows of data are there on sheet1 that need to be searched? If it's
1000's then you will want to use the filter method. If you still want to
consider using the formula method let me know and I'll put together a small
sample file that demonstrates this and will put up a link to that file.

Biff

>> >I need a formula to lookup any row which matches todays date
>>
[quoted text clipped - 25 lines]
>
> Steve
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.