+ Reply to Thread
Results 1 to 5 of 5

Remove letters and leave numbers only

  1. #1
    Forum Contributor
    Join Date
    10-31-2008
    Location
    Brazil
    MS-Off Ver
    Office 365
    Posts
    108

    Question Remove letters and leave numbers only

    I have a cell with the following formula: ="$ "&ROUND(J62/6;2)&" no interest"

    The number in bold is the problem. I have to divide by 4, 5 and 6. I manually input the number six. I would like it to be automatic. But since the sheet is full of other things and change all the time, the best scenario would be to take this number from the previous column which have exactly like this:

    4x
    5x
    6x

    So if there is a formula to replace the number six (in bold) and put a formula that will gather 6x and make it be 6, would be great.

    Thanks.

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Remove letters and leave numbers only

    try ="$ "&ROUND(J62/LEFT(I62);2)&" no interest"

    I assume
    4x
    5x
    6x
    are in appropriate cells, 62, 63, 64.... or change I62 accordingly
    Last edited by sandy666; 01-15-2018 at 07:58 AM.

  3. #3
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,755

    Re: Remove letters and leave numbers only

    can you attach a sample spreadsheet please

    how will the formula know to use 6 or 5 or 4 ?
    you can use the indirect() function to take a value from a cell and use in a formula
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  4. #4
    Forum Contributor
    Join Date
    10-31-2008
    Location
    Brazil
    MS-Off Ver
    Office 365
    Posts
    108

    Re: Remove letters and leave numbers only

    Quote Originally Posted by sandy666 View Post
    try ="$ "&ROUND(J62/LEFT(I62);2)&" no interest"

    I assume
    4x
    5x
    6x
    are in appropriate cells, 62, 63, 64.... or change I62 accordingly
    Thank you! That works perfectly!


    Quote Originally Posted by etaf View Post
    can you attach a sample spreadsheet please

    how will the formula know to use 6 or 5 or 4 ?
    you can use the indirect() function to take a value from a cell and use in a formula
    Each number has its specific line. Each line have 4x, 5x, 6x. The only problem was to remove the X and put the number into the formula. Thanks anyway!

  5. #5
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Remove letters and leave numbers only

    You are welcome , thanks for rep. Have a nice day

+ 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. How to remove numbers from a column but keep letters?
    By kairalynn in forum Excel General
    Replies: 9
    Last Post: 09-11-2014, 08:15 PM
  2. [SOLVED] remove front letters from numbers
    By cfinch100 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-21-2014, 05:13 PM
  3. Replies: 13
    Last Post: 07-30-2014, 12:03 PM
  4. Remove numbers, leave letters in a string
    By roxdrob in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 03-31-2014, 09:13 PM
  5. [SOLVED] Find and Delete all letters & leave numbers
    By Patish in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-06-2013, 08:11 AM
  6. Replies: 9
    Last Post: 11-13-2012, 02:37 PM
  7. [SOLVED] How to remove letters and take the average of two numbers within a cell
    By adiaz755 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-20-2012, 01:22 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