Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Steved
 
Posts: n/a
Default Add seperate Items.

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


  #2   Report Post  
Steved
 
Posts: n/a
Default Add seperate Items.

Hello from Steved

Below is giving me 16 but there is only 8.

=SUMPRODUCT(--('Paradox-Kilometres'!$E$1:$E$4999="City
Depot"),--(TRIM('Paradox-Kilometres'!$D$1:$D$4999)="99MERC-0305-3AX"))

Is their another formula I could use, that will give me the desired result.

City Depot is in Column E
99MERC-0305-3AX is in column D
How many 99MERC-0305-3AX are there in Column D Totalling City Depot in
Column E

Thankyou.



"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


  #3   Report Post  
Jason Morin
 
Posts: n/a
Default Add seperate Items.

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


  #4   Report Post  
Steved
 
Posts: n/a
Default Add seperate Items.

Hello From Steved

I'm trying to find how many off the below in column D, With the place names
in Column E ie City, Roskill etc. so in the 99MERC-0305-3AX, 00MERC-0305-3AX
is found 8 times, in City, 12 in Roskill.
99MERC-0305-3AX
99MERC-0305-3AX

"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


  #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


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
Pivot Table - untick all items in row field DD1 Excel Discussion (Misc queries) 6 May 3rd 06 07:17 PM
multiple items in database Peter Excel Worksheet Functions 2 June 15th 05 08:19 PM
Computing totals for tax and non-tax items Dan Wilson Excel Worksheet Functions 2 March 31st 05 01:05 AM
how do i seperate data from one column into two seperate ones in . Nikki Excel Discussion (Misc queries) 2 March 30th 05 08:31 PM
Can't group pivot table items by month in Excel scott_ensley Excel Discussion (Misc queries) 1 February 1st 05 08:41 PM


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