Results 1 to 6 of 6

Thread: Help with Excel - Multiple Criteria

  1. #1
    Registered User
    Join Date
    Apr 2009
    Posts
    4
    Thanks
    0
    Thanked
    0 times in 0 posts

    Help with Excel - Multiple Criteria

    Hi

    I am looking to count the amount of entries of peoples names in one column matched against a week ending date in another column so each week it will automatically count how many times 'Joe Bloggs' etc is entered.

    I have the names in column E and the Week Ending dates in column B.

    Any ideas?


  2. #2
    Master Browser PeteSmith's Avatar
    Join Date
    Aug 2004
    Location
    LV-426
    Posts
    661
    Thanks
    44
    Thanked
    45 times in 42 posts
    • PeteSmith's system
      • Motherboard:
      • ABIT IP35 Pro
      • CPU:
      • Q6600 G0
      • Memory:
      • 4x1GB 8500 Crucial Ballistix
      • Storage:
      • System: Crucial 128GB M4 SSD Storage: 2x500GB WD5000AAKS
      • Graphics card(s):
      • GTX 650
      • PSU:
      • Corsair HX 620
      • Case:
      • Antec P182
      • Operating System:
      • Windows 10
      • Monitor(s):
      • Dell 2407WFP-HC

    Re: Help with Excel - Multiple Criteria

    COUNTIFS formula will work:

    =COUNTIFS(B2:B7,"=12/4/9",E2:E7,"Joe Bloggs")

    Welcome to the forums.
    Main PC : Abit IP35-Pro | Q6600 G0 @ 3GHz | 4x1GB Crucial Ballistix 8500 | MSI N460 GTX HAWX | 1 x Crucial M4 128GB SSD | Antec 182 | Corsair HX620 | Dell 2407WFP-HC | Windows 10 x64
    Server : HP MicroServer N40L | 16 GB RAM | 4 X 1 GB Samsung Spinpoint F1 | ESXi 6.0 NAS : Synology DS-408 - 4 x 3GB WD RED HTPC : Acer Revo RL70 | LibreElec

  3. #3
    Registered User
    Join Date
    Apr 2009
    Posts
    4
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: Help with Excel - Multiple Criteria

    Hi thanks for your reply.

    I tried it using the countifs formula you showed me but it doesnt work. It comes up with #Name? error.

  4. #4
    Master Browser PeteSmith's Avatar
    Join Date
    Aug 2004
    Location
    LV-426
    Posts
    661
    Thanks
    44
    Thanked
    45 times in 42 posts
    • PeteSmith's system
      • Motherboard:
      • ABIT IP35 Pro
      • CPU:
      • Q6600 G0
      • Memory:
      • 4x1GB 8500 Crucial Ballistix
      • Storage:
      • System: Crucial 128GB M4 SSD Storage: 2x500GB WD5000AAKS
      • Graphics card(s):
      • GTX 650
      • PSU:
      • Corsair HX 620
      • Case:
      • Antec P182
      • Operating System:
      • Windows 10
      • Monitor(s):
      • Dell 2407WFP-HC

    Re: Help with Excel - Multiple Criteria

    The COUNTIFS formula is new, and will only work on Excel 2007. If you use a earlier version you will need to use SUM within an array. Like so:

    =SUM(($B$2:$B$7=VALUE("7/4/2009"))*($E$2:$E$7="Joe Bloggs"))

    To input as an array you must use CTRL+SHIFT+ENTER when entering the formula.
    Main PC : Abit IP35-Pro | Q6600 G0 @ 3GHz | 4x1GB Crucial Ballistix 8500 | MSI N460 GTX HAWX | 1 x Crucial M4 128GB SSD | Antec 182 | Corsair HX620 | Dell 2407WFP-HC | Windows 10 x64
    Server : HP MicroServer N40L | 16 GB RAM | 4 X 1 GB Samsung Spinpoint F1 | ESXi 6.0 NAS : Synology DS-408 - 4 x 3GB WD RED HTPC : Acer Revo RL70 | LibreElec

  5. #5
    Mostly Me Lucio's Avatar
    Join Date
    Mar 2007
    Location
    Tring
    Posts
    5,163
    Thanks
    443
    Thanked
    448 times in 351 posts
    • Lucio's system
      • Motherboard:
      • Gigabyte GA-970A-UD3P
      • CPU:
      • AMD FX-6350 with Cooler Master Seldon 240
      • Memory:
      • 2x4GB Corsair DDR3 Vengeance
      • Storage:
      • 128GB Toshiba, 2.5" SSD, 1TB WD Blue WD10EZEX, 500GB Seagate Baracuda 7200.11
      • Graphics card(s):
      • Sapphire R9 270X 4GB
      • PSU:
      • 600W Silverstone Strider SST-ST60F
      • Case:
      • Cooler Master HAF XB
      • Operating System:
      • Windows 8.1 64Bit
      • Monitor(s):
      • Samsung 2032BW, 1680 x 1050
      • Internet:
      • 16Mb Plusnet

    Re: Help with Excel - Multiple Criteria

    Personally I use trickery for things like this, and simply grab another column and put in it =B2&"X"&E2

    You can then lay out in a new spreadsheet an array with names along the top and dates down the row and use =COUNTIF(ROW&"X"&COLUMN,0)

    (\___/) (\___/) (\___/) (\___/) (\___/) (\___/) (\___/)
    (='.'=) (='.'=) (='.'=) (='.'=) (='.'=) (='.'=) (='.'=)
    (")_(") (")_(") (")_(") (")_(") (")_(") (")_(") (")_(")


    This is bunny and friends. He is fed up waiting for everyone to help him out, and decided to help himself instead!

  6. #6
    Registered User
    Join Date
    Apr 2009
    Posts
    4
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: Help with Excel - Multiple Criteria

    Hello chaps,

    Thank you for the help, i have put the codes in that you gave me and they work a treat. This forum is great!

    Rocky

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Excel Vlookup not working (sort of)
    By piggeh in forum Help! Quick Relief From Tech Headaches
    Replies: 9
    Last Post: 03-09-2010, 04:35 PM
  2. Excel Sumproduct with multiple criteria
    By PeteSmith in forum Software
    Replies: 6
    Last Post: 03-12-2008, 03:24 PM
  3. .NET Reading Multiple Excel Files
    By Shadow_101 in forum Software
    Replies: 5
    Last Post: 23-11-2007, 03:22 PM
  4. How to import multiple Excel files to Access?
    By zhenboy in forum Software
    Replies: 1
    Last Post: 11-10-2007, 03:08 PM
  5. Excel + Database + Automated
    By Kezzer in forum Software
    Replies: 4
    Last Post: 29-03-2007, 04:54 PM

Posting Permissions

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