Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 41
Default Help refining sumproduct

Hi guys,

In column A i have person names, each person name is repeated 18 times. In
column E have time segments 0-5, 6 -10, 11-15, right through to 86-90. These
segments are repeated for each person. For example the first 18 rows in A
will be taken up by the same person name and the first 18 rown in E will
consist of each consecutive time segment, this cycle wil then be repeated for
the next person and so forth. In column G i Have a distance, this being
distance covered by that person in that particular time segment. What I need
to return is that exact distance that corresponds to a specific person only
in a specific time segment.

At the moment I am using: sumproduct(--(A2:A224="person
name"),--(E2:E224=0-5), G2:G224).

This however is returning a summed total of all the distance values in G
matching the entered name, but I only want the single value in cell G2, thus
returing only the distance covered in 0-5 (cell E2).

Many thanks in advance,

kind regards,

Ant

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Help refining sumproduct

Shouldn't it be

=SUMPRODUCT(--(A2:A224="person name"),--(E2:E224="0-5"), G2:G224)

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Anto111" wrote in message
...
Hi guys,

In column A i have person names, each person name is repeated 18 times. In
column E have time segments 0-5, 6 -10, 11-15, right through to 86-90.
These
segments are repeated for each person. For example the first 18 rows in A
will be taken up by the same person name and the first 18 rown in E will
consist of each consecutive time segment, this cycle wil then be repeated
for
the next person and so forth. In column G i Have a distance, this being
distance covered by that person in that particular time segment. What I
need
to return is that exact distance that corresponds to a specific person
only
in a specific time segment.

At the moment I am using: sumproduct(--(A2:A224="person
name"),--(E2:E224=0-5), G2:G224).

This however is returning a summed total of all the distance values in G
matching the entered name, but I only want the single value in cell G2,
thus
returing only the distance covered in 0-5 (cell E2).

Many thanks in advance,

kind regards,

Ant



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 41
Default Help refining sumproduct

Fantastic. Done.

Very basic oversight.

Cheers Bob

"Bob Phillips" wrote:

Shouldn't it be

=SUMPRODUCT(--(A2:A224="person name"),--(E2:E224="0-5"), G2:G224)

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Anto111" wrote in message
...
Hi guys,

In column A i have person names, each person name is repeated 18 times. In
column E have time segments 0-5, 6 -10, 11-15, right through to 86-90.
These
segments are repeated for each person. For example the first 18 rows in A
will be taken up by the same person name and the first 18 rown in E will
consist of each consecutive time segment, this cycle wil then be repeated
for
the next person and so forth. In column G i Have a distance, this being
distance covered by that person in that particular time segment. What I
need
to return is that exact distance that corresponds to a specific person
only
in a specific time segment.

At the moment I am using: sumproduct(--(A2:A224="person
name"),--(E2:E224=0-5), G2:G224).

This however is returning a summed total of all the distance values in G
matching the entered name, but I only want the single value in cell G2,
thus
returing only the distance covered in 0-5 (cell E2).

Many thanks in advance,

kind regards,

Ant




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
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM
sumproduct help dr350x Excel Discussion (Misc queries) 4 June 9th 07 10:59 AM
SUMPRODUCT Mark Allen Excel Discussion (Misc queries) 8 June 2nd 07 09:56 PM
Refining Countif asg2307 Excel Discussion (Misc queries) 5 February 14th 06 07:16 PM
sumproduct Matt Excel Worksheet Functions 0 December 15th 05 12:24 AM


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