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

Πώς να μετατρέψετε τον τύπο σε συμβολοσειρά κειμένου στο Excel;

Κανονικά το Microsoft Excel θα εμφανίσει τα υπολογισμένα αποτελέσματα όταν εισάγετε τύπους σε κελιά. Ωστόσο, μερικές φορές ίσως χρειαστεί να εμφανίσετε μόνο τον τύπο στο κελί, όπως = ΣΥΓΚΕΚΡΙΜΕΝΟ ("000", "- 2"), πώς θα το αντιμετωπίσετε; Υπάρχουν διάφοροι τρόποι επίλυσης αυτού του προβλήματος:

Μετατρέψτε τον τύπο σε συμβολοσειρά κειμένου με τη δυνατότητα Εύρεση και αντικατάστασης

Μετατροπή τύπου σε συμβολοσειρά κειμένου με λειτουργία που καθορίζεται από το χρήστη

Μετατροπή τύπου σε συμβολοσειρά κειμένου ή αντίστροφα με ένα μόνο κλικ


Ας υποθέσουμε ότι έχετε μια σειρά τύπων στη στήλη Γ και πρέπει να εμφανίσετε τη στήλη με πρωτότυπους τύπους, αλλά όχι τα υπολογισμένα αποτελέσματά τους, όπως εμφανίζονται τα ακόλουθα στιγμιότυπα οθόνης:

doc-convert-formula-text-1-1 2 doc-convert-formula-text-2-2

Για να λυθεί αυτή η δουλειά, το Εύρεση και αντικατάσταση Η δυνατότητα μπορεί να σας βοηθήσει, κάντε τα εξής:

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

2. Στη συνέχεια πατήστε Ctrl + H κλειδιά για να ανοίξετε το Εύρεση και αντικατάσταση πλαίσιο διαλόγου, στο παράθυρο διαλόγου, κάτω από το Αντικαταστήστε καρτέλα, εισαγάγετε ίσο = συνδεθείτε στο βρείτε αυτό πλαίσιο κειμένου και εισαγάγετε '= μέσα στο Αντικατάσταση με πλαίσιο κειμένου, δείτε το στιγμιότυπο οθόνης:

doc-convert-formula-text-3-3

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

doc-convert-formula-text-4-4


Ο παρακάτω κώδικας VBA μπορεί επίσης να σας βοηθήσει να το αντιμετωπίσετε εύκολα.

1. Κρατήστε πατημένο το άλλος + F11 στο Excel και ανοίγει το Παράθυρο Microsoft Visual Basic for Applications.

2. Κλίκ Κύριο θέμα > Μονάδα μέτρησηςκαι επικολλήστε την ακόλουθη μακροεντολή στο Παράθυρο ενότητας.

Function ShowF(Rng As Range)
ShowF = Rng.Formula
End Function

3. Σε ένα κενό κελί, όπως το κελί D2, εισαγάγετε έναν τύπο = ShowF (C2).

doc-convert-formula-text-5-5

4. Στη συνέχεια, κάντε κλικ στο Cell D2 και σύρετε το Fill Handle στο εύρος που χρειάζεστε.

doc-convert-formula-text-6-6


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

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

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

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

2. Κλίκ Kutools > Περιεχόμενο > Μετατροπή τύπου σε κείμενοκαι οι επιλεγμένοι τύποι σας έχουν μετατραπεί σε συμβολοσειρές κειμένου ταυτόχρονα, δείτε το στιγμιότυπο οθόνης:

Συμβουλές: Εάν θέλετε να μετατρέψετε τις συμβολοσειρές κειμένου τύπου στα αποτελέσματα που υπολογίζονται, απλώς εφαρμόστε το βοηθητικό πρόγραμμα Μετατροπή κειμένου σε τύπο όπως φαίνεται στο παρακάτω στιγμιότυπο οθόνης:

Εάν θέλετε να μάθετε περισσότερα σχετικά με αυτήν τη λειτουργία, επισκεφθείτε τη διεύθυνση Μετατροπή τύπου σε κείμενο.

Κατεβάστε και δωρεάν δοκιμή Kutools για Excel τώρα!


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

Τα καλύτερα εργαλεία παραγωγικότητας γραφείου

