Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Copy data of two cells into one

=C5 & "@" & C6 & " a,b,c"

--
Gary''s Student - gsnu200727
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 258
Default Copy data of two cells into one

Thank you Gary. It is exactly what I need.

Maperalia
"Gary''s Student" wrote:

=C5 & "@" & C6 & " a,b,c"

--
Gary''s Student - gsnu200727

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 258
Default Copy data of two cells into one

Gary;
I have the formula you gave me (=C5 & "@" & C6 & " a,b,c")
placed on the cell "C20". It is working perfectly, however, I need to add
the following information:
When the cell "C8" has the value 1000 I want the formula in the cell "C20"
to be =C5 & "@" & C6 & " a,b,c,d" instead.
It is possible to do this.

Thanks in advance.
Maperalia

"Gary''s Student" wrote:

=C5 & "@" & C6 & " a,b,c"

--
Gary''s Student - gsnu200727

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default Copy data of two cells into one

Use
=IF(c8=2000,C5 & "@" & C6 & " a,b,c,d",C5 & "@" & C6 & " a,b,c")

maperalia wrote:
Gary;
I have the formula you gave me (=C5 & "@" & C6 & " a,b,c")
placed on the cell "C20". It is working perfectly, however, I need to add
the following information:
When the cell "C8" has the value 1000 I want the formula in the cell "C20"
to be =C5 & "@" & C6 & " a,b,c,d" instead.
It is possible to do this.

Thanks in advance.
Maperalia

"Gary''s Student" wrote:


=C5 & "@" & C6 & " a,b,c"

--
Gary''s Student - gsnu200727


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Copy data of two cells into one

One way:

=C5 & "@" & C6 & " a,b,c" & IF(C8=1000,",d","")

In article ,
maperalia wrote:

Gary;
I have the formula you gave me (=C5 & "@" & C6 & " a,b,c")
placed on the cell "C20". It is working perfectly, however, I need to add
the following information:
When the cell "C8" has the value 1000 I want the formula in the cell "C20"
to be =C5 & "@" & C6 & " a,b,c,d" instead.
It is possible to do this.

Thanks in advance.
Maperalia

"Gary''s Student" wrote:

=C5 & "@" & C6 & " a,b,c"

--
Gary''s Student - gsnu200727



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 258
Default Copy data of two cells into one

JE;
Thanks very much. Works perfectly!!!!

Maperalia

"JE McGimpsey" wrote:

One way:

=C5 & "@" & C6 & " a,b,c" & IF(C8=1000,",d","")

In article ,
maperalia wrote:

Gary;
I have the formula you gave me (=C5 & "@" & C6 & " a,b,c")
placed on the cell "C20". It is working perfectly, however, I need to add
the following information:
When the cell "C8" has the value 1000 I want the formula in the cell "C20"
to be =C5 & "@" & C6 & " a,b,c,d" instead.
It is possible to do this.

Thanks in advance.
Maperalia

"Gary''s Student" wrote:

=C5 & "@" & C6 & " a,b,c"

--
Gary''s Student - gsnu200727


  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 258
Default Copy data of two cells into one

Bob;
Thanks very much. Works perfectly!!!!

Maperalia

"Bob I" wrote:

Use
=IF(c8=2000,C5 & "@" & C6 & " a,b,c,d",C5 & "@" & C6 & " a,b,c")

maperalia wrote:
Gary;
I have the formula you gave me (=C5 & "@" & C6 & " a,b,c")
placed on the cell "C20". It is working perfectly, however, I need to add
the following information:
When the cell "C8" has the value 1000 I want the formula in the cell "C20"
to be =C5 & "@" & C6 & " a,b,c,d" instead.
It is possible to do this.

Thanks in advance.
Maperalia

"Gary''s Student" wrote:


=C5 & "@" & C6 & " a,b,c"

--
Gary''s Student - gsnu200727



  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 258
Default Copy data of two cells into one

JE;
The previous formula (=C5 & "@" & C6 & " a,b,c") was reprensented in vba as
a the following statement: "=R5C & ""@"" & R6C & "" a, b, c""".
I wondert if you can help me to represent your formula (=C$5 & "@" & C$6 & "
a,b,c" & IF(C$8="0.0025 in/min",",d","")) in vba' statement.
The problem is that I have a macro which clean the cells to type the new
data. Since this is a formula I have you place the formula again.

Thanks in advance.
Maperalia




"JE McGimpsey" wrote:

One way:

=C5 & "@" & C6 & " a,b,c" & IF(C8=1000,",d","")

In article ,
maperalia wrote:

Gary;
I have the formula you gave me (=C5 & "@" & C6 & " a,b,c")
placed on the cell "C20". It is working perfectly, however, I need to add
the following information:
When the cell "C8" has the value 1000 I want the formula in the cell "C20"
to be =C5 & "@" & C6 & " a,b,c,d" instead.
It is possible to do this.

Thanks in advance.
Maperalia

"Gary''s Student" wrote:

=C5 & "@" & C6 & " a,b,c"

--
Gary''s Student - gsnu200727


  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Copy data of two cells into one

One way:

"=R5C & ""@"" & R6C & ""a, b, c"" & IF(R8C=""0.0025
in/min"","",d"","""")"



In article ,
maperalia wrote:

The previous formula (=C5 & "@" & C6 & " a,b,c") was reprensented in vba as
a the following statement: "=R5C & ""@"" & R6C & "" a, b, c""".
I wondert if you can help me to represent your formula (=C$5 & "@" & C$6 & "
a,b,c" & IF(C$8="0.0025 in/min",",d","")) in vba' statement.
The problem is that I have a macro which clean the cells to type the new
data. Since this is a formula I have you place the formula again.

  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 258
Default Copy data of two cells into one

JE;
Thanks for your quick response.
I put the statament you gave me ( "=R5C & ""@"" & R6C & ""a, b, c"" &
IF(R8C=""0.0025 in/min"","",d"","""")" ) and I got the following error
message:
"Compile Error: Expected:line number or label or statement or end of
statement"
Could you please tell me how to fix it?

Thanks.
Maperalia


"JE McGimpsey" wrote:

One way:

"=R5C & ""@"" & R6C & ""a, b, c"" & IF(R8C=""0.0025
in/min"","",d"","""")"



In article ,
maperalia wrote:

The previous formula (=C5 & "@" & C6 & " a,b,c") was reprensented in vba as
a the following statement: "=R5C & ""@"" & R6C & "" a, b, c""".
I wondert if you can help me to represent your formula (=C$5 & "@" & C$6 & "
a,b,c" & IF(C$8="0.0025 in/min",",d","")) in vba' statement.
The problem is that I have a macro which clean the cells to type the new
data. Since this is a formula I have you place the formula again.


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
Copy data of two cells into one Dave O[_2_] Excel Discussion (Misc queries) 1 June 5th 07 06:38 PM
how to copy cells data in every 7th row? Jeff Excel Discussion (Misc queries) 3 December 15th 05 07:16 PM
how to copy cells data in every 7th row? Jeff Excel Worksheet Functions 3 December 15th 05 07:16 PM
copy and paste between cells that have data mstack Excel Worksheet Functions 1 November 16th 05 09:16 PM
How do I copy data (word) into respective cells when the data bei. awg9tech New Users to Excel 1 January 12th 05 11:26 AM


All times are GMT +1. The time now is 11:52 PM.

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

About Us

"It's about Microsoft Excel"