+ Reply to Thread
Results 1 to 4 of 4

How to select up to a certain character?

  1. #1
    Registered User
    Join Date
    09-28-2010
    Location
    California, USA
    MS-Off Ver
    Excel 2007
    Posts
    91

    How to select up to a certain character?

    Hi, people.

    I Love this forum.
    Yous Peoples are Very Helpful !

    Using Excel 2007, I've got a Lot of IP numbers in Column A, like...
    11.22.33.44
    67.34.45.56
    222.33.44.55
    333.44.55.66
    333.34.34.34
    334.34.34.34
    Like... there are 900,000 rows of 'em.

    WITHOUT using a macro...
    How can I put ONLY the first few characters, up to the first "." in Column B?
    So Column B will look like:
    11
    67
    222
    333
    333
    334

    AND... (an entirely different question, actually)...
    double-clicking the lower-right corner of a formula
    SHOULD propagate that formula all the way down.
    It doesn't work when there are a LOT of (like, a million) rows.
    Is there a solution to THAT ?

    Thanks very much, in advance.

    Mark53
    Last edited by Mark53; 04-13-2011 at 12:18 AM.

  2. #2
    Valued Forum Contributor Sadath31's Avatar
    Join Date
    03-02-2011
    Location
    Dammam, Saudi Arabia
    MS-Off Ver
    Office 365
    Posts
    452

    Re: How to select up to a certain character?

    use this formula
    =LEFT(A1,FIND(".",A1)-1)

    Hold Shift key
    use End (key bord button) and Down arrow (also keybod button) to select huge range quickly

  3. #3
    Registered User
    Join Date
    09-28-2010
    Location
    California, USA
    MS-Off Ver
    Excel 2007
    Posts
    91

    Re: How to select up to a certain character?

    BRILLIANT ! , Sadath !
    That gets the first few characters.
    Just what I wanted.

    The "select down" thing Does SELECT those rows,
    but that's all it does. It only highlights them.
    It doesn't copy the formula into those selected rows.
    Did I do something wrong?

    Thanks very much.

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,058

    Re: How to select up to a certain character?

    Enter formula in first cell

    then move your cursor to the bottom right corner of that cell until black cross (+) appear
    Left click (like select) and pull down your formula

    If you have much rows then select first cell (where formula is)
    copy
    hold together ctrl shift
    then click DOWN arrow and paste
    Never use Merged Cells in Excel

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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