+ Reply to Thread
Results 1 to 7 of 7

forumla help

  1. #1
    Registered User
    Join Date
    12-19-2012
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    30

    forumla help

    This is probably straightforward but I'm blocked.

    In column A is where users input data i.e in A1 someone might choose H40 cip vessel external from a dropdown list
    in column B is a formula =LEFT(A1,FIND(" ",A1)-1) that populates B1 with H40

    I want to past this formula in Column B so that every time someone populates a cell in Column A the first bit of text populates the cell in column B.

    I want the formula Column B to look like this.

    =LEFT(A1,FIND(" ",B1)-1)
    =LEFT(A2,FIND(" ",B2)-1)
    =LEFT(A3,FIND(" ",A3)-1)
    etc.....

    Can anyone tell me how to do this?

    Any help would be great.

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

    Re: forumla help

    Enter this formula in cell B1:

    =LEFT(A1,FIND(" ",A1)-1)

    With cell B1 selected, look at the bottom right side of the cell selector and it will look like a little black square.

    "Grab" that little black square with your left mouse button and drag down the column as needed.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: forumla help

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include BEFORE/AFTER sheets if needed to show the process you're trying to complete or automate. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Forum Contributor ragavan.sridar1's Avatar
    Join Date
    11-19-2012
    Location
    India
    MS-Off Ver
    Excel 2010, Excel 2003
    Posts
    208

    Re: forumla help

    just copy the formula and paste...
    Thanks!
    Raga.

    Please,mark your thread [SOLVED] if you received your answer.

    Click the little star * below, to give some Rep if you think an answer deserves it.

    I learnt so many things from these links.

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

    Re: forumla help

    Or, you can simply double click that little black square. It's called the fill handle.

    Double clicking will copy the formula down the column until it reaches an empty cell in column A.

  6. #6
    Registered User
    Join Date
    12-19-2012
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: forumla help

    Brilliant! Thanks very much - really appreciate your help.

  7. #7
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: forumla help

    SpiritedAway,

    Please take a moment to read the forum rules and then amend your thread title to something descriptive of your problem. Once you have done this please send me a PM and I will remove this request.

    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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