Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default Pulling names from a list

If I have a list of products. The headings are as followed

Product #

Buick 4
Ford 3
Buick 2
Ford 6
Chevy 9

I need a formula and I can't change the order of the list to add up how many
buicks ,fords, and chevys and put the sum in a particular cell. HELP
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Pulling names from a list

If I understand...

=SUMIF(A1:A5,"Chevy",B1:B5)
=SUMIF(A1:A5,"Ford",B1:B5)
=SUMIF(A1:A5,"Buick",B1:B5)

Better to use cells to hold the criteria:

D1:D3 = Chevy, Ford, Buick

Then, in E1 and copied down to E3:

=SUMIF(A$1:A$5,D1,B$1:B$5)

--
Biff
Microsoft Excel MVP


" wrote
in message ...
If I have a list of products. The headings are as followed

Product #

Buick 4
Ford 3
Buick 2
Ford 6
Chevy 9

I need a formula and I can't change the order of the list to add up how
many
buicks ,fords, and chevys and put the sum in a particular cell. HELP



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 37
Default Pulling names from a list

Exactly what I was trying to say, just a little more concise.

"T. Valko" wrote:

If I understand...

=SUMIF(A1:A5,"Chevy",B1:B5)
=SUMIF(A1:A5,"Ford",B1:B5)
=SUMIF(A1:A5,"Buick",B1:B5)

Better to use cells to hold the criteria:

D1:D3 = Chevy, Ford, Buick

Then, in E1 and copied down to E3:

=SUMIF(A$1:A$5,D1,B$1:B$5)

--
Biff
Microsoft Excel MVP


" wrote
in message ...
If I have a list of products. The headings are as followed

Product #

Buick 4
Ford 3
Buick 2
Ford 6
Chevy 9

I need a formula and I can't change the order of the list to add up how
many
buicks ,fords, and chevys and put the sum in a particular cell. HELP




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 37
Default Pulling names from a list

=SUMIF($D$4:$E$8,"Buick",$E$4:$E$8)

Where d4:e8 is the entire selection and e4:e8 is the #. "Buick" is the car
that will be totaled. :) Hope they had insurance.

Anyhow, the absolutes are so that you can create the formula once and then
fill it to however many different car types you have and just modify the
criteria to the other car.

An even better way:

Buick 6.00

Buick 4.00
Ford 3.00
Buick 2.00
Ford 6.00
Chevy 9.00

The formula in the cell with 6.0 (or D2) is =SUMIF($D$4:$E$8,C2,$E$4:$E$8)

" wrote:

If I have a list of products. The headings are as followed

Product #

Buick 4
Ford 3
Buick 2
Ford 6
Chevy 9

I need a formula and I can't change the order of the list to add up how many
buicks ,fords, and chevys and put the sum in a particular cell. HELP

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
Sorting and matching rows of names with Socials with master list and eliminating the extra names Giacomo Excel Worksheet Functions 1 March 10th 07 01:52 AM
create a random list of names from a list of names in EXCEL Givvie Excel Worksheet Functions 2 October 23rd 06 05:10 AM
Pulling a Summary List from a Larger List Stephen - Dallas Excel Discussion (Misc queries) 2 May 3rd 06 02:51 PM
filter 400 names from list 1 from list 2 with 4000 names Ed Excel Worksheet Functions 2 September 4th 05 03:41 PM
find names on list 1 in list 2. list 1 4000 names list 2 400 name Ed Excel Worksheet Functions 1 September 4th 05 12:48 AM


All times are GMT +1. The time now is 06:42 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"