Skip i'r prif gynnwys

Sut i ddisodli fformwlâu gyda chanlyniadau neu werth yn Excel?

Gan dybio bod angen i chi ddisodli fformwlâu â'u gwerthoedd wedi'u cyfrifo mewn celloedd, wrth gwrs gallwch chi eu disodli fesul un â llaw. Fodd bynnag, bydd yn gwastraffu llawer o amser os ydych chi'n mynd i gymryd lle llawer o rai. A oes ffyrdd hawdd? Ydy, bydd y ffyrdd anodd canlynol yn eich helpu i ddisodli fformwlâu yn hawdd â'u gwerthoedd cyfrifedig mewn detholiadau yn gyflym:

Er enghraifft, mae gen i ystod o fformiwlâu, a nawr mae angen i mi ddisodli'r fformwlâu gyda'r gwerthoedd celloedd, fel y dengys y screenshot canlynol:


swigen dde glas saeth Amnewid fformwlâu gyda chanlyniadau neu werthoedd gyda gorchymyn Gludo Arbennig

Yr Microsoft Excel Gludo Arbennig gall gorchymyn eich helpu i gael gwared ar yr holl fformiwlâu ond aros yn werthoedd wedi'u cyfrifo mewn celloedd.

Step1: Dewiswch yr ystod y byddwch chi'n gweithio gyda hi.

Step2: Gwasgwch y Ctrl + C allweddi i gopïo'r celloedd a ddewiswyd.

Step3: De-gliciwch y celloedd a ddewiswyd, a chliciwch ar y Gludo Gwerthoedd botwm o dan Gludo Opsiynau.
doc-convert-fformwlâu-i-werthoedd3

Nawr mae gennych chi bob fformiwla yn y detholiad gyda'u gwerthoedd wedi'u cyfrifo ar un adeg.


swigen dde glas saeth Amnewid fformwlâu gyda chanlyniadau neu werthoedd gyda VBA

Ar gyfer defnyddwyr profiadol Microsoft Excel, mae macro VBA yn ddewis da arall i ddisodli fformwlâu â gwerthoedd wedi'u cyfrifo'n gyflym.

Step1: Daliwch y Alt + F11 allweddi yn Excel, ac mae'n agor y Microsoft Visual Basic ar gyfer Ceisiadau ffenestr.

Step2: Cliciwch Mewnosod > Modiwlau, a gludwch y macro canlynol yn y Ffenestr Modiwl.

VBA ar gyfer disodli fformwlâu â gwerthoedd wedi'u cyfrifo:

Sub DisplayedToActual()
'Updateby20131126
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)
Application.ScreenUpdating = False
For Each Rng In WorkRng
    Rng.Value = Rng.Text
Next
Application.ScreenUpdating = True
End Sub

Step3: Gwasgwch y F5 allwedd i redeg y macro hwn. Arddangosir deialog i chi ddewis ystod i'w drosi i werthoedd gwirioneddol, gweler y screenshot:

Step4: Cliciwch OK. a gallwch weld y canlyniad a ddangosir isod:


swigen dde glas saethAmnewid fformiwlâu gyda chanlyniadau neu werthoedd gyda Kutools ar gyfer Excel

Os oes gennych Kutools ar gyfer Excel, ei Wedi'i Arddangos I Wirioneddol gall offeryn eich helpu i drosi'r gwerth neu'r fformiwla mewn celloedd dethol yn gyflym i'r ffordd y cânt eu fformatio.

Kutools ar gyfer Excel, gyda mwy na 300 swyddogaethau defnyddiol, yn gwneud eich swyddi yn haws. 

Ar ôl gosod am ddim Kutools ar gyfer Excel, gwnewch fel isod:

Step1: Dewiswch yr ystod y byddwch chi'n gweithio gyda hi.

Step2: Cliciwch y Kutools > I Gwirioneddol, gweler y screenshot:

doc i 1 go iawn 
 saeth doc i lawr
 doc i 2 go iawn


Yna mae'r fformwlâu yn y dewis yn cael eu trosi i'r gwerthoedd sy'n cael eu harddangos.

I gael gwybodaeth fanylach am y nodwedd hon, ewch i Wedi'i Arddangos I Wirioneddol.

swigen dde glas saethI Wir - Amnewid Fformiwla â Gwerth Arddangos



swigen dde glas saeth Amnewid fformiwlâu gyda thestun gan Kutools ar gyfer Excel

Os ydych chi am ddisodli fformiwla â thestun, gallwch ei ddefnyddio Kutools ar gyfer Excel'S Trosi Fformiwla i Text cyfleustodau i drosi fformwlâu yn destunau ar unwaith cliciwch.

Ar ôl gosod Kutools ar gyfer Excel, gwnewch fel isod:(Lawrlwythwch Kutools Am Ddim ar gyfer Excel Nawr!)

Dewiswch y fformwlâu a chlicio Kutools > Cynnwys > Trosi Fformiwla yn Testun. Gweler y screenshot:
doc yn disodli'r fformiwla â thestun 3

mae doc kutools yn trosi fformiwla i destun 2

Yna mae'r fformwlâu yn cael eu trosi i destun, ac os ydych chi am eu trosi yn ôl i fformiwla, cliciwch Kutools > Cynnwys > Trosi Testun yn Fformiwla.

swigen dde glas saeth Amnewid Fformiwla gyda Thestun



Offer Cynhyrchiant Swyddfa Gorau

