Extract info based on Name

K

khers

Hello
I have two colons. Colomn A has the name of the stores I have
purchased from, and Colomn B has the ammount of money I have paid.

A B
Store 1 $ 20
Store 2 $ 3
Store 3 $ 25
Store 1 $ 83
Store 4 $ 90
Store 2 $ 18

What I need is to Sum up how much I have spent in each Store, so I
get :

Store 1 $ 113
Store 2 $ 21
Store 3 $ 25
Store 4 $90

Thanks in advance
Khers
 
T

trip_to_tokyo

Hello
I have two colons. Colomn A has the name of the stores I have
purchased from, and Colomn B has the ammount of money I have paid.

A                        B
Store 1                $ 20
Store 2                $ 3
Store 3                $ 25
Store 1                $ 83
Store 4                $ 90
Store 2                $ 18

What I need is to Sum up how much I have spent in each Store, so I
get :

Store 1               $ 113
Store 2               $ 21
Store 3               $ 25
Store 4               $90

Thanks in advance
Khers

EXCEL 2007

Assuming your stores are in column A (A1 to A6)

- and your money paid is in column B (B1 to B6)

- then:-

=SUMIF(A1:A6,"Store1",B1:B6)

Chnage the store number as required.
 
G

Gord

In C1 enter =SUMIF(A1:A6,"Store " & ROW(),B1:B6)

Drag/copy to C4

BTW Store 1 is $103


Gord Dibben Microsoft Excel MVP
 
B

Bob Flanagan

Hello
I have two colons. Colomn A has the name of the stores I have
purchased from, and Colomn B has the ammount of money I have paid.

A                        B
Store 1                $ 20
Store 2                $ 3
Store 3                $ 25
Store 1                $ 83
Store 4                $ 90
Store 2                $ 18

What I need is to Sum up how much I have spent in each Store, so I
get :

Store 1               $ 113
Store 2               $ 21
Store 3               $ 25
Store 4               $90

Thanks in advance
Khers

Try Pivot Tables. Depending on your version of Excel the way to
create varies. A quick search on the net will provide instructions.

Robert Flanagan
http://www.add-ins.com
productivity add-ins and downloadable books on VB macros for Excel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top