# How to Add symbol In Before Last Number ( With Cell Reference / Without Cell Reference)

krunal123

Board Regular
Joined
Jun 26, 2020
Messages
177
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
image_2021-04-13_122108.png


# Without Cell Reference : " Check This image "

# With Cell Reference :

A1 = MSCU1234560 i try Cell Reference G1 =+A1 ( with use formula like right / Left )
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
I don't understand what exactly your question. You want something like this?
13-04-2021.xlsm
AB
1
2
3MSCU1234560MSCU123456-0
Main
Cell Formulas
RangeFormula
B3B3=LEFT(A3,LEN(A3)-1) & "-" & RIGHT(A3,1)
 
Upvote 0
# With Cell Reference :
A1 = MSCU1234560 i try Cell Reference G1 =+A1 ( with use formula like right / Left )
Try (in the G1 cell put a symbol)
Code:
=LEFT(A3,LEN(A3)-1) & $G$1 & RIGHT(A3,1)
 
Upvote 0
Like this?
13-04-2021.xlsm
ABCDEFG
1-
2
3MSCU1234560MSCU123456-0
Main
Cell Formulas
RangeFormula
B3B3=LEFT(A3,LEN(A3)-1) & G1 & RIGHT(A3,1)
 
Upvote 0

Forum statistics

Threads
1,223,950
Messages
6,175,582
Members
452,653
Latest member
craigje92

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