+ Reply to Thread
Results 1 to 13 of 13

Most Occuring Item based off other cell equal cirteria

  1. #1
    Registered User
    Join Date
    06-28-2013
    Location
    Nebraska
    MS-Off Ver
    Excel 2007
    Posts
    8

    Most Occuring Item based off other cell equal cirteria

    Need help on this formula. Need cell I21 to find the most occuring issue if "'1st QRT Weld'!A2:50" equals "F21". Cell that the issues are in are on "1st QRT Weld'!F2:F50"

    This is the formula that i have to find the most occuring in cell "1st QRT Weld'!E2:50"

    =INDEX('1st QTR Weld'!F2:F50,MATCH(MAX(COUNTIF('1st QTR Weld'!F2:F50,'1st QTR Weld'!F2:F50)),COUNTIF('1st QTR Weld'!F2:F50,'1st QTR Weld'!F2:F50),0))) (Array Formula)

    But need it to only find the most occuring issue if '1st QRT Weld'!A2:50" equals "F21".

    This is what i tryed but coming up "0"

    =COUNTIF('1st QTR Weld'!C:C,'1st QTR DATA'!F21INDEX('1st QTR Weld'!E2:E50,MATCH(MAX(COUNTIF('1st QTR Weld'!E2:E50,'1st QTR Weld'!E2:E50)),COUNTIF('1st QTR Weld'!E2:E50,'1st QTR Weld'!E2:E50),0)))

    Any suggenstions

    Thank you

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

    Re: Most Occuring Item based off other cell equal cirteria

    untested

    =max(countif('1st QRT Weld'!$A$2:$A$50,$F$21)
    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
    Registered User
    Join Date
    06-28-2013
    Location
    Nebraska
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Most Occuring Item based off other cell equal cirteria

    That only gives me the number of times "F21" appears within '1st QRT Weld'!A2:50" Which is 2 times. Within that i would like to see what is the most occuring issue in '1st QTR Weld'!F2:F50

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

    Re: Most Occuring Item based off other cell equal cirteria

    I suggest you upload an excel file,wihou confidential information.

  5. #5
    Registered User
    Join Date
    06-28-2013
    Location
    Nebraska
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Most Occuring Item based off other cell equal cirteria

    Here is a example of the spreadsheet all data need is showing. If question just ask

    Thank you
    Attached Files Attached Files

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

    Re: Most Occuring Item based off other cell equal cirteria

    I17 =
    Please Login or Register  to view this content.
    please reply.

  7. #7
    Registered User
    Join Date
    06-28-2013
    Location
    Nebraska
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Most Occuring Item based off other cell equal cirteria

    I might not have been clear on what I was looking for. The suggestion givin is already what i have under Total Defect in the example spread sheet. In the yellow cell i want, out of the two(2) defects what was the item that occured the most. These items are located on 1st QRT WEld tab in the " F" column.
    Attached Files Attached Files

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

    Re: Most Occuring Item based off other cell equal cirteria

    I can show the data with an pivot table.



    But this not quite what you ask.

    See the attached file. (it was the same file, I already aded).

    I lost the new file. => maybe tomorrow
    Last edited by oeldere; 06-30-2014 at 03:53 PM.

  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: Most Occuring Item based off other cell equal cirteria

    I have used helper columns to help with the calculations. I have labelled them Helper 1, Helper 2 and Helper.

    This solution first of all finds the max count for each model/defect. Then this count is combined with the model and this is used on the 1st QTR DATA to extract the defect ID with the max count for each model.
    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
    Registered User
    Join Date
    06-28-2013
    Location
    Nebraska
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Most Occuring Item based off other cell equal cirteria

    Your helpers work but i need to have everything popualted one the 1st QRT WEld come to me. The helpers wouldnt be able to be in that spreadsheet. Thank you

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

    Re: Most Occuring Item based off other cell equal cirteria

    Here is a version that eliminates the helper columns from 1st QTR WELD:
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    06-28-2013
    Location
    Nebraska
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Most Occuring Item based off other cell equal cirteria

    Newdoverman thank you for the help i never thought of doing it that way.

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

    Re: Most Occuring Item based off other cell equal cirteria

    Thank you for the feedback. If the table produced on 1st QTR DATA is in the way, select the whole table and drag it as far to the right as you like.

+ 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. Automatically Input Cost of Item Based on Item Name?
    By boba7523 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-05-2014, 01:44 AM
  2. Cell is equal to a value based on two other conditions
    By johnblackman73 in forum Excel General
    Replies: 2
    Last Post: 08-25-2011, 03:29 AM
  3. Taking the next item in a list into 1 of 2 tables based on the previous item time
    By SoleAris in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-07-2011, 04:59 PM
  4. Replies: 2
    Last Post: 09-15-2010, 11:59 AM
  5. Countif Multiple Cirteria
    By Danielle 76 in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 09-06-2005, 07:05 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