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 / September 2007

Tip: Looking for answers? Try searching our database.

Lookup

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
AFA - 18 Sep 2007 09:16 GMT
Hi,

Country    Month    Value
Germany    1    100.00
Germany    5    250.00
UK    7    400.00
Spain    2    300.00
UK    5    250.00
Germany    9    710.00

I need to pull out the value that match to Country=Germany and Month=9.     
I am sure Vlookup or offset are not possible.   
What formula should I write?
Sandy Mann - 18 Sep 2007 09:22 GMT
Country in Column A, Month in Column B & Value in Column C:

=SUMPRODUCT((A2:A7="Germany")*(B2:B7=9)*C2:C7)

Signature

HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

sandymann2@mailinator.com
Replace @mailinator.com with @tiscali.co.uk

> Hi,
>
[quoted text clipped - 9 lines]
> I am sure Vlookup or offset are not possible.
> What formula should I write?
AFA - 19 Sep 2007 03:32 GMT
Hi Sandy

Thank a lots. its work! you save a lot of my time scrolling down a hundred
of line and updating items manually.

> Country in Column A, Month in Column B & Value in Column C:
>
[quoted text clipped - 13 lines]
> > I am sure Vlookup or offset are not possible.
> > What formula should I write?
Sandy Mann - 19 Sep 2007 09:50 GMT
Your are very welcome, I'm glad you found it useful

Signature

Regards,

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

sandymann2@mailinator.com
Replace @mailinator.com with @tiscali.co.uk

> Hi Sandy
>
[quoted text clipped - 18 lines]
>> > I am sure Vlookup or offset are not possible.
>> > What formula should I write?
 
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.