#1   Report Post  
Posted to microsoft.public.excel.misc
Jim Jim is offline
external usenet poster
 
Posts: 615
Default Match Match Then

Hello,

Can you tell me how to write a formula that will look at column A (the date)
then column B (a name) and return the results of column d.

a b c d
e
27-Dec CORENE 36 17 0.47
27-Dec Bob 61 50 0.31
28-Dec CHAD 44 12 0.27
28-Dec VICKIE 45 19 0.42
29-Dec JIM 54 19 0.35
29-Dec CHRISTINA 45 16 0.36

Thank you in advance for the help
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Match Match Then

Jim,

Try this

=INDEX(E1:E6,MATCH(1,(A1:A6=G1)*(B1:B6=H1),0))

Where G1 is the date and h1 is the name


'This is an array formula which must be entered with CTRL+Shift+Enter and NOT
'just enter. If you do it correctly then Excel will put curly brackets around
'the formula{}. You can't type these yourself. If you Edit the ranges
'then you must re-enter as An array

Mike


"Jim" wrote:

Hello,

Can you tell me how to write a formula that will look at column A (the date)
then column B (a name) and return the results of column d.

a b c d
e
27-Dec CORENE 36 17 0.47
27-Dec Bob 61 50 0.31
28-Dec CHAD 44 12 0.27
28-Dec VICKIE 45 19 0.42
29-Dec JIM 54 19 0.35
29-Dec CHRISTINA 45 16 0.36

Thank you in advance for the help

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default Match Match Then

Hi,

Here is one approach, assuming your first entry is in on row 1. and you have
entered the date and name you want to check for in G1 and G2

=SUMPRODUCT(--(A1:A6=G1),--(B1:B6=G2),D1:D6)
--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Jim" wrote:

Hello,

Can you tell me how to write a formula that will look at column A (the date)
then column B (a name) and return the results of column d.

a b c d
e
27-Dec CORENE 36 17 0.47
27-Dec Bob 61 50 0.31
28-Dec CHAD 44 12 0.27
28-Dec VICKIE 45 19 0.42
29-Dec JIM 54 19 0.35
29-Dec CHRISTINA 45 16 0.36

Thank you in advance for the help

  #4   Report Post  
Posted to microsoft.public.excel.misc
Jim Jim is offline
external usenet poster
 
Posts: 615
Default Match Match Then

Again, perfect

"Mike H" wrote:

Jim,

Try this

=INDEX(E1:E6,MATCH(1,(A1:A6=G1)*(B1:B6=H1),0))

Where G1 is the date and h1 is the name


'This is an array formula which must be entered with CTRL+Shift+Enter and NOT
'just enter. If you do it correctly then Excel will put curly brackets around
'the formula{}. You can't type these yourself. If you Edit the ranges
'then you must re-enter as An array

Mike


"Jim" wrote:

Hello,

Can you tell me how to write a formula that will look at column A (the date)
then column B (a name) and return the results of column d.

a b c d
e
27-Dec CORENE 36 17 0.47
27-Dec Bob 61 50 0.31
28-Dec CHAD 44 12 0.27
28-Dec VICKIE 45 19 0.42
29-Dec JIM 54 19 0.35
29-Dec CHRISTINA 45 16 0.36

Thank you in advance for the 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
Need to match 2 columns, if a match found add info from 2nd column Stratton Excel Worksheet Functions 1 October 8th 08 02:55 PM
index(match) Wind Uplift Calculations (match four conditions) JMeier Excel Worksheet Functions 8 August 1st 08 01:45 AM
MATCH Multiple Criteria & Return Previous / Penultimate Match Sam via OfficeKB.com Excel Worksheet Functions 27 October 6th 07 01:39 AM
index match array function-returning only first match, need last. Julie Olsen Excel Worksheet Functions 3 December 29th 06 12:50 AM
Lookup? Match? pulling rows from one spreadsheet to match a text f cjax Excel Worksheet Functions 3 July 21st 06 02:51 PM


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