Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 5
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   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 83
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   Report Post  
Posted to microsoft.public.excel.newusers
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

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
Copying values from pivot table to cells outside pivot table richzip Excel Discussion (Misc queries) 4 January 16th 08 11:03 PM
duplicate table just values not formulas in the table Rob Charts and Charting in Excel 1 February 18th 07 12:18 PM
Populating a table based on values in another table Bri Excel Worksheet Functions 0 January 26th 06 01:23 AM
Values in a Table bob Excel Worksheet Functions 2 October 25th 05 04:13 AM
Looking up values in a table LesLdh Excel Worksheet Functions 17 August 3rd 05 06:55 PM


All times are GMT +1. The time now is 02:57 PM.

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"