Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default Count number of 2008 invoices for customers

Have invoices and their dates and customer names.
Looking for a formula to tell me how many invoices were cut for that
customer for the year 2008
Col V is customer name: XYZ
Col U is the invoice year in a helper column: (2008)
Col F is invoice date: (6/16/08)

Above represents the format of the two date fields, Col U is just a 4
digit number.

TIA for your thoughts.
Pierre
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default Count number of 2008 invoices for customers

=SUMPRODUCT(--(V2:V500="Name"),--(YEAR(F2:F500)=2008))

or using the help column


=SUMPRODUCT(--(V2:V500="Name"),--(U2:U500=2008))


note that you need to specify a range if you use excel pre-2007


I would also suggest you put the name in a cell like this


=SUMPRODUCT(--(V2:V500=A2),--(YEAR(F2:F500)=2008))


where A2 would hold the customer's name



--


Regards,


Peo Sjoblom

"Pierre" wrote in message
...
Have invoices and their dates and customer names.
Looking for a formula to tell me how many invoices were cut for that
customer for the year 2008
Col V is customer name: XYZ
Col U is the invoice year in a helper column: (2008)
Col F is invoice date: (6/16/08)

Above represents the format of the two date fields, Col U is just a 4
digit number.

TIA for your thoughts.
Pierre



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default Count number of 2008 invoices for customers

On Sep 5, 10:18*am, Pierre wrote:
Have invoices and their dates and customer names.
Looking for a formula to tell me how many invoices were cut for that
customer for the year 2008
Col V is customer name: XYZ
Col U is the invoice year in a helper column: (2008)
Col F is invoice date: (6/16/08)

Above represents the format of the two date fields, Col U is just a 4
digit number.

TIA for your thoughts.
Pierre



Figured it out. A PT did the trick.

Thanks.
Pierre
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
number my invoices leahk Excel Worksheet Functions 1 February 8th 08 12:41 AM
how do I consecutively number invoices parkfield Excel Discussion (Misc queries) 2 December 7th 07 03:11 PM
Count invoices by day Secret Squirrel Excel Discussion (Misc queries) 17 February 4th 07 05:08 AM
AUTO NUMBER invoices Prasad Gopinath Excel Discussion (Misc queries) 1 October 28th 06 12:47 PM
top ten customers by transaction count by product Carl Excel Worksheet Functions 2 September 25th 06 09:31 PM


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