Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jakob
 
Posts: n/a
Default Creating large formulas in Excel

How can I create large formulas without getting the error message "formula is
too long" in Excel? Is there any way to extend this limit?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Creating large formulas in Excel

You have to break it down, either put part of the formula in another cell
and reference that in the final formula, or create a name for the partial
formula, and use that.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Jakob" wrote in message
...
How can I create large formulas without getting the error message "formula

is
too long" in Excel? Is there any way to extend this limit?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Stefi
 
Posts: n/a
Default Creating large formulas in Excel

Hi Bob,
Do you mean creating a name for the cell containing the partial formula and
use this name in the final formula, or is there another way which is new for
me?

Regards,
Stefi


€˛Bob Phillips€¯ ezt Ć*rta:

You have to break it down, either put part of the formula in another cell
and reference that in the final formula, or create a name for the partial
formula, and use that.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Jakob" wrote in message
...
How can I create large formulas without getting the error message "formula

is
too long" in Excel? Is there any way to extend this limit?




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete_UK
 
Posts: n/a
Default Creating large formulas in Excel

You could try this link:

http://www.cpearson.com/excel/nested.htm

which explains how you can overcome the limit of nested functions by
making use of named formulae.

Hope this helps.

Pete

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Creating large formulas in Excel

What I mean is say we have this formula

=IF(ISNA(VLOOKUP($A$1,$M$1:$O$20,2,FALSE)),"",VLOO KUP($A$1,$M$1:$O$20,2,FALS
E))

as a fairly trivial example. You could create an Excel name
(InsertNameDefine...) with a name of say lookup_rate and a Refersto value
of =VLOOKUP($A$1,$M$1:$O$20,2,FALSE), and then you can use the in-cell
formula of

=IF(ISNA(lookup_rate),"",lookup_rate)

which helps with 7 nested functions, and makes it more readable.

As a real-world example, I created this formula to extract leading or
trailing numbers from a mixed number/text cell value

=IF(ISNUMBER(1*LEFT(A1,1)),MID(A1,MIN(IF(ISERROR(1 *(MID(A1,ROW(INDIRECT("A1:
A"&LEN(A1))),1))),
255,ROW(INDIRECT("A1:A"&LEN(A1))))),99),"wrong")

and it threw a wobbly on the LEN. I created an Excel name of pos_array with
a value of =ROW(INDIRECT("A1:A"&LEN(A1))) and then used a formula of

=IF(ISNUMBER(1*LEFT(A1,1)),MID(A1,MIN(IF(ISERROR(1 *(MID(A1,pos_array,1))),25
5,pos_array)),99),"wrong")

which worked fine.


--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Stefi" wrote in message
...
Hi Bob,
Do you mean creating a name for the cell containing the partial formula

and
use this name in the final formula, or is there another way which is new

for
me?

Regards,
Stefi


"Bob Phillips" ezt ķrta:

You have to break it down, either put part of the formula in another

cell
and reference that in the final formula, or create a name for the

partial
formula, and use that.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Jakob" wrote in message
...
How can I create large formulas without getting the error message

"formula
is
too long" in Excel? Is there any way to extend this limit?








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Stefi
 
Posts: n/a
Default Creating large formulas in Excel

Thanks Bob for your thorough explanation, this facility is very useful and
was really new for me!

Regards,
Stefi


€˛Bob Phillips€¯ ezt Ć*rta:

What I mean is say we have this formula

=IF(ISNA(VLOOKUP($A$1,$M$1:$O$20,2,FALSE)),"",VLOO KUP($A$1,$M$1:$O$20,2,FALS
E))

as a fairly trivial example. You could create an Excel name
(InsertNameDefine...) with a name of say lookup_rate and a Refersto value
of =VLOOKUP($A$1,$M$1:$O$20,2,FALSE), and then you can use the in-cell
formula of

=IF(ISNA(lookup_rate),"",lookup_rate)

which helps with 7 nested functions, and makes it more readable.

As a real-world example, I created this formula to extract leading or
trailing numbers from a mixed number/text cell value

=IF(ISNUMBER(1*LEFT(A1,1)),MID(A1,MIN(IF(ISERROR(1 *(MID(A1,ROW(INDIRECT("A1:
A"&LEN(A1))),1))),
255,ROW(INDIRECT("A1:A"&LEN(A1))))),99),"wrong")

and it threw a wobbly on the LEN. I created an Excel name of pos_array with
a value of =ROW(INDIRECT("A1:A"&LEN(A1))) and then used a formula of

=IF(ISNUMBER(1*LEFT(A1,1)),MID(A1,MIN(IF(ISERROR(1 *(MID(A1,pos_array,1))),25
5,pos_array)),99),"wrong")

which worked fine.


--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Stefi" wrote in message
...
Hi Bob,
Do you mean creating a name for the cell containing the partial formula

and
use this name in the final formula, or is there another way which is new

for
me?

Regards,
Stefi


"Bob Phillips" ezt Ć*rta:

You have to break it down, either put part of the formula in another

cell
and reference that in the final formula, or create a name for the

partial
formula, and use that.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Jakob" wrote in message
...
How can I create large formulas without getting the error message

"formula
is
too long" in Excel? Is there any way to extend this limit?






  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Duke Carey
 
Posts: n/a
Default Creating large formulas in Excel

No, you can't extend the limit, but there are several clever things you can
do. Post your faulty formula and you'll get plenty of help

"Jakob" wrote:

How can I create large formulas without getting the error message "formula is
too long" in Excel? Is there any way to extend this limit?

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rawxl1
 
Posts: n/a
Default Creating large formulas in Excel


If you can, split up formula in 2 cells and combine the result in

another cell of possible.

Good luck


--
Rawxl1
------------------------------------------------------------------------
Rawxl1's Profile: http://www.excelforum.com/member.php...o&userid=30673
View this thread: http://www.excelforum.com/showthread...hreadid=520071

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
creating IF formulas in excel Kowalskii Excel Discussion (Misc queries) 2 July 27th 05 05:05 PM
Putting Excel formatting and/or formulas into CSV file Frank D. Nicodem, Jr. Excel Discussion (Misc queries) 1 July 11th 05 10:18 PM
creating many invoices with excel data creating many invoices from excel data Excel Discussion (Misc queries) 1 May 2nd 05 03:48 AM
Large Excel file size, no pivot tables SP Excel Discussion (Misc queries) 1 April 20th 05 09:30 PM
How do I get to master Excel functions and formulas? Basabjit Chowdhury Excel Worksheet Functions 3 December 29th 04 08:15 PM


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