+ Reply to Thread
Results 1 to 14 of 14

Count Various Entires in the same Colulm

  1. #1
    Registered User
    Join Date
    04-24-2015
    Location
    Manchester, UK
    MS-Off Ver
    2010
    Posts
    21

    Count Various Entires in the same Colulm

    I need to count how many times a rep has a renewal or an additional quote

    Example - I would like to know how many renewals or additional quotes for AL

    I have a table on another tab where I will be inserting the formula to give me the totals but I cant figure out the correct formula. I know how to add to the formula to take the data from another tab and the specific column I am unsure how to select Additional or Renewal to give me the total value for both

    Example Data:
    REP Source
    AL PM
    AL Renewal
    AL PM
    AL Additional
    AL DW
    AL DW
    AL Renewal
    AL DW

    Any help is appreciated
    thanks in advance

  2. #2
    Forum Contributor
    Join Date
    08-04-2014
    Location
    Riga
    MS-Off Ver
    2010
    Posts
    579

    Re: Count Various Entires in the same Colulm

    Can you post the expected result for better understanding?

  3. #3
    Registered User
    Join Date
    04-24-2015
    Location
    Manchester, UK
    MS-Off Ver
    2010
    Posts
    21

    Re: Count Various Entires in the same Colulm

    I should show that AL has 3 additional or renewal quotes. I can work it out with a separate formula which will show renewal 2 and additional 1 but I wanted to include both in the same cell

    hope that makes sense
    thanks!

  4. #4
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Count Various Entires in the same Colulm

    Hi
    Try using SUMPRODUCT, this will work with an OR operator (+):

    Please Login or Register  to view this content.
    Here your sample data is in A2:B10.

    DBY

  5. #5
    Registered User
    Join Date
    01-13-2015
    Location
    Leicester, England
    MS-Off Ver
    2013
    Posts
    42

    Re: Count Various Entires in the same Colulm

    I am assuming you are using countifs as 2 separate formulas. You can add them in the same cell and you would get 3. Like this:

    =COUNTIFS(A:A,"AL",B:B,"Renewal")+COUNTIFS(A:A,"AL",B:B,"Additional")

    Anything that is between quotes "" can be replaced with any cell that contains the information.

    Alex

  6. #6
    Registered User
    Join Date
    04-24-2015
    Location
    Manchester, UK
    MS-Off Ver
    2010
    Posts
    21

    Re: Count Various Entires in the same Colulm

    Thank you DBY and AlexandraT - Both formulas have worked! Great help!

  7. #7
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Count Various Entires in the same Colulm

    Thank you for the rep mark.

  8. #8
    Registered User
    Join Date
    04-24-2015
    Location
    Manchester, UK
    MS-Off Ver
    2010
    Posts
    21

    Re: Count Various Entires in the same Colulm

    Can you help again please??

    Im now trying to work out the vales for the additional and renewals - I have this formula =SUMIFS('2015'!U:U,'2015'!G:G,"AL",'2015'!T:T,"Yes")*(('2015'!H:H="Additional")+('2015'!H:H="Renewal"))

    But its adding up all the values for AL when I just want the values for the additional and renewal
    '2015' is the sheet the main data is on
    U:U us the value column
    G:G is the column the sales rep is in
    H:H is if it says renewal or additional
    T:T is the column to say yes or no its been quoted

    Its saying 3 quotes which is correct but adding up all values and not just those 3

  9. #9
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Count Various Entires in the same Colulm

    Hi
    SUMIFS like COUNTIFS only works with 'And' that's why Alexandra added them to get a result. For the above try:

    Please Login or Register  to view this content.
    This once again is an 'Or' criteria. Here you are only totaling 'Additional' and 'Renewal'. It's not a good idea however, to reference entire columns, not very efficient. Try using a Table or dynamic range or one more limited as I have done.

    DBY

  10. #10
    Registered User
    Join Date
    04-24-2015
    Location
    Manchester, UK
    MS-Off Ver
    2010
    Posts
    21

    Re: Count Various Entires in the same Colulm

    Hi,

    That's great thanks, although it isn't picking up the ones just for AL - how to I insert that into the formula?

    Thanks for the info on referencing entire columns

    CM

  11. #11
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Count Various Entires in the same Colulm

    Try this amended for AL:

    Please Login or Register  to view this content.

  12. #12
    Registered User
    Join Date
    04-24-2015
    Location
    Manchester, UK
    MS-Off Ver
    2010
    Posts
    21

    Re: Count Various Entires in the same Colulm

    Absolutely perfect! Thank you so much

  13. #13
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Count Various Entires in the same Colulm

    You'r welcome. AL must be a pretty important guy!

  14. #14
    Registered User
    Join Date
    04-24-2015
    Location
    Manchester, UK
    MS-Off Ver
    2010
    Posts
    21

    Re: Count Various Entires in the same Colulm

    Ha! He's alright! I have others but I can just amend the formula now for everyone else

+ 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: 3
    Last Post: 01-29-2012, 07:22 PM
  2. Macro (remove duplicate entires)
    By mimino in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-14-2011, 01:18 PM
  3. Copy down formula - change colulm not row
    By djalexr in forum Excel General
    Replies: 4
    Last Post: 02-09-2011, 11:06 AM
  4. Modify formula to reflect unique entires
    By RodneyW in forum Excel General
    Replies: 2
    Last Post: 10-17-2010, 03:28 AM
  5. Comparing to Ranges and delete the same entires
    By BigDubbe in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-10-2008, 02:53 PM
  6. Count unique data entires
    By sgoldbe2 in forum Excel General
    Replies: 2
    Last Post: 03-11-2008, 09:51 AM
  7. Using a combo box to select multiple entires
    By KatieJane in forum Excel General
    Replies: 7
    Last Post: 04-01-2007, 08:44 PM
  8. [SOLVED] How can I check if any of the entires is True in a range?
    By Tetsuya Oguma in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-15-2006, 10:40 PM

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