Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Find value based on two criteria

How would I write a formula to find the value in column C based on the values
of both column A and B? My table looks like this:
A B C
Month Year Price
7 2009 15.46
8 2009 15.98
9 2009 16.01
10 2009 16.23
11 2009 16.78
12 2009 17.09
1 2010 17.87
2 2010 17.98 and so on...
So I want to find the price when A=7 and B=2009. Thanks so much for your
help!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Find value based on two criteria

=SUMPRODUCT((A1:A10=7)*(B1:B10=2009),C1:C10)

If this post helps click Yes
---------------
Jacob Skaria


"StacyM" wrote:

How would I write a formula to find the value in column C based on the values
of both column A and B? My table looks like this:
A B C
Month Year Price
7 2009 15.46
8 2009 15.98
9 2009 16.01
10 2009 16.23
11 2009 16.78
12 2009 17.09
1 2010 17.87
2 2010 17.98 and so on...
So I want to find the price when A=7 and B=2009. Thanks so much for your
help!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Find value based on two criteria

I knew it was pretty simple, but I was trying to use the lookup function.
This works great. Thanks for your help!

"Jacob Skaria" wrote:

=SUMPRODUCT((A1:A10=7)*(B1:B10=2009),C1:C10)

If this post helps click Yes
---------------
Jacob Skaria


"StacyM" wrote:

How would I write a formula to find the value in column C based on the values
of both column A and B? My table looks like this:
A B C
Month Year Price
7 2009 15.46
8 2009 15.98
9 2009 16.01
10 2009 16.23
11 2009 16.78
12 2009 17.09
1 2010 17.87
2 2010 17.98 and so on...
So I want to find the price when A=7 and B=2009. Thanks so much for your
help!

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
Find criteria based data and display next to a count in another wk Blurt Excel Discussion (Misc queries) 2 July 22nd 09 11:30 PM
How do I find and copy rows based on specific criteria? Georgew New Users to Excel 3 May 29th 09 11:07 AM
Query criteria based on a changing criteria list bwilk77 Excel Discussion (Misc queries) 2 May 27th 09 04:03 PM
find a value in a table based on 2 different criteria Picman Excel Worksheet Functions 17 February 24th 09 04:38 PM
find minimum of range based on multiple criteria Weissme Excel Worksheet Functions 3 May 21st 06 05:21 PM


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

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

About Us

"It's about Microsoft Excel"