Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ptf ptf is offline
external usenet poster
 
Posts: 1
Default Return value if two data points match

I want to return a value when two data points match.

For example, if in a table the value of "Committee" and "June" are found, I
want to return the value in that same row in a different column.

My table looks like this:
Column A Column B Column C
Committee June 2
Board July 4

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default Return value if two data points match

Hi,
let's assume that you enter Commitee in D1 and June in E1 and want the
result in column F1

=sumproduct(--(D1=$A$1:$A$1000),--(E1=$B$1:$B$1000),$C$1:$C$1000)

if this helps please click yes thanks

"ptf" wrote:

I want to return a value when two data points match.

For example, if in a table the value of "Committee" and "June" are found, I
want to return the value in that same row in a different column.

My table looks like this:
Column A Column B Column C
Committee June 2
Board July 4

Thanks!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 523
Default Return value if two data points match

Use:

=SUM((A1:A2="Committee")*(B1:B2="June")*(C1:C2)

but after you've typed it use Ctrl + Shift + Enter rather than just Enter.

Sam

"ptf" wrote:

I want to return a value when two data points match.

For example, if in a table the value of "Committee" and "June" are found, I
want to return the value in that same row in a different column.

My table looks like this:
Column A Column B Column C
Committee June 2
Board July 4

Thanks!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 523
Default Return value if two data points match

=SUM((A1:A2="Committee")*(B1:B2="June")*(C1:C2))

(Bracket missing...)

"ptf" wrote:

I want to return a value when two data points match.

For example, if in a table the value of "Committee" and "June" are found, I
want to return the value in that same row in a different column.

My table looks like this:
Column A Column B Column C
Committee June 2
Board July 4

Thanks!

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
Lookup and match then return data from another sheet Charlie510 Excel Worksheet Functions 6 October 23rd 08 09:14 PM
Match data then comapre and return new data [email protected] Excel Worksheet Functions 0 June 18th 08 12:53 PM
Match two columns, return a third piece of data uncreative Excel Discussion (Misc queries) 2 April 25th 07 12:40 AM
Match data in 2 columns and return data from 3rd column gwtreece[_2_] Excel Worksheet Functions 1 April 4th 07 03:27 PM
LOOKUP two data sets for match - return 1 or 0 - Please help! Jay Excel Worksheet Functions 1 September 26th 06 12:10 PM


All times are GMT +1. The time now is 07:59 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"