+ Reply to Thread
Results 1 to 9 of 9

Need help to simplify formula without VBA

  1. #1
    Forum Contributor
    Join Date
    08-27-2015
    Location
    Singapore
    MS-Off Ver
    Office 2010, Office 365
    Posts
    159

    Need help to simplify formula without VBA

    Untitled.jpg

    Hi All,

    I need help to simplify this formula. As you can see the columns contain kinds of fruit while rows contains different classes.

    I need a formula that will show the fruit the kind of classes has. Eg. if i search for class 7, the result will show pineapple & orange. I tried using concentrate to merge but if i have too many column, its complicated.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,736

    Re: Need help to simplify formula without VBA

    If you can't use VBA then there is no simply formula as you will have concatenate cells if you require the result in a single cell.

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Need help to simplify formula without VBA

    Quote Originally Posted by seercoven View Post
    I tried using concentrate to merge but if i have too many column, its complicated.
    Which is why you should use a VBA function to do this!
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Forum Contributor Toonies's Avatar
    Join Date
    07-30-2009
    Location
    Newcastle, UK
    MS-Off Ver
    Excel 2016
    Posts
    511

    Re: Need help to simplify formula without VBA

    Hi try this

    Class Example.xlsx

    Place the following in E2 and copy down
    Please Login or Register  to view this content.
    I have created a NamedRange of the Class 1 to 10 called ClassList

    created Data Validation List in Cell J1

    then used following Vlookup
    Please Login or Register  to view this content.
    to get your required result

    This is my best attempt

    I'm sure that someone with more knowledge can come up with a better method

    Toonies
    Last edited by Toonies; 08-30-2015 at 01:56 PM. Reason: footnote

  5. #5
    Forum Contributor
    Join Date
    08-27-2015
    Location
    Singapore
    MS-Off Ver
    Office 2010, Office 365
    Posts
    159

    Re: Need help to simplify formula without VBA

    Hi toonies, your result is what i wanted. But i have like 70+ column and 2000+ rows. Not possible to add them inside the formula . I don't necessary need the result to shows in one cell as long as i know what are the data in the column. I did try using a pivot table to get but it looks really strange.
    Class Example.xlsx

    Anyone has other suggestion?

  6. #6
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Need help to simplify formula without VBA

    Pl see file.
    Two ARRAY Formulas
    IN G2 then dragged across
    Please Login or Register  to view this content.
    In N2, then dragged horizontally. In M2 you can put any class required.
    Please Login or Register  to view this content.
    If all results are required in single cell UDF is required.

    ARRAY formulas are tobe confirmed with Ctrl+Shift+Enter, not with only Enter key.
    Attached Files Attached Files

  7. #7
    Forum Contributor Toonies's Avatar
    Join Date
    07-30-2009
    Location
    Newcastle, UK
    MS-Off Ver
    Excel 2016
    Posts
    511

    Re: Need help to simplify formula without VBA

    Ok have a look at this


    Class Example v1a.xlsx

    it covers 100 Columns and 1500 Rows you can amend it to your requirements

    I have replaced the Concatenate formula with the following in CX2 copy down

    Please Login or Register  to view this content.
    then use a Index Match in DA1
    Please Login or Register  to view this content.
    CY1 is the search critera ie Class 1 etc you can create a dropdown or simply type in

    hopefully this should help

  8. #8
    Forum Contributor
    Join Date
    08-27-2015
    Location
    Singapore
    MS-Off Ver
    Office 2010, Office 365
    Posts
    159

    Re: Need help to simplify formula without VBA

    That's the formula i need. Thanks a-lot and everyone for the one.

  9. #9
    Forum Contributor Toonies's Avatar
    Join Date
    07-30-2009
    Location
    Newcastle, UK
    MS-Off Ver
    Excel 2016
    Posts
    511

    Re: Need help to simplify formula without VBA

    Which one???? as everyone has giving excellent solutions

+ 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] Simplify the formula
    By eing in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-03-2013, 12:44 AM
  2. [SOLVED] I need to simplify this formula
    By skip2mylew in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-16-2013, 08:36 PM
  3. Help simplify my formula!
    By missxmelon in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-23-2013, 04:24 PM
  4. Simplify formula
    By SalamanderSam14 in forum Excel General
    Replies: 6
    Last Post: 01-04-2012, 12:23 PM
  5. Simplify formula
    By SalamanderSam14 in forum Excel General
    Replies: 1
    Last Post: 01-04-2012, 11:03 AM
  6. How to simplify this formula
    By jake21ph in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 06-15-2011, 05:00 AM
  7. Simplify formula
    By ShockG in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-01-2008, 09:21 AM
  8. Simplify formula
    By Luke in forum Excel Formulas & Functions
    Replies: 38
    Last Post: 05-06-2005, 03: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