Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
FPJ FPJ is offline
external usenet poster
 
Posts: 19
Default need a formula to get the total $ amount

Hi,

I have a worksheet that look like this:

A B C
1/2/2006 Vendor $150
1/5/2006 Tooling $210
1/28/2006 Vendor $60
2/12/2006 Vendor $190
2/22/2006 Tooling $200
3/14/2006 Vendor $153

I'd like to get the total $ cost of vendor in the month of Jan.
Please help on how to write the formula.

Thanks in advance.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default need a formula to get the total $ amount

=SUMPRODUCT(--(MONTH(A2:A100)="1"),--(B2:B100="Vendor"),C2:C100))

Also you may want to look at pivot tables. More info he
http://www.cpearson.com/excel/pivots.htm

Dave
--
Brevity is the soul of wit.


"FPJ" wrote:

Hi,

I have a worksheet that look like this:

A B C
1/2/2006 Vendor $150
1/5/2006 Tooling $210
1/28/2006 Vendor $60
2/12/2006 Vendor $190
2/22/2006 Tooling $200
3/14/2006 Vendor $153

I'd like to get the total $ cost of vendor in the month of Jan.
Please help on how to write the formula.

Thanks in advance.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 740
Default need a formula to get the total $ amount

it looks like something like this

considering month of Jan.
=SUMPRODUCT((MONTH(A1:A6)=1)*(B1:B6="Vendor"),C1:C 6).

change MONTH(A1:A6)=1, to suit your filter months from 1 to 12..

considering month of Jan. with specific year 2006
=SUMPRODUCT((year(A1:A6)=2006)*(MONTH(A1:A6)=1)*(B 1:B6="Vendor"),C1:C6).


--
*****
birds of the same feather flock together..



"FPJ" wrote:

Hi,

I have a worksheet that look like this:

A B C
1/2/2006 Vendor $150
1/5/2006 Tooling $210
1/28/2006 Vendor $60
2/12/2006 Vendor $190
2/22/2006 Tooling $200
3/14/2006 Vendor $153

I'd like to get the total $ cost of vendor in the month of Jan.
Please help on how to write the formula.

Thanks in advance.


  #5   Report Post  
Posted to microsoft.public.excel.misc
FPJ FPJ is offline
external usenet poster
 
Posts: 19
Default need a formula to get the total $ amount

Thanks everybody for your reply. All the formula worked and I used Don's 'cuz
it's
the formula that applies particularly to my problem. Again, thanks all.

"FPJ" wrote:

Hi,

I have a worksheet that look like this:

A B C
1/2/2006 Vendor $150
1/5/2006 Tooling $210
1/28/2006 Vendor $60
2/12/2006 Vendor $190
2/22/2006 Tooling $200
3/14/2006 Vendor $153

I'd like to get the total $ cost of vendor in the month of Jan.
Please help on how to write the formula.

Thanks in advance.




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
Mileage Claim Formula johndavies New Users to Excel 4 August 14th 06 09:24 AM
Need a formula to add the total # each time it finds a name Weasel Excel Discussion (Misc queries) 4 April 11th 06 05:06 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
formula to calculate a benefit amount pgruening Excel Discussion (Misc queries) 6 August 9th 05 06:51 PM
Total remaining formula jbsand1001 Excel Worksheet Functions 2 January 6th 05 04:17 PM


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