🤖 Kutools AI Aide: Chwyldro dadansoddi data yn seiliedig ar: Cyflawniad Deallus   |  Cynhyrchu Cod  |  Creu Fformiwlâu Personol  |  Dadansoddi Data a Chynhyrchu Siartiau  |  Invoke Swyddogaethau Kutools...
Nodweddion Poblogaidd: Darganfod, Amlygu neu Adnabod Dyblygiadau   |  Dileu Rhesi Gwag   |  Cyfuno Colofnau neu Gelloedd heb Colli Data   |   Rownd heb Fformiwla ...
Super-edrych: VLookup Meini Prawf Lluosog    VLookup Gwerth Lluosog  |   VLookup Ar Draws Taflenni Lluosog   |   Edrych Niwlog ....
Rhestr gwympo Uwch: Creu Rhestr Gollwng yn Gyflym   |  Rhestr Gollwng Dibynnol   |  Rhestr Gollwng Aml-ddewis ....
Rheolwr Colofn: Ychwanegu Nifer Penodol o Golofnau  |  Symud Colofnau  |  Toglo Statws Gwelededd Colofnau Cudd  |  Cymharwch Ystodau a Cholofnau ...
Nodweddion dan Sylw: Ffocws ar y Grid   |  Golwg Dylunio   |   Bar Fformiwla Mawr    Rheolwr Llyfr Gwaith a Thaflen   |  Llyfrgell Adnoddau (Testun Auto)   |  Dewiswr Dyddiad   |  Cyfuno Taflenni Gwaith   |  Amgryptio/Dadgryptio Celloedd    Anfon E-byst trwy Restr   |  Hidlo Super   |   Hidlo Arbennig (hidlo mewn print trwm/italig/strikethrough...) ...
15 Set Offer Gorau12 Testun offer (Ychwanegu Testun, Dileu Cymeriadau,...)   |   50 + Siart Mathau (Siart Gantt,...)   |   40+ Ymarferol Fformiwlâu (Cyfrifwch oedran yn seiliedig ar ben-blwydd,...)   |   19 mewnosod offer (Mewnosod Cod QR, Mewnosod Llun o'r Llwybr,...)   |   12 Trosi offer (Rhifau i Eiriau, Trosi arian cyfred,...)   |   7 Uno a Hollti offer (Rhesi Cyfuno Uwch, Celloedd Hollt,...)   |   ... a mwy

Supercharge Eich Sgiliau Excel gyda Kutools ar gyfer Excel, a Phrofiad Effeithlonrwydd Fel Erioed Erioed. Kutools ar gyfer Excel Yn Cynnig Dros 300 o Nodweddion Uwch i Hybu Cynhyrchiant ac Arbed Amser.  Cliciwch Yma i Gael Y Nodwedd Sydd Ei Angen Y Mwyaf...

Disgrifiad


Mae Office Tab yn dod â rhyngwyneb Tabbed i Office, ac yn Gwneud Eich Gwaith yn Haws o lawer

  • Galluogi golygu a darllen tabbed yn Word, Excel, PowerPoint, Cyhoeddwr, Mynediad, Visio a Phrosiect.
  • Agor a chreu dogfennau lluosog mewn tabiau newydd o'r un ffenestr, yn hytrach nag mewn ffenestri newydd.
  • Yn cynyddu eich cynhyrchiant 50%, ac yn lleihau cannoedd o gliciau llygoden i chi bob dydd!
Comments (7)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hi, Will it be possible to get a Macro that does what the above macro does but for the entire workbook all at once? would be of great help if you can write a macro that can.
This comment was minimized by the moderator on the site
Bah.. nothing new. Already knew all of hose tricks. In fact, I've been using paste special for quite a while. Unfortunately none of those options works for me. I would like to just set my spreadsheets on auto and let Excel do the trick on its own. I was looking to see if the folks at Microsoft have finally left the stone age by coming up with something more creative, more automated than paste special and VBA. Something that does not require cell selection or any other intervention by the user. For instance, it would be handy if there was a way to allow Excel to automatically kill the equations that are no longer needed but without eliminating the values or cell contents. That would be truly awesome. But I guess such a trick is not out of the cave yet so I'll have to live with 'paste special>values' option until we leave Excel prehistory behind.
This comment was minimized by the moderator on the site
Hello Friend,

Can you please make 2 vb code to convert all the linked formula to value
embedded within the formula. And the next to convert to formula again back to
normal with linked path. Like pack unpack option.

I make report in excel file which is linked to various other excel file and
then I have send this report to management but I don't want this to paste
special everytime. I just want to pack the formula and then unpack it when I
need to work on the same file.

I hope you understand my need.

Regards

Saysha
This comment was minimized by the moderator on the site
Can it be possible to apply this macro to specific formula in the range. i.e If we want to convert only vlookup formula to values but not sum formula in the selected range.
This comment was minimized by the moderator on the site
Please contact me at We welcome all questions, feedback and bug reports. If you're having an issue, we usually need the following information: A brief description of the issue and how it can be replicated (if applicable). Your Operating system (Windows 8, Windows 7, etc) and the version information of your Microsoft Office. Screenshots that illustrate the problem
This comment was minimized by the moderator on the site
I want to know or to apply script shown in your example but unable to understand about ---- "how to numbering in excel column or row having some cell single and some are merged". Please help me with pdf tutorials with complete explanation or how can i use your tool with complete explanation. Thanks Rakesh Upreti
This comment was minimized by the moderator on the site
THIS IS A LIFE SAVER... THANK YOU!!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations