+ Reply to Thread
Results 1 to 12 of 12

How to count an unit by two linking cells ?

Hybrid View

  1. #1
    Registered User
    Join Date
    05-26-2014
    Posts
    7

    How to count an unit by two linking cells ?

    Would it be possible to use any format to count by letting a1&b1 be a unit?
    I wanna count how many 1-1 abc there
    Thanks!

    1-1
    abc
    1-2
    bcd
    2-2
    abc
    1-1
    abc
    1-1
    abc
    Last edited by Anderson898; 06-04-2014 at 05:30 AM.

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.85 (24051214))
    Posts
    8,818

    Re: Need an answer ASAP please!!

    you need to change the title to comply with the forums rules, and then I can help and answer the post using a countif() +countif()

    see the rules here
    http://www.excelforum.com/forum-rule...rum-rules.html

    1. Use concise, accurate thread titles. Your post title should describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change the title of the thread, click EDIT on the original post, then click the Go Advanced button, then change the title. If two or more days have passed, the EDIT button will not appear, and you need to ask a moderator to change the title.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    05-26-2014
    Posts
    7
    See is that ok to comply with the forum please
    Last edited by Anderson898; 05-26-2014 at 08:15 PM.

  4. #4
    Registered User
    Join Date
    05-26-2014
    Posts
    7
    Please help!! Deep appreciated!
    Last edited by Anderson898; 05-26-2014 at 08:20 PM. Reason: cannot delete the duplicate reply..

  5. #5
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.85 (24051214))
    Posts
    8,818

    Re: How to count an unit by two linking cells ?

    assuming in column A2

    then
    = countif(A2:A100, "1-1") + countif(A2:A100, "abc")

  6. #6
    Registered User
    Join Date
    05-26-2014
    Posts
    7

    Re: How to count an unit by two linking cells ?

    Quote Originally Posted by etaf View Post
    assuming in column A2

    then
    = countif(A2:A100, "1-1") + countif(A2:A100, "abc")
    Do u know what I mean?

  7. #7
    Registered User
    Join Date
    05-26-2014
    Posts
    7

    Re: How to count an unit by two linking cells ?

    I think I'd explain it badly.
    I mean 1-1&abc is for one person, 1-2&bcd is another.
    Number and letters are a set, and I wanna count the people who is 1-1 abc.
    Besides there's 1-1 BCD also

  8. #8
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.85 (24051214))
    Posts
    8,818

    Re: How to count an unit by two linking cells ?

    no sorry i'm not sure what you need

  9. #9
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: How to count an unit by two linking cells ?

    This type of solution might suit your needs.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

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

    Re: How to count an unit by two linking cells ?

    Try one of these...

    Data Range
    A
    B
    C
    D
    E
    1
    1-1
    1-1
    abc
    3
    2
    abc
    3
    1-2
    4
    bcd
    5
    2-2
    6
    abc
    7
    1-1
    8
    abc
    9
    1-1
    10
    abc
    11
    ------
    ------
    ------
    ------
    ------


    If you're using Excel 2007 or later:

    =COUNTIFS(A1:A9,C1,A2:A10,D1)

    This one will work in any version of Excel:

    =SUMPRODUCT(--(A1:A9=C1),--(A2:A10=D1))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  11. #11
    Registered User
    Join Date
    05-26-2014
    Posts
    7

    Re: How to count an unit by two linking cells ?

    Quote Originally Posted by Tony Valko View Post
    Try one of these...

    Data Range
    A
    B
    C
    D
    E
    1
    1-1
    1-1
    abc
    3
    2
    abc
    3
    1-2
    4
    bcd
    5
    2-2
    6
    abc
    7
    1-1
    8
    abc
    9
    1-1
    10
    abc
    11
    ------
    ------
    ------
    ------
    ------


    If you're using Excel 2007 or later:

    =COUNTIFS(A1:A9,C1,A2:A10,D1)

    This one will work in any version of Excel:

    =SUMPRODUCT(--(A1:A9=C1),--(A2:A10=D1))

    Thank you, finally got it

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

    Re: How to count an unit by two linking cells ?

    You're welcome. Thanks for the feedback!

+ 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. Need help ASAP.
    By johnwatkins35 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-18-2014, 01:22 PM
  2. Please help asap!
    By Tiffany D in forum Excel General
    Replies: 1
    Last Post: 08-06-2011, 12:31 PM
  3. Excel 2007 : need help ASAP!
    By co2o in forum Excel General
    Replies: 2
    Last Post: 11-10-2008, 04:43 AM
  4. Need help asap
    By potsie in forum Excel General
    Replies: 3
    Last Post: 04-11-2006, 04:45 AM
  5. I need help ASAP!!
    By enak in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-13-2005, 11:45 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