Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
chevyman
 
Posts: n/a
Default Formula help in a monthly sales report.

Please assist with a SUM function in Excel 2003. I need to add numbers from
4 of 8 columns (sales dollar amounts - the other columns are counts) IF the
text in the row = a certain value (sales agent name). There are over 200
rows (by sales agent) in the worksheet. Then I need to total all of the
sales agents dollars in the report.

SAMPLE: columns seperated by commas to illustrate
Brown, $300, 5,$200, 1
Smith, $250, 3, $100, 1
Brown, $200, 4, $250, 2
Jones, $550, 6, $500, 4
Jones, $600, 4, $450, 5

Formula need to produce:
Brown, $950
Jones, $2100
Smith, $350
  #2   Report Post  
Sandy Mann
 
Posts: n/a
Default

chevyman,

Try:

=SUMIF(A2:A6,"Brown",B2:B6)+SUMIF(A2:A6,"Brown",D2 :D6)
=SUMIF(A2:A6,"Jones",B2:B6)+SUMIF(A2:A6,"Jones",D2 :D6)
=SUMIF(A2:A6,"Smith",B2:B6)+SUMIF(A2:A6,"Smith",D2 :D6)

although it would be better if your data was re-arranged so that all the
dollar amounts were in contiguous columns.


HTH

Sandy
--
to e-mail direct replace @mailinator.com with @tiscali.co.uk


"chevyman" wrote in message
...
Please assist with a SUM function in Excel 2003. I need to add numbers

from
4 of 8 columns (sales dollar amounts - the other columns are counts) IF

the
text in the row = a certain value (sales agent name). There are over 200
rows (by sales agent) in the worksheet. Then I need to total all of the
sales agents dollars in the report.

SAMPLE: columns seperated by commas to illustrate
Brown, $300, 5,$200, 1
Smith, $250, 3, $100, 1
Brown, $200, 4, $250, 2
Jones, $550, 6, $500, 4
Jones, $600, 4, $450, 5

Formula need to produce:
Brown, $950
Jones, $2100
Smith, $350



  #3   Report Post  
Ola
 
Posts: n/a
Default

Or...
=SUMPRODUCT((A2:A6="Brown")*(B2:B6+D2:D6))

Ola Sandstrom

  #4   Report Post  
chevyman
 
Posts: n/a
Default



"Sandy Mann" wrote:

chevyman,

Try:

=SUMIF(A2:A6,"Brown",B2:B6)+SUMIF(A2:A6,"Brown",D2 :D6)
=SUMIF(A2:A6,"Jones",B2:B6)+SUMIF(A2:A6,"Jones",D2 :D6)
=SUMIF(A2:A6,"Smith",B2:B6)+SUMIF(A2:A6,"Smith",D2 :D6)

although it would be better if your data was re-arranged so that all the
dollar amounts were in contiguous columns.


HTH

Sandy
--
to e-mail direct replace @mailinator.com with @tiscali.co.uk


"chevyman" wrote in message
...
Please assist with a SUM function in Excel 2003. I need to add numbers

from
4 of 8 columns (sales dollar amounts - the other columns are counts) IF

the
text in the row = a certain value (sales agent name). There are over 200
rows (by sales agent) in the worksheet. Then I need to total all of the
sales agents dollars in the report.

SAMPLE: columns seperated by commas to illustrate
Brown, $300, 5,$200, 1
Smith, $250, 3, $100, 1
Brown, $200, 4, $250, 2
Jones, $550, 6, $500, 4
Jones, $600, 4, $450, 5

Formula need to produce:
Brown, $950
Jones, $2100
Smith, $350



THANK YOU!!

  #5   Report Post  
chevyman
 
Posts: n/a
Default



"Ola" wrote:

Or...
=SUMPRODUCT((A2:A6="Brown")*(B2:B6+D2:D6))

Ola Sandstrom
THANK YOU!

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
Auto fill of formula ksr Excel Worksheet Functions 7 June 6th 06 05:46 PM
formula to calculate sales tax from total sales Deanna Excel Worksheet Functions 7 October 5th 05 08:57 PM
EXCEL WOULD LIKE TO KNOW HOW TO LINK INVOICES TO A SALES REPORT NICK MALEK Excel Discussion (Misc queries) 1 January 22nd 05 05:07 PM
looking for a formula Amanda Excel Worksheet Functions 5 January 5th 05 07:37 AM
What formula can you use to compound monthly returns? Legan002 Excel Worksheet Functions 1 November 18th 04 06:47 PM


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