+ Reply to Thread
Results 1 to 6 of 6

Swits leading minus and put minus infront of numbers without macro

  1. #1
    Forum Contributor
    Join Date
    07-28-2012
    Location
    madrid
    MS-Off Ver
    Excel 2010 at work excel 2016
    Posts
    1,102

    Swits leading minus and put minus infront of numbers without macro

    HI I need help to in column E ( Start A2). To take the leading minus away from the numbers who have that, and the numbers without I need to put a leading minus in front. I need a macro because of a part of other macros.

    Before it could look like this.
    -2641547,98
    -2830610,17
    2915664,87
    -4562667,22
    After the macro run like below.

    2641547,98
    2830610,17
    -2915664,87
    4562667,22
    Please have a lookl.

    Sincerely

    Abjac

  2. #2
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Swits leading minus and put minus infront of numbers without macro

    Hi Abjac,
    maybe so
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    07-28-2012
    Location
    madrid
    MS-Off Ver
    Excel 2010 at work excel 2016
    Posts
    1,102

    Re: Swits leading minus and put minus infront of numbers without macro

    HI Nilem and thanks I just tested it and it make the change if I change the A2 to E2, but with both either A2 or E2, it change in other columns also. I have to be only in column E2 and down.

    If time please have a look.

    Sincerely

    abjac

  4. #4
    Forum Contributor
    Join Date
    07-28-2012
    Location
    madrid
    MS-Off Ver
    Excel 2010 at work excel 2016
    Posts
    1,102

    Re: Swits leading minus and put minus infront of numbers without macro

    I can put a fixed range in but it give me zeroes on the cells where no numbers.
    Like this

    Please Login or Register  to view this content.
    Sincerely
    Abjac

  5. #5
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Swits leading minus and put minus infront of numbers without macro

    then try so
    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    07-28-2012
    Location
    madrid
    MS-Off Ver
    Excel 2010 at work excel 2016
    Posts
    1,102

    Re: Swits leading minus and put minus infront of numbers without macro

    HI Nilem it works great thanks allot have a nice day.

    Sincerely

    abjac

+ 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. [SOLVED] Remove minus infront and behind of numbers in rang of cells
    By abjac in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-10-2013, 03:07 AM
  2. [SOLVED] How to get the correct (minus) answer for a minus raised to a power
    By enginezzz in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-27-2013, 08:44 PM
  3. [SOLVED] I neeed help on changing a minus figure so it does not show a minus
    By Kirstg in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-24-2012, 11:44 AM
  4. [SOLVED] CHANGE TRAILING MINUS TO BRACKETS OR PRECEEDING MINUS
    By Socal Analyst looking for help in forum Excel General
    Replies: 2
    Last Post: 05-12-2006, 02:20 PM
  5. how do you count a column minus dupicates minus blanks.
    By notEXCELing in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-10-2005, 08:48 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