#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Concatenation

I have a long spreadsheet (1780 lines) with columns A through G.

On all lines where there is a value for col. D, I would like to concatenate
columns D, E, and F into column G. If my formula is =CONCATENATE(D,E,F) it
doesn't work because I don't have the line numbers, but I can't format every
line with a separate formula. Is there a wildcard for the line numbers? Can I
have this formula apply to all lines of column G?
--
MichaelS
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 122
Default Concatenation

use this formula in column G:
=if($D1<0,concatenate(D1,E1,F1),"")

What this means is that if D is not blank, then concatenate. If it is
blank, do nothing.

"MichaelS" wrote:

I have a long spreadsheet (1780 lines) with columns A through G.

On all lines where there is a value for col. D, I would like to concatenate
columns D, E, and F into column G. If my formula is =CONCATENATE(D,E,F) it
doesn't work because I don't have the line numbers, but I can't format every
line with a separate formula. Is there a wildcard for the line numbers? Can I
have this formula apply to all lines of column G?
--
MichaelS

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Concatenation

Thanks for your reply Melissa.

Is there a wildcard character for the line numbers, or will I need to enter
this formula with specific line numbers for all 1780 lines of column G?
--
MichaelS


"Melissa" wrote:

use this formula in column G:
=if($D1<0,concatenate(D1,E1,F1),"")

What this means is that if D is not blank, then concatenate. If it is
blank, do nothing.

"MichaelS" wrote:

I have a long spreadsheet (1780 lines) with columns A through G.

On all lines where there is a value for col. D, I would like to concatenate
columns D, E, and F into column G. If my formula is =CONCATENATE(D,E,F) it
doesn't work because I don't have the line numbers, but I can't format every
line with a separate formula. Is there a wildcard for the line numbers? Can I
have this formula apply to all lines of column G?
--
MichaelS

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default Concatenation

On Sep 11, 1:37*am, MichaelS
wrote:
I have a long spreadsheet (1780 lines) with columns A through G.

On all lines where there is a value for col. D, I would like to concatenate
columns D, E, and F into column G. If my formula is =CONCATENATE(D,E,F) it
doesn't work because I don't have the line numbers, but I can't format every
line with a separate formula. Is there a wildcard for the line numbers? Can I
have this formula apply to all lines of column G?
--
MichaelS


Hey Michael

If all Rows in Column D have values, input this formula in cell G1 and
then just fill down and the line numbers will change on their own.

=CONCATENATE(D1,E1,F1)

If not all Rows in Column D have values, input this formula in cell G1
and fill down.

=IF(ISTEXT(D1),CONCATENATE(D1,E1,F1),"")
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 122
Default Concatenation

I'm not sure I understand your question entirely but you should just copy the
formula in all rows of column G.
Perhaps you can put up some sample data with the desired result? So I can
better understand what you would like to achieve.

"MichaelS" wrote:

Thanks for your reply Melissa.

Is there a wildcard character for the line numbers, or will I need to enter
this formula with specific line numbers for all 1780 lines of column G?
--
MichaelS


"Melissa" wrote:

use this formula in column G:
=if($D1<0,concatenate(D1,E1,F1),"")

What this means is that if D is not blank, then concatenate. If it is
blank, do nothing.

"MichaelS" wrote:

I have a long spreadsheet (1780 lines) with columns A through G.

On all lines where there is a value for col. D, I would like to concatenate
columns D, E, and F into column G. If my formula is =CONCATENATE(D,E,F) it
doesn't work because I don't have the line numbers, but I can't format every
line with a separate formula. Is there a wildcard for the line numbers? Can I
have this formula apply to all lines of column G?
--
MichaelS



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Concatenation

Col D is a web link, Col E is an ID number, and Col F is a data number (E and
F are always the same, but D is variable). So I might have this:

Col D: http://some.com/product+name1
Col E: &id=100
Col F: &data=2500

and they should concatenate into this:
http://some.com/product+name1&id=100&data=2500

Eventually every line will have a value in Col D, but right now some lines
have a value and others don't. The existing formula is =CONCATENATE(D2,E2,F2)
with a different line number for each value in Col G that is filled in. Lines
where there is no value have no formula. Can I have a wildcard formula for
every line of Col G that will automatically fill in when a value is added to
Col D?

--
MichaelS


"Melissa" wrote:

I'm not sure I understand your question entirely but you should just copy the
formula in all rows of column G.
Perhaps you can put up some sample data with the desired result? So I can
better understand what you would like to achieve.

"MichaelS" wrote:

Thanks for your reply Melissa.

Is there a wildcard character for the line numbers, or will I need to enter
this formula with specific line numbers for all 1780 lines of column G?
--
MichaelS


"Melissa" wrote:

use this formula in column G:
=if($D1<0,concatenate(D1,E1,F1),"")

What this means is that if D is not blank, then concatenate. If it is
blank, do nothing.

"MichaelS" wrote:

I have a long spreadsheet (1780 lines) with columns A through G.

On all lines where there is a value for col. D, I would like to concatenate
columns D, E, and F into column G. If my formula is =CONCATENATE(D,E,F) it
doesn't work because I don't have the line numbers, but I can't format every
line with a separate formula. Is there a wildcard for the line numbers? Can I
have this formula apply to all lines of column G?
--
MichaelS

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 122
Default Concatenation

Hi Michael,
the IF + CONCATENATE formula would work for your case, methinks. So if you
use the formula I gave earlier in column G and copied down, these are the
results:
A B C D E F G
1 a b c x y z xyz
2 a b c y z

When you finally input a value in D2, G2 will show "xyz"