🤖 Kutools AI Aide: Επανάσταση στην ανάλυση δεδομένων με βάση: Ευφυής Εκτέλεση   |  Δημιουργία κώδικα  |  Δημιουργία προσαρμοσμένων τύπων  |  Αναλύστε δεδομένα και δημιουργήστε γραφήματα  |  Επίκληση Λειτουργιών Kutools...
Δημοφιλή χαρακτηριστικά: Εύρεση, επισήμανση ή αναγνώριση διπλότυπων   |  Διαγραφή κενών γραμμών   |  Συνδυάστε στήλες ή κελιά χωρίς απώλεια δεδομένων   |   Γύρος χωρίς φόρμουλα ...
Σούπερ Αναζήτηση: VLookup πολλαπλών κριτηρίων    VLookup πολλαπλών τιμών  |   VLookup σε πολλά φύλλα   |   Ασαφής αναζήτηση ....
Σύνθετη αναπτυσσόμενη λίστα: Γρήγορη δημιουργία αναπτυσσόμενης λίστας   |  Εξαρτημένη αναπτυσσόμενη λίστα   |  Πολλαπλή αναπτυσσόμενη λίστα ....
Διαχειριστής στήλης: Προσθέστε έναν συγκεκριμένο αριθμό στηλών  |  Μετακίνηση στηλών  |  Εναλλαγή κατάστασης ορατότητας κρυφών στηλών  |  Συγκρίνετε εύρη και στήλες ...
Επιλεγμένα Χαρακτηριστικά: Εστίαση πλέγματος   |  Προβολή σχεδίου   |   Μεγάλη Formula Bar    Διαχείριση βιβλίου εργασίας & φύλλου   |  Βιβλιοθήκη πόρων (Αυτόματο κείμενο)   |  Επιλογή ημερομηνίας   |  Συνδυάστε φύλλα εργασίας   |  Κρυπτογράφηση/Αποκρυπτογράφηση κελιών    Αποστολή email ανά λίστα   |  Σούπερ φίλτρο   |   Ειδικό φίλτρο (φίλτρο με έντονη γραφή/πλάγια γραφή/διαγραφή...) ...
Κορυφαία 15 σύνολα εργαλείων12 Κείμενο Εργαλεία (Προσθήκη κειμένου, Κατάργηση χαρακτήρων, ...)   |   50 + Διάγραμμα Τύποι (Gantt διάγραμμα, ...)   |   40+ Πρακτικό ΜΑΘΗΜΑΤΙΚΟΙ τυποι (Υπολογίστε την ηλικία με βάση τα γενέθλια, ...)   |   19 Εισαγωγή Εργαλεία (Εισαγωγή κωδικού QR, Εισαγωγή εικόνας από το μονοπάτι, ...)   |   12 Μετατροπή Εργαλεία (Αριθμοί σε λέξεις, Μετατροπή Συναλλάγματος, ...)   |   7 Συγχώνευση & διαχωρισμός Εργαλεία (Σύνθετες σειρές συνδυασμού, Διαίρεση κελιών, ...)   |   ... κι αλλα

Αυξήστε τις δεξιότητές σας στο Excel με τα Kutools για Excel και απολαύστε την αποτελεσματικότητα όπως ποτέ πριν. Το Kutools για Excel προσφέρει πάνω από 300 προηγμένες δυνατότητες για την ενίσχυση της παραγωγικότητας και την εξοικονόμηση χρόνου.  Κάντε κλικ εδώ για να αποκτήσετε τη δυνατότητα που χρειάζεστε περισσότερο...

Περιγραφή


Το Office Tab φέρνει τη διεπαφή με καρτέλες στο Office και κάνει την εργασία σας πολύ πιο εύκολη

  • Ενεργοποίηση επεξεργασίας και ανάγνωσης καρτελών σε Word, Excel, PowerPoint, Publisher, Access, Visio και Project.
  • Ανοίξτε και δημιουργήστε πολλά έγγραφα σε νέες καρτέλες του ίδιου παραθύρου και όχι σε νέα παράθυρα.
  • Αυξάνει την παραγωγικότητά σας κατά 50% και μειώνει εκατοντάδες κλικ του ποντικιού για εσάς κάθε μέρα!
