+ Reply to Thread
Results 1 to 5 of 5

Formula to count occurances and put multiple results in same cell

  1. #1
    Registered User
    Join Date
    06-22-2011
    Location
    Kansas City, MO
    MS-Off Ver
    Excel 2007
    Posts
    18

    Formula to count occurances and put multiple results in same cell

    Hope I explain this correctly..

    I need to provide a count of occurrences for multiple items and place the results in 1 cell.
    ie; #of high, medium, low occurrences for a product. where the results would be presented in single cell as 1H, 2M etc..

    Attached is sample spread sheet. to provide a better example.

    columns A, B, C would be the input
    Columns G and H are the results and how i need to present them.

    Hope this is possible..

    Thanks,
    Steve B
    Attached Files Attached Files
    Last edited by Stevejb; 09-06-2017 at 12:41 PM. Reason: grammar

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Formula to count occurances and put multiple results in same cell

    With a pivot table.

    and after that collect the data in 1 cell.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Formula to count occurances and put multiple results in same cell

    With a formula in H3 copy down:
    =(IF(COUNTIFS($B$3:$B$9,G3,$C$3:$C$9,"High")>0,COUNTIFS($B$3:$B$9,G3,$C$3:$C$9,"High")&"H ",""))&(IF(COUNTIFS($B$3:$B$9,G3,$C$3:$C$9,"Medium")>0,COUNTIFS($B$3:$B$9,G3,$C$3:$C$9,"Medium")&"M ",""))&(IF(COUNTIFS($B$3:$B$9,G3,$C$3:$C$9,"Low")>0,COUNTIFS($B$3:$B$9,G3,$C$3:$C$9,"Low")&"L",""))
    Attached Files Attached Files
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  4. #4
    Registered User
    Join Date
    06-22-2011
    Location
    Kansas City, MO
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Formula to count occurances and put multiple results in same cell

    Man.. You guys are GOOD! Thanks!

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Formula to count occurances and put multiple results in same cell

    You're welcome. We appreciate the feedback!

    Thanks for marking the question solved.

    It'd also be appreciated if you were to click the add Reputation button at the foot of any of the posts of those who helped you reach a solution.

+ 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. 90 day rolling formula to count occurances.
    By alaz88 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 11-28-2023, 02:35 PM
  2. [SOLVED] Count unique occurances formula
    By lreed in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-21-2017, 07:29 PM
  3. Replies: 5
    Last Post: 05-11-2012, 03:38 AM
  4. Replies: 0
    Last Post: 02-02-2012, 05:38 PM
  5. Count occurances of multiple arguments
    By TARS1 in forum Excel General
    Replies: 7
    Last Post: 07-19-2006, 12:13 PM
  6. [SOLVED] Count multiple occurances in a column
    By DTTODGG in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-15-2005, 02:00 PM
  7. [SOLVED] Count occurances of multiple values
    By BaseballFan in forum Excel Formulas & Functions
    Replies: 2
    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