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 / Worksheet Functions / October 2006

Tip: Looking for answers? Try searching our database.

Check if 2 cells match on another sheet then lookup value

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sarahmarsden - 20 Oct 2006 07:25 GMT
I have 2 sheets. Sheet 1 has several columns including Date, Variety,
No of Stems. Sheet 2 is a pivot table based on Sheet 1 data showing
Variety and Max Date.

>From the pivot table I need to match Variety and Max Date with Variety
and Date in Sheet 1. Where a row in Sheet 1 contains both matching
values then I want to return No of Stems. (My formula will be on Sheet
2.)

Is this possible?
vezerid - 20 Oct 2006 12:19 GMT
Hi,

I assume that in your pivot table Max Date labels are on the horizontal
axis, cells D1:H1. I assume the Variety labels are on the vertical,
cells C2:C15.

In Sheet1 I assume your Variety is in A and Max Date in B.

In C2:
=INDEX(Sheet2!$C$1:$H$15,MATCH(A2,Sheet2!$C$1:$C$15,0),MATCH(B2,Sheet2!$C$1:$H$1,0))

HTH
Kostis Vezerides

> I have 2 sheets. Sheet 1 has several columns including Date, Variety,
> No of Stems. Sheet 2 is a pivot table based on Sheet 1 data showing
[quoted text clipped - 6 lines]
>
> Is this possible?
 
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.