+ Reply to Thread
Results 1 to 6 of 6

How to reference certain number of characters from another cell?

  1. #1
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Wink How to reference certain number of characters from another cell?

    Hi guys,

    I`m looking to reference text from a cell on another tab in the same workbook. However, I want a certain number of characters.

    I.e.

    ='Sheet2'!A2


    Sheet2 A2 has: "Actions for next meeting on 01/12/17 (do not amend this column's data)"

    I want to do a reference that pulls this: "Actions for next meeting on 01/12/17" not the (do not amend this column's data) text - can someone advise?

    Thank you
    Thanks,

    R.



  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: How to reference certain number of characters from another cell?

    Hi,

    How do you determine what to return? If it's everything before the brackets, you could use
    =TRIM(LEFT('Sheet2'!A2,FIND("(",Sheet2!A2)-1))
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  3. #3
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: How to reference certain number of characters from another cell?

    I know I want the first portion of the text - i.e. the first 36 characters (with spaces) 31 without

    The formula does not seem to be working (I think the issue is with -1 bit..)

  4. #4
    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
    28,206

    Re: How to reference certain number of characters from another cell?

    Formula given in #2 works for me based on sample in #1

  5. #5
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: How to reference certain number of characters from another cell?

    If you always want the first 36, you can simply use
    =TRIM(LEFT('Sheet2'!A2,36))

  6. #6
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: How to reference certain number of characters from another cell?

    Thank you this works!

+ 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. New line in cell after certain number of characters, or where a number stands
    By barqujo in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-08-2013, 01:14 PM
  2. Replies: 2
    Last Post: 12-09-2011, 10:50 AM
  3. separate characters from numbers in cell reference
    By twd000 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-27-2010, 07:14 PM
  4. Reference Specific Characters in a Cell
    By ranng in forum Excel General
    Replies: 3
    Last Post: 02-14-2010, 03:55 PM
  5. number of characters in a cell
    By profector in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-12-2007, 05:36 PM
  6. Number of characters in a cell
    By Braders999 in forum Excel General
    Replies: 3
    Last Post: 07-10-2006, 09:39 AM
  7. set the number of characters in a cell
    By CF in forum Excel General
    Replies: 4
    Last Post: 02-09-2006, 05:40 PM
  8. Max number of characters in a cell
    By Dajana in forum Excel General
    Replies: 1
    Last Post: 09-25-2005, 06: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