C
Carrach
Assume your names in Sheet1 are in column A, the dates are in column
D, and the values you want to add are in column F. Further assume that
the target_name in this_sheet is in A2. Try this formula in a cell in
this_sheet:
=SUMPRODUCT(--(Sheet1!A2:A100=A2),--(MONTH(Sheet1!D2100)=4),Sheet1!
F2:F100)
This formulae works very well (thanks to Pete for his help), however I need
to use the same formulae to match the name in A2 to a spreadsheet that has
the name to be matched to in two columns (first name (col A), last name (Col
B).
I currently use the following to match names in this manner but dont know
how to use it in the formulae above:
=SUMPRODUCT(--(sa_advisor_LAST_NAME="Smith"),--(sa_advisor_FIRST_NAME="Fred"))
Can anyone help please?
regards
Carrach
D, and the values you want to add are in column F. Further assume that
the target_name in this_sheet is in A2. Try this formula in a cell in
this_sheet:
=SUMPRODUCT(--(Sheet1!A2:A100=A2),--(MONTH(Sheet1!D2100)=4),Sheet1!
F2:F100)
This formulae works very well (thanks to Pete for his help), however I need
to use the same formulae to match the name in A2 to a spreadsheet that has
the name to be matched to in two columns (first name (col A), last name (Col
B).
I currently use the following to match names in this manner but dont know
how to use it in the formulae above:
=SUMPRODUCT(--(sa_advisor_LAST_NAME="Smith"),--(sa_advisor_FIRST_NAME="Fred"))
Can anyone help please?
regards
Carrach