Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default a formula to search for names in columns and then add the figures

I need a formula to search for names in columns and then add the figures that
are in a different column, so for example i have names in one column and then
need to find each name and add the dollar amounts that are listed in another
column...
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,365
Default a formula to search for names in columns and then add the figures

Easiest way is with SUMIF(). See Excel Help for it for the details.
Basically, identify the cells with names as the first parameter, a cell where
you will enter one of the names (or an actual name), as the second parameter
and the cells with the numbers to be added as the 3rd parameter.

Assume list of names in cells A1, A2, A3, A4, A5 and A6 with some associated
numbers in column B on the same rows, and that you can enter any one of the
names into C1. This formula would give you total of numbers for the name
entered in C1:
=SUMIF(A1:A6,C1,B1:B6)


"Vercingetorix.I" wrote:

I need a formula to search for names in columns and then add the figures that
are in a different column, so for example i have names in one column and then
need to find each name and add the dollar amounts that are listed in another
column...

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 793
Default a formula to search for names in columns and then add the figures

You can do this using PIVOT Table.

In Excel 2007
Insert- Pivot Table
Select the cells containing your data,

click on name and dollar amount fields (first row should contain the lables,
say Name & Amount.
Move Amount to Sum (Sigma symbol) field and in the drop down change field
property to Sum

"Vercingetorix.I" wrote:

I need a formula to search for names in columns and then add the figures that
are in a different column, so for example i have names in one column and then
need to find each name and add the dollar amounts that are listed in another
column...

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default a formula to search for names in columns and then add the figures

Thank you, I am going over this site and it is great, I didnt expect to get
an answer so quickly either...

"Vercingetorix.I" wrote:

I need a formula to search for names in columns and then add the figures that
are in a different column, so for example i have names in one column and then
need to find each name and add the dollar amounts that are listed in another
column...

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 793
Default a formula to search for names in columns and then add the figu

Glad we could help you.

JLatham's solution is easier and more elegant.
You do need to learn about PIVOT tables... it will save you lot of grief.
Try to master VLOOKUP also.



"Vercingetorix.I" wrote:

Thank you, I am going over this site and it is great, I didnt expect to get
an answer so quickly either...

"Vercingetorix.I" wrote:

I need a formula to search for names in columns and then add the figures that
are in a different column, so for example i have names in one column and then
need to find each name and add the dollar amounts that are listed in another
column...



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default a formula to search for names in columns and then add the figu

Thank you Sheloo, I will do as you advise

"Sheeloo" wrote:

Glad we could help you.

JLatham's solution is easier and more elegant.
You do need to learn about PIVOT tables... it will save you lot of grief.
Try to master VLOOKUP also.



"Vercingetorix.I" wrote:

Thank you, I am going over this site and it is great, I didnt expect to get
an answer so quickly either...

"Vercingetorix.I" wrote:

I need a formula to search for names in columns and then add the figures that
are in a different column, so for example i have names in one column and then
need to find each name and add the dollar amounts that are listed in another
column...

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
Comparing figures across 2 columns. bollard Excel Worksheet Functions 7 November 7th 07 12:47 PM
Need Excel formula to separate names into columns, with exceptions intuishawn Excel Discussion (Misc queries) 4 August 27th 07 04:31 PM
Have 2 columns of names - need to filter out names not duplicated Jill Excel Worksheet Functions 6 January 20th 06 08:01 PM
Help with a formula for concatenate and search/find with 3 columns Mel Excel Worksheet Functions 4 March 7th 05 09:12 PM
How can I find the common names in two columns of names? hako Excel Discussion (Misc queries) 2 December 8th 04 01:59 AM


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