Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dj479794
 
Posts: n/a
Default How do I sum a column dependent on another columns text value?

if i had revenue by invoice in a column and in a second column I had the
salesperson's name that sold the order. I want to summarize all orders by
salesperson. How would I write that formula. or will I have to use a pivot
table?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bpeltzer
 
Posts: n/a
Default How do I sum a column dependent on another columns text value?

Use the sumif and countif functions: =sumif(saleperson_column,sales
person,amount_column) will total the rep's sales;
=countif(salesperson_column,sales person) will tell you how many invoices
that rep had.

"dj479794" wrote:

if i had revenue by invoice in a column and in a second column I had the
salesperson's name that sold the order. I want to summarize all orders by
salesperson. How would I write that formula. or will I have to use a pivot
table?

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
Stop excel from dropping the 0 in the beginning of a number? Rosewood Setting up and Configuration of Excel 12 April 4th 23 02:12 PM
Return SEARCHED Column Number of Numeric Label and Value Sam via OfficeKB.com Excel Worksheet Functions 23 January 30th 06 06:16 PM
how to combine several columns into a single column jims Excel Discussion (Misc queries) 9 August 15th 05 12:00 PM
Count Position of Filtered TEXT cells in a column Sam via OfficeKB.com Excel Worksheet Functions 8 May 18th 05 04:23 AM
How to convert columns of data to one column of text devlkat Excel Worksheet Functions 3 April 6th 05 04:08 PM


All times are GMT +1. The time now is 03:10 AM.

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"