+ Reply to Thread
Results 1 to 6 of 6

Formula for Counting Multiple Ranges and Multiple Criteria

  1. #1
    Registered User
    Join Date
    04-19-2013
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    48

    Formula for Counting Multiple Ranges and Multiple Criteria

    Hi guys,

    This is going to be a stupid question I know, but I cannot seem to figure out what should be (I'm sure) a basic formula.

    I have a workbook and in column A is a list of dates certain orders were placed. In column B is the name of the person who took the order, i.e.

    A B
    1 28/10 John
    2 28/10 John
    3 28/10 Paul
    4 28/10 John
    5 28/10 Paul
    6 29/10 John
    7 29/10 John
    8 29/10 Paul and so on...

    I need to be able to count the number of times both John and Paul took orders on the particular date so that I have figures like this:

    28/10
    John 3
    Paul 2

    29/10
    John 2
    Paul 1

    Etc.

    Please help!

    Thanks

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Formula for Counting Multiple Ranges and Multiple Criteria

    Use Pivot Table


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Formula for Counting Multiple Ranges and Multiple Criteria

    Hi,

    Alternative , but lengthy process when compared to pivot table

    Punam
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    04-19-2013
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    48

    Re: Formula for Counting Multiple Ranges and Multiple Criteria

    Hi Punam,

    Thanks, but I've copied your formula into my S/S and amended the column/row references slightly and all I get is #NAME?

  5. #5
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Formula for Counting Multiple Ranges and Multiple Criteria

    Name error comes if your not typing the function name properly for example

    1) In stead of Index inde , Match - match or some thing like that
    2) After the changes you have to use Ctrl+Shift+Enter instead of just Enter as it is array function
    3) Latest Observation excel version, Iferror function will not work in excel 2003 , i am sorry for that
    Punnam

  6. #6
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: Formula for Counting Multiple Ranges and Multiple Criteria

    Hi

    you on 2003 you can use sumproduct instead countifs as this from 2007-2013

    base on Punnam
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Use this
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    copy cross and down.

    Regard
    To help you by my post? it would be nice to click on to say "Thank you".
    If you are happy with a solution to your problem?
    Click Thread Tools above your first post,
    select "Mark your thread as Solved".

+ 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. Replies: 12
    Last Post: 02-10-2014, 11:59 AM
  2. Excel 2007 : Index, Match, Large Formula: Multiple Criteria, Multiple Ranges
    By SimpleJack in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-19-2013, 08:54 AM
  3. Complex counting with multiple criteria and ranges
    By Tecnik in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-20-2013, 07:48 AM
  4. Counting with Multiple Criteria (including Date Ranges and Text)
    By GABBA in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-05-2013, 02:56 PM
  5. Replies: 2
    Last Post: 09-21-2011, 04:19 PM

Tags for this Thread

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