+ Reply to Thread
Results 1 to 3 of 3

How can I get rid of a value next to a number?

  1. #1
    Registered User
    Join Date
    11-08-2007
    Posts
    2

    How can I get rid of a value next to a number?

    Hi all,

    I have an imported excel file, which has over 300 rows. I have 2 columns with numbers and I want to add the numbers in each row in the third column. However, all the numbers in the second column have all stars(*) next to them after 2 spaces. And, the digit of numbers change from 2 digit to 5 digit. How can I get rid of all the stars from 300 rows so that I can add them with the first column?

    I would appreicate your help. Thank you,

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,454
    Hi,

    You can remove the * with the substitute function, and then turn the text back into a number with the value function, like so.

    =VALUE(SUBSTITUTE(A1,"*",""))
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Registered User
    Join Date
    11-08-2007
    Posts
    2
    Hi Dave,

    Thanks a lot for your help. It did work. Thanks again.

    Serhan

+ 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