+ Reply to Thread
Results 1 to 10 of 10

Calculating accurences in one column based on an accurence in another

  1. #1
    Registered User
    Join Date
    01-02-2013
    Location
    Brooklyn, NY
    MS-Off Ver
    Excel 2007
    Posts
    23

    Calculating accurences in one column based on an accurence in another

    Example: Column A in a spreadsheet has the # 8 appearing 200 times. Ctrl+F gives me the cells and the total amount of occurrences. However, I would like to find out in column B the same information on #15 but only the corresponding to the cell that contains the #8 in column A

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Calculating accurences in one column based on an accurence in another

    Hello & Welcome to the Forum,

    How about...

    =COUNTIFS(A1:A32,8,B1:B32,15)

    Adjust ranges as required
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    01-02-2013
    Location
    Brooklyn, NY
    MS-Off Ver
    Excel 2007
    Posts
    23

    Thumbs up Re: Calculating accurences in one column based on an accurence in another

    Quote Originally Posted by jeffreybrown View Post
    Hello & Welcome to the Forum,

    How about...

    =COUNTIFS(A1:A32,8,B1:B32,15)

    Adjust ranges as required
    Jeffry, Thank you very much. It works

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Calculating accurences in one column based on an accurence in another

    You are very welcome. Glad it worked out for you and thanks for the feedback.

  5. #5
    Registered User
    Join Date
    01-02-2013
    Location
    Brooklyn, NY
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Calculating accurences in one column based on an accurence in another

    Jeffrey, Instead of manually changing 15, to 16 and etc,. for results on occurrences on column B. is there a way to to automate .The 8 should remain a constant. and is it possible to find out the occurrence in column B in a range of #s,(ie: 17 to 25)

  6. #6
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,661

    Re: Calculating accurences in one column based on an accurence in another

    Just replace 15 in Jeff's with the cell which contains criteria number
    [EDIT] May be =COUNTIFS(A1:A32,8,B1:B32,">17",B1:B32,"<25")
    Quang PT

  7. #7
    Registered User
    Join Date
    01-02-2013
    Location
    Brooklyn, NY
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Calculating accurences in one column based on an accurence in another

    It works. Thank You

  8. #8
    Registered User
    Join Date
    01-02-2013
    Location
    Brooklyn, NY
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Calculating accurences in one column based on an accurence in another

    Hello
    How would I copy or transfer cell A1 ie: 1-2-3-4-5-6-7-8-9-10 into 10 separate cells in in same corresponding Row without the -(Dashes)

  9. #9
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Calculating accurences in one column based on an accurence in another

    Use text to columns with a "-" as a delimiter.

    http://support.microsoft.com/kb/214261

    Next time, please start a new thread when posing a new question.

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

    Re: Calculating accurences in one column based on an accurence in another

    Quote Originally Posted by Josh1759 View Post
    How would I copy or transfer cell A1 ie: 1-2-3-4-5-6-7-8-9-10 into 10 separate cells
    In A1 cell
    1-2-3-4-5-6-7-8-9-10

    In B1 cell
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Drag it to right...


    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

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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