Note: The other languages of the website are Google-translated. Back to English
Logáil isteach  \/ 
x
or
x
Cláraigh  \/ 
x

or

Conas uimhreacha dearfacha a athrú go diúltach in Excel?

Conas is féidir leat na huimhreacha nó na luachanna dearfacha go léir a athrú go diúltach in Excel? Is féidir leis na modhanna seo a leanas tú a threorú chun gach uimhir dhearfach a athrú go tapa go diúltach in Excel.

Athraigh uimhreacha dearfacha go diúltach le feidhm Greamaigh Speisialta

Athraigh uimhreacha dearfacha go diúltacha le cód VBA

Athraigh uimhreacha dearfacha go diúltach nó vice versa le Kutools for Excel


mboilgeog cheart gorm saighead Athraigh uimhreacha dearfacha go diúltach le feidhm Greamaigh Speisialta

Is féidir leat uimhreacha dearfacha a athrú go diúltach le Greamaigh Speisialta feidhm in Excel. Déan mar a leanas le do thoil.

1. Beartaíonn uimhir -1 i gcill bhán agus cóipeáil é.

2. Aibhsigh an raon is mian leat a athrú, ansin cliceáil ar dheis agus roghnaigh Greamaigh Speisialta ón roghchlár comhthéacs chun an Greamaigh Speisialta bosca dialóige. Féach an pictiúr:

3. Ansin roghnaigh Gach rogha ón Greamaigh, agus Méadaigh ó na Oibríocht.

4. Agus ansin cliceáil OK, athraíodh na huimhreacha dearfacha go léir go huimhreacha diúltacha.

5. Faoi dheireadh, is féidir leat an uimhir -1 a scriosadh de réir mar is gá duit.


Athraigh nó tiontaigh uimhreacha dearfacha go claonchlónna agus a mhalairt

Le Kutools le haghaidh Excel'S Athraigh Comhartha Luachanna fóntais, is féidir leat na huimhreacha dearfacha a athrú go diúltach nó vice versa, comhartha na n-uimhreacha a aisiompú, comharthaí diúltacha a rianú, agus mar sin de. Cliceáil chun Kutools a íoslódáil le haghaidh Excel!


mboilgeog cheart gorm saighead Athraigh uimhreacha dearfacha go diúltacha le cód VBA

Agus cód VBA á úsáid agat, is féidir leat uimhreacha dearfacha a athrú go diúltach, ach caithfidh fios a bheith agat conas VBA a úsáid. Déan na céimeanna seo a leanas le do thoil:

1. Roghnaigh an raon is mian leat a athrú.

2. Cliceáil Forbróir >Visual Basic, Nua Microsoft Visual Basic d’iarratais taispeánfar an fhuinneog, cliceáil Ionsáigh > Modúilagus ansin na cóid seo a leanas a chóipeáil agus a ghreamú sa mhodúl:

Sub ChangeToNegative()
'Updateby Extendoffice
Dim rng As Range
Dim WorkRng As Range
On Error Resume Next
xTitleId = "KutoolsforExcel"
Set WorkRng = Application.Selection
Set WorkRng = Application.InputBox("Range", xTitleId, WorkRng.Address, Type:=8)
Set WorkRng = WorkRng.SpecialCells(xlCellTypeConstants, xlNumbers)
For Each rng In WorkRng
    xValue = rng.Value
    If xValue > 0 Then
        rng.Value = xValue * -1
    End If
Next
End Sub

3. cliceáil doc-dearfach-diúltach-2 cnaipe chun an cód a rith, tá dialóg popped amach duit chun raon a roghnú ar mhaith leat na luachanna dearfacha a thiontú go diúltach. Féach an pictiúr:

4. Cliceáil Ok, ansin athraítear na luachanna dearfacha sa raon roghnaithe go diúltach ag an am céanna.


mboilgeog cheart gorm saighead Athraigh uimhreacha dearfacha go diúltach nó vice versa le Kutools for Excel

Vous úsáid pouvez aussi Kutools le haghaidh Excel'S Athraigh Comhartha Luachanna uirlis chun gach uimhir dhearfach a athrú go diúltach.

Kutools le haghaidh Excel : le níos mó ná 300 breiseán áisiúil Excel, saor in aisce le triail gan aon teorannú i 30 lá. 

Má tá tú suiteáilte agat Kutools le haghaidh Excel, is féidir leat uimhreacha dearfacha a athrú go diúltach mar seo a leanas:

1. Roghnaigh an raon is mian leat a athrú.

