#1   Report Post  
Posted to microsoft.public.excel.misc
Wu Wu is offline
external usenet poster
 
Posts: 36
Default Big problem

I have the following data inculded Customer, Invoice no., Part no and Qty.
In Invoice, there will be same part no., How can show the same part no. in
one and the qty will be sum.

Use marco or function...............any better methods????


e.g
customer Invoice no. Part no. Qty.
KATATA HK0811-0001 RK73H2ATTD 102F / 50000
KATATA HK0811-0001 RK73H2ATTD 102F / 40000
KATATA HK0811-0001 RK73B1JTTD 204J / 30000
KATATA HK0811-0001 RK73B1JTTD 204J / 5000

(I want the following result:)

KATATA HK0811-0001 RK73H2ATTD 102F / 90000
KATATA HK0811-0001 RK73B1JTTD 204J / 35000



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 747
Default Big problem

Assume you have data in Col A - Customer
Col B - Invoice no.
Col C - Part no.
Col D - Qty.

Go to Data | filter | advance filter | action: copy to another
location | list range: A1:C5 | copy to: F1 | check unique records only
| ok |

You will find data like this
Customer Invoice no. Part no.
KATATA HK0811-0001 RK73H2ATTD 102F /
KATATA HK0811-0001 RK73B1JTTD 204J /

Now in cell I2 put this formula

=SUMIF($C$2:$C$5,H2,$D$2:$D$5) and drag it down




On Nov 16, 12:49*pm, Wu wrote:
I have the following data inculded Customer, Invoice no., Part no and Qty..
In Invoice, there will be same part no., How can show the same part no. in
one and the qty will be sum.

Use marco or function...............any better methods????

e.g
customer * *Invoice no. * * * * * * * *Part no. * * * * * * * * * * Qty.
KATATA *HK0811-0001 * * RK73H2ATTD 102F / * * * 50000
KATATA *HK0811-0001 * * RK73H2ATTD 102F / * * * 40000
KATATA *HK0811-0001 * * RK73B1JTTD 204J / * * * 30000
KATATA *HK0811-0001 * * RK73B1JTTD 204J / * * * 5000

(I want the following result:)

KATATA *HK0811-0001 * * RK73H2ATTD 102F / * * * 90000
KATATA *HK0811-0001 * * RK73B1JTTD 204J / * * * 35000


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
Started out as an Access problem. Now an Excel problem RobertM Excel Discussion (Misc queries) 2 April 26th 06 07:30 PM
problem with a conditional max problem Brian Cornejo Excel Discussion (Misc queries) 1 February 18th 05 06:25 PM


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