+ Reply to Thread
Results 1 to 3 of 3

Creating columns based on information in cell

  1. #1
    Registered User
    Join Date
    06-14-2023
    Location
    cleveland
    MS-Off Ver
    365
    Posts
    1

    Creating columns based on information in cell

    Hello! I am looking at how to create sperate columns based on data all in one cell. I don't mean just splitting the cells, but taking all the data in a column (e.g. row 1 has oranges and row 2 has bananas) and creating a category for each product in the first row (hopefully the pictures will help). After this is done, I could then have excel output a 'yes' or 'no' (1 or 0) contingent on whether or not this was contained in the row. Thank you!


    Data I have

    Data.png

    Result I would want to get

    Result .png

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,791

    Re: Creating columns based on information in cell

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook (yellow banner: HOW TO ATTACH YOUR SAMPLE WORKBOOK). Screenshots are of little practical use as we cannot manipulate them.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Creating columns based on information in cell

    Something like this formula... copy across and down;

    =--ISNUMBER(SEARCH(B$8,$B2))

    See attached.
    Attached Files Attached Files

+ 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: 5
    Last Post: 03-16-2021, 09:26 PM
  2. Replies: 15
    Last Post: 10-11-2017, 11:36 AM
  3. Creating a cell that time stamps based on entered information
    By Cethard in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-10-2016, 03:37 PM
  4. Replies: 4
    Last Post: 06-11-2013, 02:16 PM
  5. Combine information from multiple works sheets based on a cell and data in columns
    By Rick_HpyVly in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-19-2013, 02:49 PM
  6. [SOLVED] creating a formula that condenses information in a cell
    By Looking for Answers in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-21-2006, 04:35 PM
  7. Creating fixed information in a cell
    By Kay in forum Excel General
    Replies: 3
    Last Post: 07-24-2006, 12:40 PM

Tags for this Thread

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