+ Reply to Thread
Results 1 to 6 of 6

Count one piece of data but only if a second criteria is met

  1. #1
    Registered User
    Join Date
    02-01-2014
    Location
    Edinbirgh
    MS-Off Ver
    Excel 2003
    Posts
    2

    Unhappy Count one piece of data but only if a second criteria is met

    Hello,

    Sorry if this has been posted before.

    I'm looking for a formula that shows one piece of data but only if another criteria is met. Eg Column A1:A:100 show a piece of paperwork has been issued and column E1:E100 show the area that it's been issued to (North, South, East, Central)

    I have a blank work sheet showing various % of things being late as a whole but also want to break this down into the four areas.

    This is probably really simple but I've tried everything!

    Thanks,
    Craig

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Count one piece of data but only if a second criteria is met

    Impossible to help you.

    Post your spreadsheet.

  3. #3
    Valued Forum Contributor
    Join Date
    03-17-2007
    Location
    Michigan
    MS-Off Ver
    Excel 2021
    Posts
    974

    Re: Count one piece of data but only if a second criteria is met

    Try something like: =COUNTIFS(A:A,"issued",E:E,"north")

  4. #4
    Registered User
    Join Date
    02-01-2014
    Location
    Edinbirgh
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Count one piece of data but only if a second criteria is met

    This is great thanks! I've been playing around with the COUNTIFS function based on your formula above and it worked! =COUNTIFS('E DIV'!H3:H114,"*",'E DIV'!R3:R114,"north")

    My Next issue is that it works on mu excel but the office only has excel 2000 and COUNTIFS doesn't work! Any suggestions as what to use in its place?

  5. #5
    Valued Forum Contributor
    Join Date
    03-17-2007
    Location
    Michigan
    MS-Off Ver
    Excel 2021
    Posts
    974

    Re: Count one piece of data but only if a second criteria is met

    Hi rodgie58,

    Would something like this work?
    Please Login or Register  to view this content.
    or your formula:
    Please Login or Register  to view this content.
    Last edited by lilsnoop; 02-09-2014 at 09:29 PM.

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Count one piece of data but only if a second criteria is met

    Quote Originally Posted by rodgie58 View Post
    =COUNTIFS('E DIV'!H3:H114,"*",'E DIV'!R3:R114,"north")

    My Next issue is that it works on mu excel but the office only has excel 2000 and COUNTIFS doesn't work! Any suggestions as what to use in its place?
    Maybe this...

    =SUMPRODUCT(--('E DIV'!H3:H114<>""),--('E DIV'!R3:R114="north"))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. Pair two weights together along with their piece count
    By jameseps in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-15-2012, 10:53 AM
  2. How do you VLOOKUP() a TRIM()'ed piece of data?
    By Pyrex238 in forum Excel General
    Replies: 2
    Last Post: 02-20-2012, 11:50 PM
  3. emailing a specific piece of data
    By rbasset in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-15-2011, 05:55 PM
  4. Extracting Specific Piece of Data From Web
    By AdamMurray in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-20-2009, 11:10 PM
  5. [SOLVED] Run piece of code for each line of data
    By Diane Alsing in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-18-2005, 10:06 AM

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