Remember Me?

#1
December 12th 05, 09:06 PM posted to microsoft.public.excel.worksheet.functions
 mike camburn Posts: n/a
Summing values if conditions are true

Hello, I am fairly new to advanced excel functions. I have a question that
may require multiple steps. I will describe my issue as simply as I can.

In cell E1, I need to SUM the values in column D if columns A, B, & C all
meet specific criteria.

For Example: IF A3=2006, B3=3, & C3=1, THEN D3 should be added to E1.
If any one of the three criteria is not true then D3 should not get added to
E1.

Thanks to everyone who contributes to this site. It has been very helpful.
-Mike

#2
December 12th 05, 09:17 PM posted to microsoft.public.excel.worksheet.functions
 KL Posts: n/a
Summing values if conditions are true

#3
December 12th 05, 09:38 PM posted to microsoft.public.excel.worksheet.functions
 Ragdyer Posts: n/a
Summing values if conditions are true

To simplify your criteria choices, how about entering them at the top of
their respective columns instead of "hard-coding" them in the formula.
This makes changing them easier then having to revise the formula itself,
plus it helps with equalizing the data formats, since I'll assume that
"2006" is a date.

Try something like this:

=SUMPRODUCT((TEXT(A3:A100,"yyyy")=TEXT(A1,"yyyy")) *(B3:B100=B1)*(C3:C100=C1)*D3100)

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"mike camburn" <mike wrote in message
...
Hello, I am fairly new to advanced excel functions. I have a question that
may require multiple steps. I will describe my issue as simply as I can.

In cell E1, I need to SUM the values in column D if columns A, B, & C all
meet specific criteria.

For Example: IF A3=2006, B3=3, & C3=1, THEN D3 should be added to E1.
If any one of the three criteria is not true then D3 should not get added
to
E1.

Thanks to everyone who contributes to this site. It has been very helpful.
-Mike

 Posting Rules Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On

 Similar Threads Thread Thread Starter Forum Replies Last Post Thrava Excel Worksheet Functions 2 July 21st 05 01:56 AM qflyer Excel Worksheet Functions 3 June 27th 05 06:29 AM Peggy Excel Discussion (Misc queries) 4 June 22nd 05 06:48 PM Lee Excel Discussion (Misc queries) 8 February 9th 05 11:45 AM Harlan Grove Excel Discussion (Misc queries) 0 November 26th 04 07:38 PM

All times are GMT +1. The time now is 03:30 AM.