+ Reply to Thread
Results 1 to 2 of 2

how to delete or extract specific info from large numbers of cells.

  1. #1
    Registered User
    Join Date
    12-05-2018
    Location
    NY
    MS-Off Ver
    365
    Posts
    1

    how to delete or extract specific info from large numbers of cells.

    I would like to know if there is a way to selectively delete specific information from individual cells within a large worksheet.

    the worksheet in question is a schoolwide teacher schedule. each row is a different teacher and each column represents a period of the school day.
    each cell contains the class code, the class name, the teacher name, room number and which days of the week they meet.

    the information I need to keep is the room number which is line 4.

    In the past, I have gone through and retyped each and every cell. it would be helpful in the future to be able to just extract the information that I need

    any help would be greatly appreciated.

    thanks,
    Keith

    I have included a small snip from my personal schedule but have excluded any other info for confidentiality purposes.excel snip.JPG
    snip2.JPG

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: how to delete or extract specific info from large numbers of cells.

    This could be done by a formula, or by a macro. The problem is difficult because of your data design. The correct way to store this information would be to use five rows, instead of one row.

    This formula will isolate the fourth line. There may be a shorter one but this works.

    =LEFT(MID(SUBSTITUTE(A1,CHAR(10),"~",3),FIND("~",SUBSTITUTE(A1,CHAR(10),"~",3))+1,99),FIND(CHAR(10),MID(SUBSTITUTE(A1,CHAR(10),"~",3),FIND("~",SUBSTITUTE(A1,CHAR(10),"~",3))+1,99))-1)
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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] How to treat specific text as zero in a formula for finding LARGE numbers from cells
    By masud_jahan in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-26-2016, 11:46 AM
  2. Extracting specific info from large block of text
    By viber52 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-25-2015, 08:16 PM
  3. Delete cells that don't contain specific numbers
    By BPSJACK in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-29-2014, 11:15 AM
  4. Extract info from a large dynamic excel sheet.
    By indesh in forum Excel General
    Replies: 12
    Last Post: 07-29-2013, 08:02 AM
  5. Extract specific ROWS (all info)
    By kalender in forum Excel General
    Replies: 2
    Last Post: 04-13-2011, 03:31 PM
  6. extract non-specific info from multiple cells
    By rossww in forum Excel General
    Replies: 3
    Last Post: 07-25-2006, 06:06 AM
  7. [SOLVED] extract specific info from cells in a column
    By Herman in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 10-26-2005, 10: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