Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default How do I put cell data in between another cells data

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

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default How do I put cell data in between another cells data

Try this in c1

=LEFT(A1,FIND(" ",A1)) & A2 &MID(A1,FIND(" ",A1,1),LEN(A1))

Mike

"VictorKulikowski" wrote:

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

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default How do I put cell data in between another cells data

Try
=LEFT(A1,FIND(" ",A1)-1)&" "&B1&MID(A1,FIND(" ",A1),255)
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"VictorKulikowski" wrote in
message ...
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



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,344
Default How do I put cell data in between another cells data

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.
--
Thanks,
Shane Devenshire


"VictorKulikowski" wrote:

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

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default How do I put cell data in between another cells data

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

Thanks so much!

"ShaneDevenshire" wrote:

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.
--
Thanks,
Shane Devenshire


"VictorKulikowski" wrote:

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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
if 3 cells have data then add certain value to another cell Gerigto Excel Worksheet Functions 2 March 28th 07 02:51 AM
if 3 cells have data then add certain value to another cell Mike Excel Worksheet Functions 0 March 28th 07 01:16 AM
Send multi data (Graph/Cell data) to Word doc as 1 item (no cells) Tom-LE Excel Discussion (Misc queries) 0 August 30th 06 10:10 PM
Converting data in one cell to 3 different cells Steve Excel Worksheet Functions 6 July 12th 06 02:00 PM
Cell data overruns into adjacent cell(cells). Art Excel Discussion (Misc queries) 1 June 24th 05 06:46 PM


All times are GMT +1. The time now is 02:39 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"