Comments (20)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
How do I convert the non matched value retrieved from vlookup into text??
This comment was minimized by the moderator on the site
The find and replace facility is extremely useful, I didn't expect it to work when showing formulae instead of result. Thanks
This comment was minimized by the moderator on the site
[quote name="Jennifer"]Hi, is there a short cut method to concatenate 230 cells in excel to and text string, or do I have to add each cell to the concatenate formula with at divider? Thanks so much! Converting the range of data into Table (Insert>Table) may help you. As and when a row of data is appended to and inserted in to an existing table, formulas and format of number in columns are applied to the new data also. File size may increase in Table mode. The Table may be changed to Range mode later (Table tools>Tools>convert to range to reduce file size if needed. Maintaining data in Table mode has advantages.
This comment was minimized by the moderator on the site
The Visual Basic editor option didn't work for me - kept returning errors about it needing to be the first row?
This comment was minimized by the moderator on the site
Hi, is there a short cut method to concatenate 230 cells in excel to and text string, or do I have to add each cell to the concatenate formula with at divider? Thanks so much!
This comment was minimized by the moderator on the site
Inserting the “concatenation operator” (& or &” “&) among 230 Excel cells can be done in MS Word. This method is good enough if the task is not repetitive and if a Procedure is not available. (1) Arrange all the 230 cell-references (the text of which is to be merged in to one cell) in single column or single row in a Table in the merging order (use Excel worksheet and paste in Word). (2) Select the table and merge cells (Table Tools > Layout > Merge Cells) to get multi-line single-column Table with paragraph mark at the end of each line except last line. (3) Replaces all paragraph marks with commas (Editing > Replace; Find what = ^p and Replace with = ,). (4) Convert table to text to get content of each cell separated by a comma in a single paragraph. (5) Replaces all commas with concatenation-operator or operators, & or &” “& as required (Editing > Replace; Find what = , and Replace with = & or &” “&). (6) Prefix “=” to the paragraph. Required formula is ready in text form. Copy and paste in Excel; it becomes a formula. (7) The same result can be achieved in MS Excel also through Editing > Fill > Justify but with limitations. (a) Width of merged text that can be displayed is equal to the width of cell where Justify is applied. Superfluous text is written in cells below as separate text. (b) Numbers are to be converted to text (Formulas > Text > TEXT(Value, Format_text). I am an Excel user only and I am sorry for my earlier inappropriate suggestion.
This comment was minimized by the moderator on the site
i need to change my text which in column 115 gm to 115. how it is possible. need to change text in to value like 115 in next column.
This comment was minimized by the moderator on the site
Hi, if you use the text to column feature you can do this. highlight the column in question, click on text to column, step through the process. It will ask you what your delimiter is, if there is a space between the quantity and the measurement (115 gm) you can use the space as your delimiter. PS... add a column to the right of your data column just incase it does something wonky on you.
This comment was minimized by the moderator on the site
I need to convert text from value to sort a large data. please help. For Example 115 gm (this is in shown as text) I need only 115 in next column to sort. Please reply help in this regards
This comment was minimized by the moderator on the site
[quote]I need to convert text from value to sort a large data. please help. For Example 115 gm (this is in shown as text) I need only 115 in next column to sort. Please reply help in this regardsBy Ahmed[/quote] 897/5000 Hi, if the numbers inside the text string are in correlative form, try this, in the formula bar type B1 (if the data column is in A1): = MID (A1, MIN (IFERROR (FIND ({0; 1; 2; 3; 4; 5; 6; 7; 8; 9}, A1), "")), COUNT (1: $ 98), 1))) And then press Ctrl + Shift + Enter because it is a matrix formula, ie at the beginning and end of the formula will appear {y}. Note that I use the comma (,), but it is likely that you must use the semicolon (;) to create both the array of digits and to separate the arguments of the function. I apologize if there is something wrong with the translation from Spanish, if it gives you an error in case I copy the formula in that language: = EXTRACT (A1, MIN (IF YOU FIND ({0; 1; 2; 3; 4; 5; 6; 7; 8; 9}, A1) , FILA ($ 1: $ 98), 1))) Original by Moisés Ortíz (https://exceltotal.com/extraer-numeros-de-una-celda-en-excel/)
This comment was minimized by the moderator on the site
I need to copy the results from a column with a formula to another column but I want just the results copied not the formula. In other words, I have a column with addresses. I have created another column and using a formula I have removed the house number and now just see the street name. Now I need to copy those results (street names only) to another column in a different spreadsheet, but when I try to do this it only copies the formula which of course then gives me the #ref error because the starting data isn't available. Any suggestions?
This comment was minimized by the moderator on the site
I am here because I have been trying to resolve a problem with file names. I have some 40 files with identical names except for the year 2 digits. I simply need to construct the file name (eg C:Docs\Research\...\[Year72.xlsx]Test!$B$10 ro retrieve the data out of that particular file cell B10. I can build the file name in the working workbook,and create the address (using Address), but cannot extract the data in that file cell using Indirect, as Indirect does not access closed files, and opening so many files is not an option. Have we got Microsoft or is there a workaround? as this requirement must be common. :
This comment was minimized by the moderator on the site
Assuming your text function is in A1; 1. Create a text string elsewhere which includes the equals sign eg. =CONCATENATE("@=",A1) 2. This will give you @=10+20, which you can now copy (paste values) to wherever you want it. 3. Finally, simply replace the @= with = using Ctrl+H as above. It's three steps, but it avoids VBA and doesn't take long.
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations