A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Looking up values in a table



 
 
Thread Tools Display Modes
  #1  
Old April 26th, 2010, 07:55 PM posted to microsoft.public.excel.newusers
ARIS
external usenet poster
 
Posts: 7
Default Looking up values in a table

Hi,

How do you search for data from a table having 2 criterias?

Example:
Month Name Score
Jan John 3
Jan Mark 2
Jan Tom 4
Feb John 5
Feb Mark 3
Feb Tom 4
Mar John 5
Mar Mark 4
Mar Tom 3


Let's say i want to look for the score for john in Feb. What formula could I
use?

Thank you,
  #2  
Old April 26th, 2010, 08:05 PM posted to microsoft.public.excel.newusers
Lars-Åke Aspelin[_4_]
external usenet poster
 
Posts: 74
Default Looking up values in a table

On Mon, 26 Apr 2010 11:55:01 -0700, Aris
wrote:

Hi,

How do you search for data from a table having 2 criterias?

Example:
Month Name Score
Jan John 3
Jan Mark 2
Jan Tom 4
Feb John 5
Feb Mark 3
Feb Tom 4
Mar John 5
Mar Mark 4
Mar Tom 3


Let's say i want to look for the score for john in Feb. What formula could I
use?

Thank you,


Try this formula:

=SUMPRODUCT(--(A:A="Feb"),--(B:B="John"),C:C)

Hope this helps / Lars-Åke
  #3  
Old April 27th, 2010, 11:31 AM posted to microsoft.public.excel.newusers
edvwvw via OfficeKB.com
external usenet poster
 
Posts: 79
Default Looking up values in a table

I am not sure that this will work as you need to define the range for
SUMPRODUCT

Each element needs to be the same size

=SUMPRODUCT(--(A1:A10="Feb"),--(B1:B10="John"),C1:C10)

edvwvw

Lars-Ã…ke Aspelin wrote:
Hi,

[quoted text clipped - 16 lines]

Thank you,


Try this formula:

=SUMPRODUCT(--(A:A="Feb"),--(B:B="John"),C:C)

Hope this helps / Lars-Ã…ke


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...l-new/201004/1

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:37 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.