Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default Formula assistance required

Hi guys, am sure you'll be able to help with this but I just cant figure it
out;

Worksheet looks a little like this;

A P U
14 27/02/10 Y 10.00
15 04/03/10 Y 15.00
16 05/03/10 N 0.00
17 06/03/10 N 0.00
18 07/03/10 Y 12.00

My data is in rows 14 to 1000. Col A is the date the claim has been
submitted, Col P is Yes or No to whether claim has been accepted and Col U is
the Loss value.
I have a summary table set up and am wanting to have a weekly total of the
amount payable for accepted claims. So, for week 1, if cell in Col A is
between 27/02/10 and 06/03/10 AND there is a Y in Col P, sum the value in the
corresponding cell in column U. I can then just change the date range for the
remaining weeks of the year and it will automtically populate once the data
is added.

Hope this makes sense and appreciate your expert help (again!!).

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 834
Default Formula assistance required

Try

=SUMPRODUCT(--(A14:A1000=--"2010-02-27"),--(A14:A1000<=--"2010-03-06"),--(P14:P1000="Y"),U14:U1000)

--

HTH

Bob

"J.Scargill" wrote in message
...
Hi guys, am sure you'll be able to help with this but I just cant figure
it
out;

Worksheet looks a little like this;

A P U
14 27/02/10 Y 10.00
15 04/03/10 Y 15.00
16 05/03/10 N 0.00
17 06/03/10 N 0.00
18 07/03/10 Y 12.00

My data is in rows 14 to 1000. Col A is the date the claim has been
submitted, Col P is Yes or No to whether claim has been accepted and Col U
is
the Loss value.
I have a summary table set up and am wanting to have a weekly total of the
amount payable for accepted claims. So, for week 1, if cell in Col A is
between 27/02/10 and 06/03/10 AND there is a Y in Col P, sum the value in
the
corresponding cell in column U. I can then just change the date range for
the
remaining weeks of the year and it will automtically populate once the
data
is added.

Hope this makes sense and appreciate your expert help (again!!).



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Formula assistance required

Hi,

Try this with the date ranges in a1 & a2

=SUMPRODUCT((A14:A1000=A1)*(A14:A1000<=A2)*(P14:P 1000="Y")*(U14:U1000))

--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"J.Scargill" wrote:

Hi guys, am sure you'll be able to help with this but I just cant figure it
out;

Worksheet looks a little like this;

A P U
14 27/02/10 Y 10.00
15 04/03/10 Y 15.00
16 05/03/10 N 0.00
17 06/03/10 N 0.00
18 07/03/10 Y 12.00

My data is in rows 14 to 1000. Col A is the date the claim has been
submitted, Col P is Yes or No to whether claim has been accepted and Col U is
the Loss value.
I have a summary table set up and am wanting to have a weekly total of the
amount payable for accepted claims. So, for week 1, if cell in Col A is
between 27/02/10 and 06/03/10 AND there is a Y in Col P, sum the value in the
corresponding cell in column U. I can then just change the date range for the
remaining weeks of the year and it will automtically populate once the data
is added.

Hope this makes sense and appreciate your expert help (again!!).

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default Formula assistance required

Bob, you are immense! Many thanks.

"Bob Phillips" wrote:

Try

=SUMPRODUCT(--(A14:A1000=--"2010-02-27"),--(A14:A1000<=--"2010-03-06"),--(P14:P1000="Y"),U14:U1000)

--

HTH

Bob

"J.Scargill" wrote in message
...
Hi guys, am sure you'll be able to help with this but I just cant figure
it
out;

Worksheet looks a little like this;

A P U
14 27/02/10 Y 10.00
15 04/03/10 Y 15.00
16 05/03/10 N 0.00
17 06/03/10 N 0.00
18 07/03/10 Y 12.00

My data is in rows 14 to 1000. Col A is the date the claim has been
submitted, Col P is Yes or No to whether claim has been accepted and Col U
is
the Loss value.
I have a summary table set up and am wanting to have a weekly total of the
amount payable for accepted claims. So, for week 1, if cell in Col A is
between 27/02/10 and 06/03/10 AND there is a Y in Col P, sum the value in
the
corresponding cell in column U. I can then just change the date range for
the
remaining weeks of the year and it will automtically populate once the
data
is added.

Hope this makes sense and appreciate your expert help (again!!).



.

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
Vlookup Assistance required Megan New Users to Excel 2 November 4th 08 03:46 PM
FORMULA ASSISTANCE REQUIRED Megan Excel Discussion (Misc queries) 9 April 2nd 08 06:35 PM
Assistance required Anthony Excel Discussion (Misc queries) 1 June 2nd 06 11:14 PM
Formula Assistance Required bruce2444 Excel Worksheet Functions 4 September 15th 05 05:10 AM
Formula assistance required!!! Don Excel Discussion (Misc queries) 4 February 22nd 05 08:34 PM


All times are GMT +1. The time now is 10:53 AM.

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"