How do I put cell data in between another cells data

V

VictorKulikowski

My question deals with editing a description of a good.

What I would like to do is in cell A1 keep the data up to the first space in
that cell. At that point of the space I would like to enter in the data from
cell B1. After the insert of cell B1 I want it to continue on with the
description from cell A1 afer the space and added data. All this data needs
to be returned in cell C1. With a final outcome of;

A1= Widget A 1/2 widget
B1= (12345)
C1= Widget (12345) A 1/2 widget
 
S

ShaneDevenshire

Hi,

How about one of these shorter formulas:

=SUBSTITUTE(A1," "," "&B1&" ",1)

This formula assumes that the contents of B1 are text, if it is a number
formatted to show negative with parenthesis then use this variation:

=SUBSTITUTE(A1," "," ("&-B1&") ",1)


If this helps, please click the Yes button.
 
V

VictorKulikowski

Shane works marvelously I used a combination of both I have a mix of both.

Thanks so much!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top