View Single Post
  #5   Report Post  
Steved
 
Posts: n/a
Default Add seperate Items.

Thanks Jason

It's done as what you wrote.

Cheers

"Jason Morin" wrote:

Your post is a little confusing. By "adding" the products associated with a
city, do you mean count them? If so, use:

=SUM(--('Paradox-Kilometres'!$D$1:$D$4999={"99MERC-0305-3AX","00MERC-0305-3AX"})*('Paradox-Kilometres'!$E$1:$E$4999="City Depot"))

If you actually mean sum a set of numbers in another column (say col. C)
associated with specific products and cities, use:

=SUM(IF(('Paradox-Kilometres'!$D$1:$D$4999={"99MERC-0305-3AX","00MERC-0305-3AX"})*('Paradox-Kilometres'!$E$1:$E$4999="City
Depot"),'Paradox-Kilometres'!$C$1:$C$4999))

Both formulas are array-entered (press ctrl + shift + enter).

HTH
Jason
Atlanta, GA


"Steved" wrote:

Hello from Steved

In Paradox-Kilometres worksheet I've got 2 Columns

Column E I've the City ( Place )
Column D I've got the Product

=SUM(IF('Paradox-Kilometres'!$D$1:$D$4999={"99MERC-0305-3AX","00MERC-0305-3AX"},IF('Paradox-Kilometres'!$E$1:$E$4999="City
Depot",'Paradox-Kilometres'!$D$1:$D$4999,0),0))

What I am trying to do is Add the product associated with the City it Belongs

Above is my atttempt, What do I need to do please.

Thankyou