2. Cliceáil Kutools > Ábhar > Athraigh Comhartha Luachanna, féach ar an scáileán:

3. Agus sa Athraigh Comhartha Luachanna dialóg, roghnaigh Athraigh gach luach dearfach go diúltach rogha.

4. Ansin cliceáil OK or Cuir iarratas isteach. Agus athraíodh na huimhreacha dearfacha go léir go huimhreacha diúltacha.

2

Leideanna: Chun na huimhreacha diúltacha go léir a athrú nó a thiontú go dearfach, roghnaigh le do thoil Athraigh gach luach diúltach go dearfach sa bhosca dialóige mar a thaispeántar an scáileán a leanas:

Kutools le haghaidh Excel's Athraigh Comhartha Luachanna Is féidir freisin comharthaí diúltacha trailing a shocrú, athraigh na luachanna diúltacha go dearfach agus mar sin de. Chun faisnéis níos mionsonraithe a fháil faoi Change Sign of Values, téigh chuig Cur síos ar ghné Athraigh Luachanna.

Cliceáil chun Íoslódáil agus triail saor in aisce Kutools le haghaidh Excel Now!


mboilgeog cheart gorm saighead Taispeántas: Athraigh uimhreacha dearfacha go diúltach nó vice versa le Kutools for Excel

Kutools le haghaidh Excel: le níos mó ná 300 breiseán áisiúil Excel, saor in aisce le triail gan aon teorannú i 30 lá. Íoslódáil agus triail saor in aisce Anois!

Earraí gaolmhara:

Athraigh uimhreacha diúltacha go dearfach

Comharthaí droim ar ais luachanna i gcealla

Deisigh comharthaí diúltacha trailing i gcealla


Na hUirlisí Táirgiúlachta Oifige is Fearr

Réitíonn Kutools for Excel an chuid is mó de do chuid Fadhbanna, agus Méadaíonn sé do Tháirgiúlacht 80%

  • Athúsáid: Cuir isteach go tapa foirmlí casta, cairteacha agus aon rud a d'úsáid tú roimhe seo; Cealla a Chriptiú le pasfhocal; Cruthaigh Liosta Ríomhphoist agus seol ríomhphoist ...
  • Barra Foirmle Super (cuir línte iolracha téacs agus foirmle in eagar go héasca); Leagan Amach Léitheoireachta (líon mór cealla a léamh agus a chur in eagar go héasca); Greamaigh go dtí an Raon Scagtha...
  • Cumaisc Cealla / Sraitheanna / Colúin gan Sonraí a chailleadh; Ábhar Cealla Scoilt; Comhcheangail Sraitheanna / Colúin Dúblacha... Cill Dúblach a Chosc; Déan comparáid idir Ranganna...
  • Roghnaigh Dúblach nó Uathúil Sraitheanna; Roghnaigh Blank Rows (tá na cealla uile folamh); Aimsigh Super agus Fuzzy Aimsigh i go leor Leabhar Oibre; Roghnaigh go randamach ...
  • Cóip Díreach Cealla Il gan tagairt fhoirmle a athrú; Tagairtí Cruthaigh Auto chuig Bileoga Il; Cuir Urchair isteach, Boscaí Seiceála agus go leor eile ...
  • Sliocht Téacs, Cuir Téacs leis, Bain de réir Poist, Bain Spás; Subtotals Paging a chruthú agus a phriontáil; Tiontaigh Idir Ábhar Cealla agus Tráchtanna...
  • Scagaire Super (scéimeanna scagaire a shábháil agus a chur i bhfeidhm ar bhileoga eile); Ard-Sórtáil de réir míosa / seachtaine / lae, minicíocht agus níos mó; Scagaire Speisialta le cló trom, iodálach ...
  • Comhcheangail Leabhair Oibre agus Bileoga Oibre; Cumaisc Táblaí bunaithe ar eochaircholúin; Roinn Sonraí i Ilbhileoga; Baisc Tiontaigh xls, xlsx agus PDF...
  • Níos mó ná 300 gné chumhachtach. Tacaíochtaí Office / Excel 2007-2019 agus 365. Tacaíonn sé le gach teanga. Imscaradh éasca i d’fhiontar nó d’eagraíocht. Gnéithe iomlána triail saor in aisce 30 lá. Ráthaíocht ar ais airgid 60 lá.
cluaisín kte 201905

