LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default matching full name to 'two column' name using sumproduct

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Carrach" wrote in message
...
YES YES YES - Thank you so much for all your help it all works
beautifully.
--
thanks
carrach


"T. Valko" wrote:

For a count just drop the last array (the sum array Sheet1!F2:F100):

=SUMPRODUCT(--(Sheet1!A2:A100&"
"&Sheet1!B2:B100=A2),--(MONTH(Sheet1!D2:D100)=4))

Whe

A2 = Fred Smith
Sheet1!A2:A100 = first names
Sheet1!B2:B100 = last names

--
Biff
Microsoft Excel MVP


"Carrach" wrote in message
...
Hi Biff,
Looks as if it might work however I have just realised that for this
particular sheet, instead of adding a value in column F I need to count
the
number of rows in sheet 1 that are in that particular month. Do I
still
use
SUMPRODUCT or should I in fact be using something else.
sorry

--
any help gratefully received
thanks
carrach


"T. Valko" wrote:

Try something like this...

A2 = Fred Smith

column C = first names
column D = last names

=SUMPRODUCT(--(C2:C5&" "&D2:D5=A2).....

--
Biff
Microsoft Excel MVP


"Carrach" wrote in message
...
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!D2:D100)=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




.



.



 
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
add data in column related to cell in another column - see full de Migty Excel Worksheet Functions 1 September 11th 09 03:35 AM
sumproduct with partial charcter matching Matt Excel Worksheet Functions 3 June 20th 09 03:30 AM
Copy Filtered column in Full Paula Excel Discussion (Misc queries) 2 July 26th 07 10:46 AM
How I can print full text bigger than column, in repeat column Prince Excel Discussion (Misc queries) 0 August 11th 05 07:28 PM
How to specify almost full-column arguments like A3:A TimRegan Excel Discussion (Misc queries) 3 December 3rd 04 05:18 PM


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