+ Reply to Thread
Results 1 to 10 of 10

Modify contents of cells

  1. #1
    Forum Contributor
    Join Date
    12-22-2012
    Location
    Asia
    MS-Off Ver
    Microsoft 365
    Posts
    234

    Modify contents of cells

    Hi,

    I have two cells with contents that I would like to change. What formulas should I use?

    thanks
    Attached Files Attached Files

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Modify contents of cells

    It's going to depend, but, if the cells are always formatted the same way with the same number of digits in each, then this might do it
    Use
    Please Login or Register  to view this content.
    for the 1st one
    and
    Please Login or Register  to view this content.
    for the 2nd
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Forum Contributor
    Join Date
    12-22-2012
    Location
    Asia
    MS-Off Ver
    Microsoft 365
    Posts
    234

    Re: Modify contents of cells

    Image1.JPG
    Pls see attached image. Reply blocked by Sucuri due to special characters.

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Modify contents of cells

    I can't read the picture but to get the values from your example, enter this in B2 and fill down
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  5. #5
    Forum Contributor
    Join Date
    12-22-2012
    Location
    Asia
    MS-Off Ver
    Microsoft 365
    Posts
    234

    Re: Modify contents of cells

    Thanks. In the attached file of my original post, how do we change cell A2? I want to get rid of the characters before the number, which could come in any format.

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Modify contents of cells

    You can't do it within A2 that is taken care of with the formula that I gave you. It looks for a semi colon and if that is consistent, the formula will work. If you have other contents that concern you that are not covered by A2 and A3 please post them.

  7. #7
    Forum Contributor
    Join Date
    12-22-2012
    Location
    Asia
    MS-Off Ver
    Microsoft 365
    Posts
    234

    Re: Modify contents of cells

    Thanks for your reply. Sorry for not being clear. I don't mean change cell A2. I mean what formula must I put into Cell B2 in order to get 12.24? I attach the file.
    Attached Files Attached Files

  8. #8
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Modify contents of cells

    Enter this formula in B2 and copy down

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  9. #9
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Modify contents of cells

    Quote Originally Posted by L.LEE View Post
    Thanks. In the attached file of my original post, how do we change cell A2? I want to get rid of the characters before the number, which could come in any format.
    That is exactly what I gave you in message #4. The formula there will give you the exact results that you indicated that you want.
    Here it is again. Enter in B2 and fill down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  10. #10
    Forum Contributor
    Join Date
    12-22-2012
    Location
    Asia
    MS-Off Ver
    Microsoft 365
    Posts
    234

    Re: Modify contents of cells

    Thanks very much.

+ 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. Search for different cell contents then modify
    By gspreeman in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-28-2013, 10:05 AM
  2. Modify Macro : Clear contents <> Delete
    By guatelize in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-25-2013, 06:09 AM
  3. Modify code to drag cell contents across a row range
    By rhudgins in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-20-2010, 04:34 PM
  4. Modify code VBA to copy contents only, not formula
    By Mayweed in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-30-2010, 09:36 AM
  5. Compare 2 columns, modify contents
    By taranducal in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-18-2010, 03:49 PM
  6. [SOLVED] other options to functions which cannot modify contents?
    By James Cornthwaite in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-04-2006, 07:50 PM
  7. [SOLVED] Modify cell contents
    By oldguywithbadeyes in forum Excel General
    Replies: 2
    Last Post: 05-02-2006, 05:25 PM
  8. [SOLVED] How do I modify an existing worksheet to remove columns & contents
    By Gil Gray in forum Excel General
    Replies: 1
    Last Post: 02-10-2005, 02:06 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