Tugann Tab Oifige comhéadan Tabbed chuig Office, agus Déan Do Obair i bhfad Níos Éasca

  • Cumasaigh eagarthóireacht agus léamh tabbed i Word, Excel, PowerPoint, Foilsitheoir, Rochtain, Visio agus Tionscadal.
  • Oscail agus cruthaigh cáipéisí iolracha i gcluaisíní nua den fhuinneog chéanna, seachas i bhfuinneoga nua.
  • Méadaíonn do tháirgiúlacht 50%, agus laghdaíonn sé na céadta cad a tharlaíonn nuair luch duit gach lá!
bun officetab
Say something here...
symbols left.
You are guest
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Excel Dummy · 3 years ago
    oh my gosh, that was so easy and helpful (paste special)
  • To post as a guest, your comment is unpublished.
    Arman · 3 years ago
    Thanks a lots...
  • To post as a guest, your comment is unpublished.
    William Leong · 4 years ago
    Thank you for the guidance. Clear and easy to understand.
  • To post as a guest, your comment is unpublished.
    Vicky · 4 years ago
    Helpful..thanks. would need more help in future..
  • To post as a guest, your comment is unpublished.
    Barnaby · 5 years ago
    Put the figure in brackets
  • To post as a guest, your comment is unpublished.
    SeSe84 · 5 years ago
    AWESOME!! nice, quick, easy.
  • To post as a guest, your comment is unpublished.
    sahdev · 5 years ago
    I need to add an tool for typing like word in vb.net 2003, which should be called on demand like button click or placed i form. Also user should be able to create auto correct option int it. Basiclly user should be able to type, format and auto correct text. Your feedback will be of great help.
  • To post as a guest, your comment is unpublished.
    ARAVINDAN · 5 years ago
    Helped at the time of requirement , saved a lot of time
    :-)
  • To post as a guest, your comment is unpublished.
    BookGirlNJ · 5 years ago
    You can also just highlight all the cells, Copy, right-click, Paste Special... and choose Subtract. It changes them all to negative.
  • To post as a guest, your comment is unpublished.
    lee p · 6 years ago
    Just use the following formula:

    =A2*-1

    Works a treat, none of this faffing about with Paste Special and suchlike
  • To post as a guest, your comment is unpublished.
    Sushil Joshi · 6 years ago
    Thank you very very Much... This simple but important formula helped me a lot.... Once again thank you.
  • To post as a guest, your comment is unpublished.
    vinod james · 6 years ago
    Very helpfull thank you very much
  • To post as a guest, your comment is unpublished.
    Raghu · 7 years ago
    Perfect!!

    Thank You!

    Raghu
  • To post as a guest, your comment is unpublished.
    Lynne · 7 years ago
    Excellent instructions with pics...followed perfectly and worked perfectly!
  • To post as a guest, your comment is unpublished.
    Aman · 7 years ago
    Thank you and it was very helpfull.
  • To post as a guest, your comment is unpublished.
    Jay Chivo · 7 years ago
    @Jay Chivo [quote name="Jay Chivo"][quote name="Dominic"]Hello,
    I am trying to make a customer statement in excel.
    I want to have a coloumn for date, description, amount ,currency, exchange rate, Debit , credit and balance.

    I want it that when i put a negative figure on the amount, it multiplies with the exchange rate and posts on the debit automatically. and vice versa for the credit !

    How can i do that in excel please.

    Dominic[/quote]

    Please try to do as follows:

    http://www.extendoffice.com/images/stories/doc-comments/11.png

    http://www.extendoffice.com/images/stories/doc-comments/22.png[/quote]

    In Debit, please use =if(C2>0,"",C2*E3)
    In Credit, please use =if(C2
  • To post as a guest, your comment is unpublished.
    Jay Chivo · 7 years ago
    @Dominic [quote name="Dominic"]Hello,
    I am trying to make a customer statement in excel.
    I want to have a coloumn for date, description, amount ,currency, exchange rate, Debit , credit and balance.

    I want it that when i put a negative figure on the amount, it multiplies with the exchange rate and posts on the debit automatically. and vice versa for the credit !

    How can i do that in excel please.

    Dominic[/quote]

    Please try to do as follows:

    [img]http://www.extendoffice.com/images/stories/doc-comments/11.png[/img]

    [img]http://www.extendoffice.com/images/stories/doc-comments/22.png[/img]
  • To post as a guest, your comment is unpublished.
    Dominic · 7 years ago
    Hello,
    I am trying to make a customer statement in excel.
    I want to have a coloumn for date, description, amount ,currency, exchange rate, Debit , credit and balance.

    I want it that when i put a negative figure on the amount, it multiplies with the exchange rate and posts on the debit automatically. and vice versa for the credit !

    How can i do that in excel please.

    Dominic