Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
How do I had a suffix to a cell i.e. -1,-2,-3?
|
#2
![]() |
|||
|
|||
![]()
You need VBA code to do this.
Sub AAA() Dim Rng As Range Dim N As Integer: N = 1 For Each Rng In Range("A1:A5") ' change range as needed Rng.Value = Rng.Text & "-" & Format(N, "0") N = N + 1 Next Rng End Sub -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "controller_woman" wrote in message ... How do I had a suffix to a cell i.e. -1,-2,-3? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
cell color index comparison | New Users to Excel | |||
Cell Change Color - Need Help | New Users to Excel | |||
Pasting Word table cell with paragraph markers into single Excel c | Excel Discussion (Misc queries) | |||
inserting data from a row to a cell, when the row number is specified by a formula in a cell | New Users to Excel | |||
VLookup resulting in a blank cell... | Excel Worksheet Functions |