+ Reply to Thread
Results 1 to 4 of 4

Excel formula - need assistance with challenging formula or table

  1. #1
    Registered User
    Join Date
    05-04-2017
    Location
    PA US
    MS-Off Ver
    excel 2016
    Posts
    3

    Excel formula - need assistance with challenging formula or table

    Computer system generates a spreadsheet and I am trying to pull together metrics with it. I have 2 columns: Code and Item. There are multiple terms in the code column which are separated by a semicolon. Each term needs to be counted separately and then counted per each item. Here is example of the spreadsheet (sorry count input the picture)

    Code Item
    Juicy;bright;crisp Apple (red) 0057
    Red Apple
    Juicy;Ripe Banana
    Brown; Ripe Banana
    Juicy;plump Grape
    Bright;Plump Apple





    and here is what I need in the end

    APPLE
    Bright 2
    Plump 1
    Juicy 1
    Crisp 1

    Banana
    Ripe 2
    Juicy 1
    Brown 1

    Grape
    Juicy 1
    Plump 1

    Any help would be greatly appreciated...
    Last edited by m masi; 05-05-2017 at 07:22 AM.

  2. #2
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Re: Excel formula - need assistance with challenging formula or table

    Quote Originally Posted by m masi View Post

    APPLE
    Bright 2
    Plump 1
    Juicy 1
    Bright 2
    Crisp 1

    Banana
    Ripe 2
    Juicy 1
    Brown 1

    Grape
    Juicy 1
    Plump 1
    I assume this is a typo and you would only want the Bright text listed once but with a count next to it?
    Please do add reputation where you see fit, it's nice to be nice and we all enjoy a pat on the back

    Please also mark your thread as solved once it has been.

  3. #3
    Registered User
    Join Date
    05-04-2017
    Location
    PA US
    MS-Off Ver
    excel 2016
    Posts
    3
    Quote Originally Posted by PFDave View Post
    I assume this is a typo and you would only want the Bright text listed once but with a count next to it?
    Yes that is a typo- thank you. I update the original thread

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Excel formula - need assistance with challenging formula or table

    This is probably best suited to VBA, in which case I'm going to be of no use to you. It can be done, using several formulae, but it is a bit messy!!! I have assumed that the extra space in A5 is also a typo. Six (!!!) formulae in play, each one in a differently shaded area. The one in column I is an array formula.

    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

+ 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. [SOLVED] assistance sumifs formula in absolute structured excel table nomenclature
    By JEAN1972 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-11-2017, 01:16 PM
  2. Help with challenging array formula
    By chuji in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-22-2013, 02:11 AM
  3. excel formula assistance
    By LisaCon69 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-18-2013, 02:10 AM
  4. Excel Formula Assistance
    By Carlosthejackal in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-04-2012, 11:25 AM
  5. Need Help with a challenging formula.
    By gamiensrule in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-16-2010, 10:05 PM
  6. [SOLVED] Challenging Formula
    By Gordon in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-23-2006, 04:30 PM
  7. Excel Formula assistance
    By mauddib13 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-02-2006, 11:30 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