+ Reply to Thread
Results 1 to 9 of 9

Invoice count per head per month extract

  1. #1
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Invoice count per head per month extract

    Raw data on sheet 1

    Kindly note I don't want it to count the credit notes ,
    only invoices

    Nor I want a pivot , I am looking for formula or macro

    You will definitely need a helper to convert date into
    month i guess
    Attached Files Attached Files

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Invoice count per head per month extract

    In B2

    =SUMPRODUCT((mak1!$G$2:$G$31=$A2)*(TEXT(mak1!$C$2:$C$31,"mmm")=B$1)*(mak1!$D$2:$D$31="Invoice"))

    Copy down and across
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Invoice count per head per month extract

    ACE_XL you are really and ACE ,
    you did not even even use helper

  4. #4
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Invoice count per head per month extract

    Imagine the results of 10,000 row , wow

  5. #5
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Invoice count per head per month extract

    Use

    =SUMPRODUCT(--(mak1!$D$2:$D$31="Invoice"),--(TEXT(mak1!$C$2:$C$31,"mmm")=B$1),--(mak1!$G$2:$G$31=$A2))


    and copy down and across

  6. #6
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Invoice count per head per month extract

    Its slow at 25000 rows of data

    Some who can assist with a macro ,
    I have collect the formula for smaller
    range say 2500 rows

  7. #7
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Cool Re: Invoice count per head per month extract

    Here is any another alternative..
    Using an helper column with COUNTIFS will be fastest..
    Put this in Column I of sheet1 and drag down ( as Helper column )
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Now in sheet2
    Put
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Drag horizontally and vertically..
    NOTES:-
    COUNTIFS are very much efficient in handling blanks cells..


    Regards,
    Regards,
    Vikas Gautam
    Excel-buzz.blogspot.com

    Excel is not a matter of Experience, its a matter of Application.

    Say Thanks, Click * Add Reputation

  8. #8
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Invoice count per head per month extract

    Since, all your invoice values come under dr side, can we use sumifs whichever is lower than 0,

    Please confirm do you have any value in credit side apart from credit note (like sales return..)

    If no value comes under credit side apart from credit note we can reduce few criteria
    Click just below left if it helps, Boo?ath?

  9. #9
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Invoice count per head per month extract

    VIKAS your helper case is kill , it did 20,000 rows at less than 5 seconds

    I have written in my diary about HELPER , they really do the magic

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Save invoice to folder by month and then save file by date and invoice
    By Val777 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-03-2013, 02:57 AM
  2. Calculate average of last two outcomes of last two head-to-head clashes
    By wishkey in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-07-2013, 08:17 AM
  3. Formula for Changes in Head Count
    By bbarnett in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-30-2012, 12:41 PM
  4. Head Count by criteria
    By eshen in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 05-12-2010, 11:40 AM
  5. head count on rota
    By nick in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-09-2005, 04:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1