Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Preprend Text Where Cell Not Empty
Good evening
I have a spreadsheet used as a data source for a Word mail merge. The address data has "address1", "address2", etc. Address2 is used store apartment or unit numbers, but does not have a text prefix, just the bare number (Ex. "104"). I want to prepend a "#" before the apartment number (Ex. "# 104"). I generally get the concept that I want to the select the entire column to as a range, and increment down the column. However, if the cell is empty (as would be the case for a house), then we want to skip the cell without changing the value. Any suggestions would be greatly appreciated. Thanks Don Lowrey |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Preprend Text Where Cell Not Empty
Somethig like ?
If ApptNo = "" then Else ApptNo = "# " & ApptNo End If |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel Formula if cell is empty then no if text in cell then yes | Excel Worksheet Functions | |||
Text Overwriting next empty cell | Excel Discussion (Misc queries) | |||
Populate First Empty Cell In each Row with Text | Excel Programming | |||
Copy a string text to cell if another cell not empty | Excel Discussion (Misc queries) | |||
Text wider than one cell is not displayed in the next empty cell | Excel Discussion (Misc queries) |