Μετάβαση στο κύριο περιεχόμενο

Πώς να αντιστρέψετε σημάδια τιμών σε κελιά στο Excel;

Συγγραφέας: Τεχνική Υποστήριξη Τελευταία τροποποίηση: 2024-01-05

Όταν χρησιμοποιούμε το Excel, υπάρχουν θετικοί και αρνητικοί αριθμοί σε ένα φύλλο εργασίας. Ας υποθέσουμε ότι πρέπει να αλλάξουμε τους θετικούς αριθμούς σε αρνητικούς και αντίστροφα. Φυσικά, μπορούμε να τα αλλάξουμε χειροκίνητα, αλλά αν υπάρχουν εκατοντάδες αριθμοί πρέπει να αλλάξουν, αυτή η μέθοδος δεν είναι καλή επιλογή. Υπάρχουν γρήγορα κόλπα για την επίλυση αυτού του προβλήματος;

Αντιστρέψτε το σύμβολο τιμών σε κελιά με λειτουργία Paste Special

Αντιστρέψτε γρήγορα το σημάδι τιμών σε κελιά με το Kutools για Excel

Αντιστρέψτε το σύμβολο τιμών σε κελιά με κώδικα VBA


Αντιστρέψτε το σύμβολο τιμών σε κελιά με λειτουργία Paste Special

Μπορούμε να αντιστρέψουμε το σύμβολο τιμών σε κελιά με το Ειδική επικόλληση λειτουργία στο Excel, κάντε τα εξής:

1. Πατήστε τον αριθμό -1 σε ένα κενό κελί και αντιγράψτε το.

2. Επιλέξτε το εύρος που θέλετε να αντιστρέψετε το σύμβολο τιμών, κάντε δεξί κλικ και επιλέξτε Ειδική επικόλληση. Δείτε το στιγμιότυπο οθόνης:

3. Στο Ειδική επικόλληση , κάντε κλικ στην επιλογή Όλα επιλογές από ζυμαρικά και Πολλαπλασιάστε επιλογή από Επιχείρηση. Δείτε το στιγμιότυπο οθόνης:

4. Στη συνέχεια κάντε κλικ στο κουμπί OKκαι όλα τα σημάδια των αριθμών στην περιοχή έχουν αντιστραφεί.

5. Διαγράψτε τον αριθμό -1 όπως χρειάζεστε.


Αντιστρέψτε το σύμβολο όλων των αριθμών ταυτόχρονα

Kutools για Excel'S Αλλαγή σημείου τιμών Το βοηθητικό πρόγραμμα μπορεί να σας βοηθήσει να αλλάξετε τους θετικούς αριθμούς σε αρνητικούς και αντίστροφα, μπορεί επίσης να σας βοηθήσει να αντιστρέψετε το σύμβολο των τιμών και να διορθώσετε το αρνητικό πρόσημο στο κανονικό.  Κάντε κλικ για λήψη του Kutools για Excel!

Kutools για Excel: με περισσότερα από 300 εύχρηστα πρόσθετα του Excel, δωρεάν δοκιμή χωρίς περιορισμό σε 30 ημέρες. Λήψη και δωρεάν δοκιμή τώρα!


Αντιστρέψτε γρήγορα το σημάδι τιμών σε κελιά με το Kutools για Excel

Μπορούμε να αντιστρέψουμε γρήγορα το σημάδι τιμών Αλλαγή σημείου τιμών χαρακτηριστικό του Kutools για Excel.

Kutools για Excel : με περισσότερα από 300 εύχρηστα πρόσθετα Excel, δωρεάν δοκιμή χωρίς περιορισμό σε 30 ημέρες

Μετά την εγκατάσταση Kutools για Excel, κάντε τα εξής:

1. Επιλέξτε το εύρος που θέλετε να αντιστρέψετε τα σημάδια των αριθμών.

2. Κλίκ Kutools > Περιεχόμενο > Αλλαγή σημείου τιμών…, Δείτε το στιγμιότυπο οθόνης:

3. Στην Αλλαγή σημείου τιμών πλαίσιο ελέγχου, ελέγξτε το Αντιστρέψτε το σύμβολο όλων των τιμών, δείτε το στιγμιότυπο οθόνης:

doc-αντίστροφα-σημάδια-τιμών5

4. Και στη συνέχεια κάντε κλικ στο κουμπί OK or Εφαρμογή. Όλα τα σημάδια των αριθμών έχουν αντιστραφεί.

Συμβουλές:

Αντιστρέψτε το σύμβολο τιμών σε κελιά με κώδικα VBA

Επίσης, μπορούμε να χρησιμοποιήσουμε έναν κωδικό VBA για να αντιστρέψουμε το σημάδι τιμών σε κελιά. Αλλά πρέπει να ξέρουμε πώς να κάνουμε το VBA να κάνει το πράγμα. Μπορούμε να το κάνουμε ως εξής:

