+ Reply to Thread
Results 1 to 3 of 3

Copy values from 1 cell to another untill certain character is reached

  1. #1
    Registered User
    Join Date
    06-16-2014
    Posts
    4

    Copy values from 1 cell to another untill certain character is reached

    Hi

    I want to automatically copy the values "Buy mockingbird" and "Buy cat" into the empty cells. So the values up until the "-" needs to be copied into the empty cells:

    Buy mockingbird - Where can i buy a mockingbird
    Buy cat - Where can i buy a cat?
    Last edited by Django13; 06-16-2014 at 05:22 AM.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,062

    Re: Copy values from 1 cell to another untill certain character is reached

    =LEFT(B1,FIND("-",B1)-2)

    where B1 is your original text
    Last edited by Special-K; 06-16-2014 at 05:48 AM.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    06-16-2014
    Posts
    4

    Re: Copy values from 1 cell to another untill certain character is reached

    Does not seem to work: "The formula you typed contains an error"

+ 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: 8
    Last Post: 12-05-2021, 03:25 PM
  2. [SOLVED] Formula that adds cell values until certain value is reached...
    By JMartellNSAA in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-26-2014, 11:57 AM
  3. Replies: 2
    Last Post: 04-30-2013, 05:57 AM
  4. [SOLVED] Character Count Until a Number is Reached
    By HangMan in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-07-2012, 09:48 AM
  5. Message box should keep on promting untill the values are entered
    By swathidas in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-03-2012, 08:41 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