Am I in sync with your needs?

"MichaelS" wrote:

Col D is a web link, Col E is an ID number, and Col F is a data number (E and
F are always the same, but D is variable). So I might have this:

Col D: http://some.com/product+name1
Col E: &id=100
Col F: &data=2500

and they should concatenate into this:
http://some.com/product+name1&id=100&data=2500

Eventually every line will have a value in Col D, but right now some lines
have a value and others don't. The existing formula is =CONCATENATE(D2,E2,F2)
with a different line number for each value in Col G that is filled in. Lines
where there is no value have no formula. Can I have a wildcard formula for
every line of Col G that will automatically fill in when a value is added to
Col D?

--
MichaelS


"Melissa" wrote:

I'm not sure I understand your question entirely but you should just copy the
formula in all rows of column G.
Perhaps you can put up some sample data with the desired result? So I can
better understand what you would like to achieve.

"MichaelS" wrote:

Thanks for your reply Melissa.

Is there a wildcard character for the line numbers, or will I need to enter
this formula with specific line numbers for all 1780 lines of column G?
--
MichaelS


"Melissa" wrote:

use this formula in column G:
=if($D1<0,concatenate(D1,E1,F1),"")

What this means is that if D is not blank, then concatenate. If it is
blank, do nothing.

"MichaelS" wrote:

I have a long spreadsheet (1780 lines) with columns A through G.

On all lines where there is a value for col. D, I would like to concatenate
columns D, E, and F into column G. If my formula is =CONCATENATE(D,E,F) it
doesn't work because I don't have the line numbers, but I can't format every
line with a separate formula. Is there a wildcard for the line numbers? Can I
have this formula apply to all lines of column G?
--
MichaelS

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Concatenation

Ah, I see. Somewhere along the line someone pasted data into Col G, which
must have interrupted the formula. So I need to restore the continuity of the
formula to get it back. Thanks for this important clue!
--
MichaelS


" wrote:

On Sep 11, 1:37 am, MichaelS
wrote:
I have a long spreadsheet (1780 lines) with columns A through G.

On all lines where there is a value for col. D, I would like to concatenate
columns D, E, and F into column G. If my formula is =CONCATENATE(D,E,F) it
doesn't work because I don't have the line numbers, but I can't format every
line with a separate formula. Is there a wildcard for the line numbers? Can I
have this formula apply to all lines of column G?
--
MichaelS


Hey Michael

If all Rows in Column D have values, input this formula in cell G1 and
then just fill down and the line numbers will change on their own.

=CONCATENATE(D1,E1,F1)

If not all Rows in Column D have values, input this formula in cell G1
and fill down.

=IF(ISTEXT(D1),CONCATENATE(D1,E1,F1),"")

  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Concatenation

Yes, but after reading the post from a lightbulb
turned on above my head and I started to check the entries in Col G. They
were all formulas up to a point, then there was data. I think I need to
change that data back into a formula to restore the continuity that was
interrupted by data. Thanks for your help Melissa.
--
MichaelS


"Melissa" wrote:

Hi Michael,
the IF + CONCATENATE formula would work for your case, methinks. So if you
use the formula I gave earlier in column G and copied down, these are the
results:
A B C D E F G
1 a b c x y z xyz
2 a b c y z

When you finally input a value in D2, G2 will show "xyz"

Am I in sync with your needs?

"MichaelS" wrote:

Col D is a web link, Col E is an ID number, and Col F is a data number (E and
F are always the same, but D is variable). So I might have this:

Col D:
http://some.com/product+name1
Col E: &id=100
Col F: &data=2500

and they should concatenate into this:
http://some.com/product+name1&id=100&data=2500

Eventually every line will have a value in Col D, but right now some lines
have a value and others don't. The existing formula is =CONCATENATE(D2,E2,F2)
with a different line number for each value in Col G that is filled in. Lines
where there is no value have no formula. Can I have a wildcard formula for
every line of Col G that will automatically fill in when a value is added to
Col D?

--
MichaelS


"Melissa" wrote:

I'm not sure I understand your question entirely but you should just copy the
formula in all rows of column G.
Perhaps you can put up some sample data with the desired result? So I can
better understand what you would like to achieve.

"MichaelS" wrote:

Thanks for your reply Melissa.

Is there a wildcard character for the line numbers, or will I need to enter
this formula with specific line numbers for all 1780 lines of column G?
--
MichaelS


"Melissa" wrote:

use this formula in column G:
=if($D1<0,concatenate(D1,E1,F1),"")

What this means is that if D is not blank, then concatenate. If it is
blank, do nothing.

"MichaelS" wrote:

I have a long spreadsheet (1780 lines) with columns A through G.

On all lines where there is a value for col. D, I would like to concatenate
columns D, E, and F into column G. If my formula is =CONCATENATE(D,E,F) it
doesn't work because I don't have the line numbers, but I can't format every
line with a separate formula. Is there a wildcard for the line numbers? Can I
have this formula apply to all lines of column G?
--
MichaelS

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
Concatenation Muthalaly Excel Discussion (Misc queries) 2 June 24th 08 12:57 PM
Help with Concatenation Tabit Excel Worksheet Functions 8 August 17th 07 06:52 PM
Concatenation Harry Excel Worksheet Functions 2 July 17th 06 07:17 PM
Concatenation Ken Excel Discussion (Misc queries) 1 April 12th 06 11:26 AM
concatenation mattguerilla Excel Discussion (Misc queries) 3 January 26th 06 11:47 PM


All times are GMT +1. The time now is 08:42 AM.

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"