1. Επιλέξτε το εύρος που θέλετε να αντιστρέψετε το σύμβολο τιμών σε κελιά.

2. Κλίκ Εργολάβος > Visual Basic στο Excel, ένα νέο Microsoft Visual Basic για εφαρμογές θα εμφανιστεί το παράθυρο ή χρησιμοποιώντας τα πλήκτρα συντόμευσης (Alt + F11) για να το ενεργοποιήσετε. Στη συνέχεια κάντε κλικ Κύριο θέμα > Μονάδα μέτρησηςκαι, στη συνέχεια, αντιγράψτε και επικολλήστε τον ακόλουθο κώδικα VBA:

Sub Convert()
Dim C As Range
For Each C In Selection
C.Value = -C.Value
Next C
End Sub

3. Στη συνέχεια κάντε κλικ στο κουμπί doc-reverse-sign-6 κουμπί για να εκτελέσετε τον κωδικό. Και το σύμβολο των αριθμών στο επιλεγμένο εύρος αντιστράφηκε ταυτόχρονα.


Αντιστρέψτε το σύμβολο τιμών σε κελιά με το Kutools για Excel


Kutools για Excel: Πάνω από 300 εύχρηστα εργαλεία στα χέρια σας! Ξεκινήστε τη δωρεάν δοκιμή 30 ημερών χωρίς περιορισμούς δυνατοτήτων σήμερα. Κατεβάστε τώρα!
Comments (15)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Tried to do the developer option and I get a:
Run-time error '438':
Object doesn't support this property or method


Any ideas?
This comment was minimized by the moderator on the site
I have a mac version of excel and the paste special doesn't allow me to do that :-/ dying.
This comment was minimized by the moderator on the site
Yes. Yes it does. Enter "-1" in a cell. Copy that cell. Highlight all the values whose sign you wish to flip. Opt-Cmd-V opens paste special dialog box, choose multiply from the Operations section (I also find it beneficial to choose "values" in the Paste Section rather than "all" to preserve any formatting).
This comment was minimized by the moderator on the site
Thx Bro for the useful thread
This comment was minimized by the moderator on the site
Thank you so much, Sir. You helped me a lot. I hope I can return the favor. Thank you so much.
This comment was minimized by the moderator on the site
thank you i had just posted in the SUN system with the srong month. this has helped me to reverse all the 195 entries within 7 minutes...
This comment was minimized by the moderator on the site
From my perspective it seems there is no foolproof way to simply remove a negative sign: Multiplying by -1 can screw up subsequent cell values if each one is using a formula. VBA requires saving in a different format. Kutools requires you to download/purchase an add-on. You can format a column to show negatives as positives, but it turns the font Red.
This comment was minimized by the moderator on the site
I'm looking to add multiple $ to cells with formulas example (=((I29+AM29+AV29+BH29+CG29+CP29+DS29+AJ78+BA91+BU91+CO91+DK78)-(V25+EF25+EN25))/4 Is there away to do this quickly...
This comment was minimized by the moderator on the site
This is tangentially related. I have a workbook in Excel 2013 that's baffling me. I get a #VALUE! error with the formula =SUM(8-(F4:F23)) in cell F2. When I reverse that, =SUM(F4:F23)-8), I get (#) where (#) is the negative of what I expect. But when I use #Jonathon's formula with my working formula in it, I again get the #VALUE! error. How is this #VALUE! error even possible? What I want is for F2 to be a positive number that's the leftover balance when F4:F24 is less that 8.
This comment was minimized by the moderator on the site
Michaelq please use abs function. It turns negative and positive values both to positive one.
This comment was minimized by the moderator on the site
Very cool trick. I imported transactions from BofA and AMEX and of course they use different signs for debits. One multiply paste later and I'm all fixed up. Thanks.
This comment was minimized by the moderator on the site
In a New Cell simply Multiply a the Cell-value by -1. It will reverse automatically. No need to perform such a long procedures. e.g if the value in B1 is -25 then in Cell C1 enter the formula : =B1 * -1 :-)
This comment was minimized by the moderator on the site
OMG THANK YOU SOOO MUCH. I have been looking all over the place for a way to simply do this. I was trying to find a way to have Excel take the SUM of a group of numbers and make it negative so that it would automatically do all the rest of the math on the sheet correctly. If anyone else is looking to do something similar, using the information I just obtained from #JAVED KHAN, enter the following function (this is just an example, change the cell references to match the ranges you are needing to use) =SUM(B2:H2) * -1 This will now take the sum of the range and automatically change the value to a negative number.
This comment was minimized by the moderator on the site
You sir have just blown my mind with your Excel Ninja ways, I tip my hat to you sir :lol:
This comment was minimized by the moderator on the site
The goal was to change an entire range of cells easily, not just a single cell. The paste multiply method is basically a one step procedure to do just that.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations