+ Reply to Thread
Results 1 to 6 of 6

Changing the content of column E to C

  1. #1
    Registered User
    Join Date
    06-03-2011
    Location
    Philippines
    MS-Off Ver
    Excel 2003
    Posts
    19

    Question Changing the content of column E to C

    HI TO all

    Pls help me with This one,

    im tired of dragging and copying, how can i make this one like this without pressing "ctrl+c" and dragging.

    what formula or function must be use to it?

    pls help me any help is deeply appreciated

    LIB shoud be 22
    SHW must be 25
    ALB must be 28

    now
    site,,, no.
    LIB,,, 22
    LIB,,, 22
    LIB,,, 22
    SHW,,, 22
    SHW,,, 22
    SHW,,, 25
    SHW,,, 25
    LIB,,, 25
    SHW,,, 25
    SHW,,, 25
    SHW,,, 25
    LIB,,, 28
    ALB,,, 28
    LIB,,, 28
    ALB,,, 28
    SHW,,, 28
    ALB,,, 28
    ALB,,, 28

    AFTER "CTRL+c" +dragging (so very time consuming)
    site no.
    LIB,,, 22
    LIB,,, 22
    LIB,,, 22
    LIB,,, 22
    LIB,,, 22
    SHW,,, 25
    SHW,,, 25
    SHW,,, 25
    SHW,,, 25
    SHW,,, 25
    SHW,,, 25
    ALB,,, 28
    ALB,,, 28
    ALB,,, 28
    ALB,,, 28
    ALB,,, 28
    ALB,,, 28
    ALB,,, 28

    how can i make it this way.
    Attached Files Attached Files
    Last edited by mozak; 06-14-2011 at 12:22 AM.

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    re: Changing the content of column E to C

    Try in B3
    Please Login or Register  to view this content.
    Drag/Fill Down

    Then sort as required,

    Your sample is a bit unorthodox. Does it have to be sorted as you have posted?

    It is more normal to sort alphabetically ascending/descending
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  3. #3
    Registered User
    Join Date
    06-03-2011
    Location
    Philippines
    MS-Off Ver
    Excel 2003
    Posts
    19

    re: Changing the content of column E to C

    Quote Originally Posted by Marcol View Post
    Try in B3
    Please Login or Register  to view this content.
    Drag/Fill Down

    Then sort as required,

    Your sample is a bit unorthodox. Does it have to be sorted as you have posted?

    It is more normal to sort alphabetically ascending/descending
    Yeah thats the one im looking for thank.. btw i change the formula like this

    =IF(d2=28,"ALB",IF(d2=22,"LIB",IF(d2=25,"SHW",IF(d2=35,"CLK",IF(d2=40,"CB1",IF(d2=48,"CB2",IF(d2=3,"MAK","")))))))

    so every value that ccome out will turn to that,

    how can i manage it to copy all in the cell without dragging sir?

    its too long to drag my data is up to 10000+

  4. #4
    Registered User
    Join Date
    06-03-2011
    Location
    Philippines
    MS-Off Ver
    Excel 2003
    Posts
    19

    re: Changing the content of column E to C

    Changing my sample.
    ill give you my original data.

    10.22.xx.xx CC3 - Llibis
    10.25.xx.xx CC7 - Shaw
    10.28.xx.xx CC5 - Alabang
    10.35.xx.xx CC8 - Clark
    10.40.xx.xx CC4 - Cebu1
    10.48.xx.xx CC6 - Cebu2
    10.3.xx.xx CC2 - Makati

    see attached file.

    how can i make the attache file

    neglect the "group name" use text to column

    "what if i dont use text to column? is their any possible way to change it to there corresponding area?

    My Company\LIB\Servers\General---->>>>LIB
    Attached Files Attached Files

  5. #5
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    re: Changing the content of column E to C

    Try this

    1/. Create two Dynamic Named Ranges
    AddressGroup
    Refers To:
    Please Login or Register  to view this content.

    AddressTable
    Refers To:
    Please Login or Register  to view this content.

    2/. In C2
    Please Login or Register  to view this content.
    Drag/Fill Down
    Use the Fill Handle (the small square bottom right of the selected cell) to do this.
    Double-click the Fill Handle, this will fill to the last row of your data provided there are no blanks in Column B.

    For more information on the Fill Handle see this link
    Ozgrid - Excel Fill Handle Explained


    I have added a sheet to the attached workbook that does what you first asked, it should help to see how the method works.

    Try changing something in the Returns/Value (the orange headers) columns of the lookup tables to see the results change.
    You can add to these lists and the formula will adjust automatically to suit, just don't leave blank cells in the first column.

    N.B. I have a thing about using INDEX() with MATCH() you could use other lookup functions

    Hope this helps.
    Attached Files Attached Files

  6. #6
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Changing the content of column E to C

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    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.

    Edited this time
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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