Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 208
Default SUMPRODUCT OR SUMIF

Want to sum by using four criterias two being numbers and two being
alphabetic all on a seperate worksheet from the one gathering the information
within a range of cells. IF A2:A4 = "111" and IF B2:B4 = "AA" and IF C2:C4 =
"999" and IF D2:D4 = "BB" THEN SUM E2:E4.

This seems complicated to me and I cannot resolve it. If anyone can help
please let me know... Thanks...
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default SUMPRODUCT OR SUMIF

=SUMPRODUCT((A2:A4="111")*(B2:B4="AA")*(C2:C4="999 ")*(D2:D4="BB")*(E2:E4)

--

Vasant

"Sean" wrote in message
...
Want to sum by using four criterias two being numbers and two being
alphabetic all on a seperate worksheet from the one gathering the

information
within a range of cells. IF A2:A4 = "111" and IF B2:B4 = "AA" and IF

C2:C4 =
"999" and IF D2:D4 = "BB" THEN SUM E2:E4.

This seems complicated to me and I cannot resolve it. If anyone can help
please let me know... Thanks...



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 227
Default SUMPRODUCT OR SUMIF

Hi Sean

One line...
=SUMPRODUCT((Sheet1!A2:A4=111)*(Sheet1!B2:B4="AA") *(Sheet1!C2:C4=999)*(Sheet1!D2:D4="BB")*Sheet1!E2: E4)

You could also put the 4 criteria into cells and reference those cells in
the formula instead....
=SUMPRODUCT((Sheet1!A2:A4=H1)*(Sheet1!B2:B4=H2)*(S heet1!C2:C4=H3)*(Sheet1!D2:D4=H4)*Sheet1!E2:E4)

--

XL2003
Regards

William



"Sean" wrote in message
...
Want to sum by using four criterias two being numbers and two being
alphabetic all on a seperate worksheet from the one gathering the
information
within a range of cells. IF A2:A4 = "111" and IF B2:B4 = "AA" and IF
C2:C4 =
"999" and IF D2:D4 = "BB" THEN SUM E2:E4.

This seems complicated to me and I cannot resolve it. If anyone can help
please let me know... Thanks...




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
SUMIF with SUMPRODUCT WildWill Excel Discussion (Misc queries) 2 September 14th 09 05:01 PM
sumproduct or sumif I need help, Thank you Eduardo Excel Discussion (Misc queries) 4 September 26th 08 02:12 PM
SumIf or SumProduct [email protected] Excel Worksheet Functions 8 February 13th 07 06:40 PM
Help for sumif / sumproduct jitu_tikili Excel Worksheet Functions 5 April 4th 06 06:59 PM
SUMIF or SUMPRODUCT or something else? || cypher || Excel Worksheet Functions 7 November 9th 04 10:45 PM


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