+ Reply to Thread
Results 1 to 2 of 2

Is it possible to strip out text in a cell so you can multiply the number in the cell?

  1. #1
    Registered User
    Join Date
    08-09-2019
    Location
    Richmond, Va
    MS-Off Ver
    365 MSO v2302
    Posts
    28

    Is it possible to strip out text in a cell so you can multiply the number in the cell?

    I inherited a complex spreadsheet that needs some changes. One change is to add a description to a cell that used to only be numeric. That's easy to do, but that cell is used to figure pricing for the identified option. When I make the change to add the text the calculations don't work. Is it possible to just locate numeric in first position in the cell and then ignore remaining text? Added a simple example worksheet. Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,843

    Re: Is it possible to strip out text in a cell so you can multiply the number in the cell?

    If the number is always 1 digit and always the leftmost character of the text string, then something like LEFT(text,1) will return that number (as text). Excel automatically converts text to numbers when using the standard arithmetic operators (+,-,*,/) so something like =A7*LEFT(B7,1) will return the values you show in your sample.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ 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. Multiply a cell by a percentage if another cell has text
    By emileesara in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-26-2017, 03:54 PM
  2. Sum the number of rows with a cell with 2 criteria and multiply by another cell
    By jedidavidalan in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-06-2015, 02:14 PM
  3. [SOLVED] Macro to strip text from cell.
    By ntsun in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-24-2014, 10:15 AM
  4. Take cell with text and number and multiply with number
    By smuqeet in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-06-2012, 04:22 PM
  5. [SOLVED] Multiply results of cell depending on number in cell
    By sparky24 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-21-2012, 02:13 PM
  6. How to strip text from a cell
    By gurp99 in forum Excel General
    Replies: 11
    Last Post: 01-29-2011, 06:38 PM
  7. Strip text in cell
    By buddhajb in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-30-2008, 01:47 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