Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Formula Not Found - Urgent!

Hi ppl,

A B C D E F G
a s d f

I've tried =text(A1:G1,"GENERAL") in order to put together the value from
the prefered range but not working. So, I've to go trough using
=A1&B1&C1&D1&E1&F1&G1 to get "asdf" in cell A2.

Is there any formula that is much simple to use? Because there were more
cell to be occupied using the similar formula.

Thanks in advance.



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 216
Default Formula Not Found - Urgent!

NO, you have to do it that way as TEXT cannot work on an array, nor can
CONCATENATE.

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"Harley D" <[email protected] wrote in message
...
Hi ppl,

A B C D E F G
a s d f

I've tried =text(A1:G1,"GENERAL") in order to put together the value from
the prefered range but not working. So, I've to go trough using
=A1&B1&C1&D1&E1&F1&G1 to get "asdf" in cell A2.

Is there any formula that is much simple to use? Because there were more
cell to be occupied using the similar formula.

Thanks in advance.





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Formula Not Found - Urgent!

Hi Bob,

If possible, please help me with custom functions

Sincerely

"Bob Phillips" wrote in message
...
NO, you have to do it that way as TEXT cannot work on an array, nor can
CONCATENATE.

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"Harley D" <[email protected] wrote in message
...
Hi ppl,

A B C D E F G
a s d f

I've tried =text(A1:G1,"GENERAL") in order to put together the value from
the prefered range but not working. So, I've to go trough using
=A1&B1&C1&D1&E1&F1&G1 to get "asdf" in cell A2.

Is there any formula that is much simple to use? Because there were more
cell to be occupied using the similar formula.

Thanks in advance.







  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Formula Not Found - Urgent!

=A1&B1&C1&D1&E1&F1&G1
is about as simple as it gets.


Your first formula will not work as you have observed.
Nor will
=CONCATENATE(A1:G1)
work.
--
Regards,
Tom Ogilvy


"Harley D" wrote:

Hi ppl,

A B C D E F G
a s d f

I've tried =text(A1:G1,"GENERAL") in order to put together the value from
the prefered range but not working. So, I've to go trough using
=A1&B1&C1&D1&E1&F1&G1 to get "asdf" in cell A2.

Is there any formula that is much simple to use? Because there were more
cell to be occupied using the similar formula.

Thanks in advance.




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Formula Not Found - Urgent!

Here is a custom function for you...

Public Function Concat(ByVal CellRange As Range) As String
Dim rng As Range

For Each rng In CellRange
Concat = Concat & rng.Value
Next rng
End Function

You can use that in a spreadsheet as you want to...

=Concat(A1:G1)
--
HTH...

Jim Thomlinson


"Harley D" wrote:

Hi Bob,

If possible, please help me with custom functions

Sincerely

"Bob Phillips" wrote in message
...
NO, you have to do it that way as TEXT cannot work on an array, nor can
CONCATENATE.

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"Harley D" <[email protected] wrote in message
...
Hi ppl,

A B C D E F G
a s d f

I've tried =text(A1:G1,"GENERAL") in order to put together the value from
the prefered range but not working. So, I've to go trough using
=A1&B1&C1&D1&E1&F1&G1 to get "asdf" in cell A2.

Is there any formula that is much simple to use? Because there were more
cell to be occupied using the similar formula.

Thanks in advance.










  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Many Thanks

Thanks Jim,

Your given samples works better. That should heal my headace, and save me
alot.

Thanks again.

ps. Thanks to everyone who have respond to this message.

"Jim Thomlinson" wrote in message
...
Here is a custom function for you...

Public Function Concat(ByVal CellRange As Range) As String
Dim rng As Range

For Each rng In CellRange
Concat = Concat & rng.Value
Next rng
End Function

You can use that in a spreadsheet as you want to...

=Concat(A1:G1)
--
HTH...

Jim Thomlinson


"Harley D" wrote:

Hi Bob,

If possible, please help me with custom functions

Sincerely

"Bob Phillips" wrote in message
...
NO, you have to do it that way as TEXT cannot work on an array, nor can
CONCATENATE.

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"Harley D" <[email protected] wrote in message
...
Hi ppl,

A B C D E F G
a s d f

I've tried =text(A1:G1,"GENERAL") in order to put together the value
from
the prefered range but not working. So, I've to go trough using
=A1&B1&C1&D1&E1&F1&G1 to get "asdf" in cell A2.

Is there any formula that is much simple to use? Because there were
more
cell to be occupied using the similar formula.

Thanks in advance.










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
URGENT HELP - SUM FORMULA Michelle Excel Worksheet Functions 5 January 6th 12 01:25 AM
Formula have a VLOOKUP but want it to =0 if no value is found Nicole Excel Worksheet Functions 3 October 26th 09 05:20 AM
Excel 2002 Formula: Urgent Conditional Formula Required Right Away - if possible blue[_2_] Excel Discussion (Misc queries) 2 July 11th 07 06:08 PM
URGENT -- search in string for a value in another column, if found, return value from next column samkshah Excel Programming 4 October 3rd 05 04:13 PM
Formula to identify what was NOT found Arla M Excel Worksheet Functions 1 February 10th 05 03:09 PM


All times are GMT +1. The time now is 08:15 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"