Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Number of Characters for a formula

I was wondering if there is a maximum number of characters that a formula can
be?

Like 255 or 360??

Thanks.
Fred
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default Number of Characters for a formula

1024 characters: http://office.microsoft.com/en-us/ex...992911033.aspx

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"Fred "Djinn" Holstings" wrote:

I was wondering if there is a maximum number of characters that a formula can
be?

Like 255 or 360??

Thanks.
Fred

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Number of Characters for a formula

What can I do if I have a formula that greatly exceeds that limit? If there a
way I can store portions of the formula in different areas and then do some
sort of concatenation?



"Dave F" wrote:

1024 characters: http://office.microsoft.com/en-us/ex...992911033.aspx

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"Fred "Djinn" Holstings" wrote:

I was wondering if there is a maximum number of characters that a formula can
be?

Like 255 or 360??

Thanks.
Fred

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default Number of Characters for a formula

You can split a formula up among separate cells, and have each cell perform
its own calculation. Then, in another cell, reference those two (or three)
cells for your final calculation.

Also, you could download the Trial version of XL 2007, which greatly
increases the length of XL formulas.

Finally, you could describe what you're trying to do in a response to this
post, and perhaps someone can come up with a more efficient way of getting
done what you're trying to do. Frankly, I have never seen a legitimate need
for an exceptionally long formula, in which there was no way to accomplish
the same thing in a more compact syntax. Of course, I can be proven wrong
here.

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"Fred "Djinn" Holstings" wrote:

What can I do if I have a formula that greatly exceeds that limit? If there a
way I can store portions of the formula in different areas and then do some
sort of concatenation?



"Dave F" wrote:

1024 characters: http://office.microsoft.com/en-us/ex...992911033.aspx

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"Fred "Djinn" Holstings" wrote:

I was wondering if there is a maximum number of characters that a formula can
be?

Like 255 or 360??

Thanks.
Fred

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 347
Default Number of Characters for a formula

Hi,

One possible solution would be to use named ranges. Let's say you wanted to
lookup a cell from the range A1:B100 of the worksheet named January, the
normal formula would be =VLOOKUP(A1,January!A1:B100,2,0) but if you name that
range say "rng1" then it could be shorten to =VLOOKUP(A1,rng1,2,0), this is
just an example but if you have to reference another sheet in your formula 4
or 5 times it would shorten it quite a bit.

HTH
Jean-Guy

"Fred "Djinn" Holstings" wrote:

What can I do if I have a formula that greatly exceeds that limit? If there a
way I can store portions of the formula in different areas and then do some
sort of concatenation?



"Dave F" wrote:

1024 characters: http://office.microsoft.com/en-us/ex...992911033.aspx

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"Fred "Djinn" Holstings" wrote:

I was wondering if there is a maximum number of characters that a formula can
be?

Like 255 or 360??

Thanks.
Fred



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Number of Characters for a formula

That sounds promising but if you would could you explain what some of the
sections mean?

=VLOOKUP(A1,January!A1:B100,2,0) -- What does the first A1 mean? I get the
January!A1:B100 but what does the ,2,0 mean and what if I have multiple cell
to lookup/reference? Like I brake the code up into five sections so that I
have a sheet named DataCode and cell b3 has one fifth of the code b4 has the
second section and so forth?


Thanks Much!
Fred



"pinmaster" wrote:

Hi,

One possible solution would be to use named ranges. Let's say you wanted to
lookup a cell from the range A1:B100 of the worksheet named January, the
normal formula would be =VLOOKUP(A1,January!A1:B100,2,0) but if you name that
range say "rng1" then it could be shorten to =VLOOKUP(A1,rng1,2,0), this is
just an example but if you have to reference another sheet in your formula 4
or 5 times it would shorten it quite a bit.

HTH
Jean-Guy

"Fred "Djinn" Holstings" wrote:

What can I do if I have a formula that greatly exceeds that limit? If there a
way I can store portions of the formula in different areas and then do some
sort of concatenation?



"Dave F" wrote:

1024 characters: http://office.microsoft.com/en-us/ex...992911033.aspx

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"Fred "Djinn" Holstings" wrote:

I was wondering if there is a maximum number of characters that a formula can
be?

Like 255 or 360??

Thanks.
Fred

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 347
Default Number of Characters for a formula

Hi,

The formula I gave was only meant as an example to show how using named
ranges could reduce the lenght of the formula, it was not meant as a
suggestion since we don't know what you're trying to do. Perhaps if you
posted your original formula, people might get a better understanding of what
your trying to do. If you want to learn more about named ranges check the
link below.

http://www.contextures.com/xlNames01.html

HTH
Jean-Guy

"Fred "Djinn" Holstings" wrote:

That sounds promising but if you would could you explain what some of the
sections mean?

=VLOOKUP(A1,January!A1:B100,2,0) -- What does the first A1 mean? I get the
January!A1:B100 but what does the ,2,0 mean and what if I have multiple cell
to lookup/reference? Like I brake the code up into five sections so that I
have a sheet named DataCode and cell b3 has one fifth of the code b4 has the
second section and so forth?


Thanks Much!
Fred



"pinmaster" wrote:

Hi,

One possible solution would be to use named ranges. Let's say you wanted to
lookup a cell from the range A1:B100 of the worksheet named January, the
normal formula would be =VLOOKUP(A1,January!A1:B100,2,0) but if you name that
range say "rng1" then it could be shorten to =VLOOKUP(A1,rng1,2,0), this is
just an example but if you have to reference another sheet in your formula 4
or 5 times it would shorten it quite a bit.

HTH
Jean-Guy

"Fred "Djinn" Holstings" wrote:

What can I do if I have a formula that greatly exceeds that limit? If there a
way I can store portions of the formula in different areas and then do some
sort of concatenation?



"Dave F" wrote:

1024 characters: http://office.microsoft.com/en-us/ex...992911033.aspx

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"Fred "Djinn" Holstings" wrote:

I was wondering if there is a maximum number of characters that a formula can
be?

Like 255 or 360??

Thanks.
Fred

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
How to convert a month to a quarter ...... Epinn New Users to Excel 26 May 3rd 23 07:45 PM
Find value in array Brook6 Excel Worksheet Functions 26 January 30th 07 09:40 PM
COUNTIF in between rows Vasilis Tergen Excel Worksheet Functions 20 January 13th 07 10:22 PM
Formula for current month minus one = Quarter number in a macro. Pank Excel Discussion (Misc queries) 11 June 22nd 05 02:47 PM
Looking for function or formula to calculate number that is revers Ken Excel Worksheet Functions 2 February 7th 05 11:18 AM


All times are GMT +1. The time now is 08:35 PM.

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"