How to insert special characters with formula?

excelos

Well-known Member
Joined
Sep 25, 2011
Messages
591
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

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
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"
●○ Test

<tbody>
</tbody>
 
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"
●○ Test

<tbody>
</tbody>

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

Excel 2013 32 bit
C
7
=UNICHAR(9679) & " " &A7
8
=UNICHAR(9675) & " " &A8
9
=UNICHAR(9632)&" "&A9
Sheet: Cover
 
Last edited:
Upvote 0
How about

Excel 2013 32 bit
C
7
=UNICHAR(9679) & " " &A7
8
=UNICHAR(9675) & " " &A8
9
=UNICHAR(9632)&" "&A9
Sheet: Cover

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,214,957
Messages
6,122,466
Members
449,086
Latest member
kwindels

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