Array help needed (sumproduct)

dawnfoss

Board Regular
Joined
Apr 22, 2002
Messages
100
I'm working with bowling hoakie ( i think thats his screen name) and he posed the following question and the answers to his post follow as well.

The problem we are having is that columns a and b are taken from someone elses database and i think there must be hidden spaces before or after the numbers or letters because the formulas aren't working for us.

Can someone help:

The original question follows:

If i have 3 entries with florida and 2 of them are the same que number (#77), i need to get a total of all of the production for the specific que number and Florida.

Que District Production
Number Name Vol
77 Florida 1
201 Golden Gate 8
201 Florida 9
77 S California 4
77 Florida 2
77 Golden Gate 8


In this case it will be 3

Can someone please help me

Thanx

--------------------------------------------------------------------------------

Albert 1
Board Regular

Joined: Feb 23, 2002
Posts: 38 Posted: 2002-06-24 08:16
--------------------------------------------------------------------------------
=SUMPRODUCT((A1:A6=77)*(B1:B6="florida")*(C1:C6))


--------------------------------------------------------------------------------

Brian from Maui
Board Master

Joined: Feb 17, 2002
Posts: 367 Posted: 2002-06-24 08:25
--------------------------------------------------------------------------------
=sumproduct((a1:a6=c1)*(b1:b6=d1))

where C1 houses 77 and D1 houses Florida

--------------------------------------------------------------------------------

Bowlnhokie
Welcome to the Board

Joined: Apr 24, 2002
Posts: 5 Posted: 2002-06-24 09:01
--------------------------------------------------------------------------------
Thanx

--------------------------------------------------------------------------------
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Dawn,

1. =SUMPRODUCT(($A$3:$A$8+0=F$2)*($B$3:$B$8=$E3)*($C$3:$C$8))

2. =SUMPRODUCT(($A$3:$A$8=F$2)*(TRIM($B$3:$B$8)=$E3)*($C$3:$C$8))

3. =SUMPRODUCT(($A$3:$A$8+0=F$2)*(TRIM($B$3:$B$8)=$E3)*($C$3:$C$8))

to discover which field(s) are problematic.

Note that E3 houses 'Florida' in the above formula and F2 the number 77.

Aladin
 
Upvote 0

Forum statistics

Threads
1,213,494
Messages
6,113,981
Members
448,538
Latest member
alex78

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top