#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 145
Default How do I calculate?

Hi - how do I calculate a value from one column where the value in another
column contains a certain customer name?

For example: I want to know from my spreadsheet how much $$ that customer
"BabyChime" has paid for 2006. So I want a formula that will look for each
customer and the matching dollars.

My customer names are in column D and my dollars are in column J. Does this
make sense?

I was using this but it's not working.

=SUM(--(completed!D2:D181="BabyChime"),--(completed!J2:J181="*"))

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 422
Default How do I calculate?

Try:
=Sumif(completed!D2:D181,"BabyChime",completed!J2: J181)
Or
=Sumproduct(--(completed!D2:D181,"BabyChime"),completed!J2:J181)

HTH


"Tammy" wrote in message
:

Hi - how do I calculate a value from one column where the value in another
column contains a certain customer name?

For example: I want to know from my spreadsheet how much $$ that customer
"BabyChime" has paid for 2006. So I want a formula that will look for each
customer and the matching dollars.

My customer names are in column D and my dollars are in column J. Does this
make sense?

I was using this but it's not working.

=SUM(--(completed!D2:D181="BabyChime"),--(completed!J2:J181="*"))


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 196
Default How do I calculate?

Tammy

From your description, it would appear that a SUMIF could do it:


=SUMIF(completed!D2:D181,"BabyChime",completed!J2: J181)

Best regards

Richard



Tammy wrote:
Hi - how do I calculate a value from one column where the value in another
column contains a certain customer name?

For example: I want to know from my spreadsheet how much $$ that customer
"BabyChime" has paid for 2006. So I want a formula that will look for each
customer and the matching dollars.

My customer names are in column D and my dollars are in column J. Does this
make sense?

I was using this but it's not working.

=SUM(--(completed!D2:D181="BabyChime"),--(completed!J2:J181="*"))


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 213
Default How do I calculate?

Hi - how do I calculate a value from one column where the value in
another column contains a certain customer name?

For example: I want to know from my spreadsheet how much $$ that
customer "BabyChime" has paid for 2006. So I want a formula that will
look for each customer and the matching dollars.


One way is to use SUMIF. The csv file below is an example. Adapt as
needed.

A different way is to use a pivot table report. Look up "pivot table" in
Excel's built-in Help.

------------- cut here ----------
Customer,Amount,,Customer summary,Customer Total
BabyChime,6.36,,BabyChime,"=SUMIF(A:A,D2,B:B)"
YouthDesk,13.99,,YouthDesk,"=SUMIF(A:A,D3,B:B)"
BigFolks,26.84,,BigFolks,"=SUMIF(A:A,D4,B:B)"
BabyChime,41.9,,,
BigFolks,48.79,,,
YouthDesk,42.22,,,
BabyChime,38.72,,,
BabyChime,8.28,,,
BabyChime,25.44,,,
BigFolks,49.28,,,
YouthDesk,25.86,,,
YouthDesk,27.98,,,
YouthDesk,42.59,,,
BigFolks,31.97,,,

,,=SUM(B:B),<<<< should equal ,=SUM(E2:E16)

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 145
Default How do I calculate?

thank you both.

"RichardSchollar" wrote:

Tammy

From your description, it would appear that a SUMIF could do it:


=SUMIF(completed!D2:D181,"BabyChime",completed!J2: J181)

Best regards

Richard



Tammy wrote:
Hi - how do I calculate a value from one column where the value in another
column contains a certain customer name?

For example: I want to know from my spreadsheet how much $$ that customer
"BabyChime" has paid for 2006. So I want a formula that will look for each
customer and the matching dollars.

My customer names are in column D and my dollars are in column J. Does this
make sense?

I was using this but it's not working.

=SUM(--(completed!D2:D181="BabyChime"),--(completed!J2:J181="*"))





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 268
Default How do I calculate?

Have you tried a Pivot Table?

Regards.

Bill Ridgeway
Computer Solutions

"Tammy" wrote in message
...
Hi - how do I calculate a value from one column where the value in another
column contains a certain customer name?

For example: I want to know from my spreadsheet how much $$ that customer
"BabyChime" has paid for 2006. So I want a formula that will look for
each
customer and the matching dollars.

My customer names are in column D and my dollars are in column J. Does
this
make sense?

I was using this but it's not working.

=SUM(--(completed!D2:D181="BabyChime"),--(completed!J2:J181="*"))



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
can't get excel to calculate jack Excel Worksheet Functions 1 August 29th 06 04:36 AM
any formula to auto calculate 1st-12th is 12 days pls? Kelly Lim Excel Discussion (Misc queries) 13 June 17th 06 09:25 AM
How do I get Excel to automatically calculate salaries actually received in financial year? Kei Excel Discussion (Misc queries) 0 March 3rd 06 10:26 AM
how to calculate a cube root kiran Rajguru New Users to Excel 2 November 16th 05 10:50 AM
Spreadsheet Won't Calculate Scott Excel Discussion (Misc queries) 0 September 29th 05 05:37 PM


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