How to insert special characters with formula?

excelos

Well-known Member
Joined
Sep 25, 2011
Messages
592
Office Version
  1. 365
Platform
  1. Windows
Hello!

Can you tell me please how to insert to cells the below characters/format, preferably with a formula as I want to blend them with other text and formulas.

• Dfgdfg
o Fdgdfgdfg
 Fgdfgdfg

if the above don't display correctly, you can get them from MSWord where it is basically the first level bullet point, and then second and third level (after you click ENTER for a new line and TAB for next level bullet point)

Thanks!
 
Last edited:

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Hi

Code:
    MsgBox Chr(149) & "  Dfgdfg"
    MsgBox ChrW(937) & "  Fdgdfgdfg"
    MsgBox ChrW(1) & "  Fgdfgdfg"
 
Upvote 0
Great thanks!
Where do I get the list of all these codes? What is the difference between Char and CharW?
 
Upvote 0
These seem to be VBA commands, but I want Excel formulas.

From Word, I get:

2022
006F
F0A7

But how do I convert these into Excel formulas?
 
Upvote 0
Hi

Code:
Sub TestSquares()
 
Range("A1").Value = ChrW(9679)
Range("A2").Value = ChrW(9675)
Range("A3").Value = ChrW(&H25A1)
Range("A4").Value = ChrW(&H25A0)
 
End Sub

Using Formula:
A5: =A1&A2&" Test"
[TABLE="width: 100"]
<tbody>[TR]
[TD]●[/TD]
[/TR]
[TR]
[TD]○[/TD]
[/TR]
[TR]
[TD]□[/TD]
[/TR]
[TR]
[TD]■[/TD]
[/TR]
[TR]
[TD]●○ Test[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
Hi

Code:
Sub TestSquares()
 
Range("A1").Value = ChrW(9679)
Range("A2").Value = ChrW(9675)
Range("A3").Value = ChrW(&H25A1)
Range("A4").Value = ChrW(&H25A0)
 
End Sub

Using Formula:
A5: =A1&A2&" Test"
[TABLE="width: 100"]
<tbody>[TR]
[TD]●[/TD]
[/TR]
[TR]
[TD]○[/TD]
[/TR]
[TR]
[TD]□[/TD]
[/TR]
[TR]
[TD]■[/TD]
[/TR]
[TR]
[TD]●○ Test[/TD]
[/TR]
</tbody>[/TABLE]

Thanks but I need formulas not VBA.
 
Upvote 0
How about

Excel 2013 32 bit
[Table="width:, class:head"][tr=bgcolor:#E0E0F0][th] [/th][th]
C
[/th][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
7
[/td][td]=UNICHAR(9679) & " " &A7[/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
8
[/td][td]=UNICHAR(9675) & " " &A8[/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
9
[/td][td]=UNICHAR(9632)&" "&A9[/td][/tr]
[/table]
[Table="width:, class:grid"][tr][td]Sheet: Cover[/td][/tr][/table]
 
Last edited:
Upvote 0
How about

Excel 2013 32 bit
[Table="width:, class:head"][tr=bgcolor:#E0E0F0][th] [/th][th]
C
[/th][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
7
[/td][td]=UNICHAR(9679) & " " &A7[/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
8
[/td][td]=UNICHAR(9675) & " " &A8[/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
9
[/td][td]=UNICHAR(9632)&" "&A9[/td][/tr]
[/table]
[Table="width:, class:grid"][tr][td]Sheet: Cover[/td][/tr][/table]

That's great, apart from the last which is a black square, while I want white square.

Also, can you tell me please how to get these numbers when the only thing I have is the character in a Word document?

Thanks
 
Upvote 0
For a white square use 9633 rather than 9632
To get the character numbers, I just used the Symbol feature on the Insert Tab, looked for the relevant symbol, copied that into a cell & then used =UNICODE(A1) to get the number
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top