Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default nested function

hi,
can you let me know please, how deep (how many level) this function is
nested?
=IF(B51F51;CONCATENATE("";D51);IF(B51<F46;CONCAT ENATE("<";D46);
(10^(FORECAST(B51;OFFSET(E45;D52-1;;2);OFFSET(F45;D52-1;;2))))))

The nesting shouldn't be more than double, otherwise I have to
validate my excel spreadsheet at work before using it.

thanks
Sar
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 226
Default nested function

wiasta explained :
hi,
can you let me know please, how deep (how many level) this function is
nested?
=IF(B51F51;CONCATENATE("";D51);IF(B51<F46;CONCAT ENATE("<";D46);
(10^(FORECAST(B51;OFFSET(E45;D52-1;;2);OFFSET(F45;D52-1;;2))))))

The nesting shouldn't be more than double, otherwise I have to
validate my excel spreadsheet at work before using it.

thanks
Sar


First thing I see here is that you are using ";" to separate your args,
which doesn't work. Use a comma.

You can safely 'nest' up to 7 IF() functions without any problems (in
most cases). If you need more than that then you'll have to put Defined
names to use so it handles a greater number of IFs for you. For
example, you could put your last FALSE condition in a named formula:

In the namebox:
'Sheet Name'!BuildForecast

In the RefersTo box:
=10^(FORECAST(B51;OFFSET(E45;D52-1;;2);OFFSET(F45;D52-1;;2)))

You could also do similar with your CONCATENATE() conditions:

In the namebox:
'Sheet Name'!MakeGreaterThan

In the RefersTo box:
=CONCATENATE("", D51)
</

In the namebox:
'Sheet Name'!MakeLessThan

In the RefersTo box:
=CONCATENATE("<", D46)

The resulting formula:
=IF(B51F51,MakeGreaterThan,IF(B51<F46,MakeLessTha n,BuildForecast))

HTH

--
Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default nested function

On 16 Jun., 21:51, GS wrote:
wiasta explained :

hi,
can you let me know please, how deep (how many level) this function is
nested?
=IF(B51F51;CONCATENATE("";D51);IF(B51<F46;CONCAT ENATE("<";D46);
(10^(FORECAST(B51;OFFSET(E45;D52-1;;2);OFFSET(F45;D52-1;;2))))))


The nesting shouldn't be more than double, otherwise I have to
validate my excel spreadsheet at work before using it.


thanks
Sar


First thing I see here is that you are using ";" to separate your args,
which doesn't work. Use a comma.

You can safely 'nest' up to 7 IF() functions without any problems (in
most cases). If you need more than that then you'll have to put Defined
names to use so it handles a greater number of IFs for you. For
example, you could put your last FALSE condition in a named formula:

* In the namebox:
* * 'Sheet Name'!BuildForecast

* In the RefersTo box:
* * =10^(FORECAST(B51;OFFSET(E45;D52-1;;2);OFFSET(F45;D52-1;;2)))

You could also do similar with your CONCATENATE() conditions:

* In the namebox:
* * 'Sheet Name'!MakeGreaterThan

* In the RefersTo box:
* * =CONCATENATE("", D51)
</

* In the namebox:
* * 'Sheet Name'!MakeLessThan

* In the RefersTo box:
* * =CONCATENATE("<", D46)

The resulting formula:
* =IF(B51F51,MakeGreaterThan,IF(B51<F46,MakeLessTha n,BuildForecast))

HTH


thank you, but I still do not know how many this function is nested!
Is that more than double neting?
=IF(B51F51;CONCATENATE("";D51);IF(B51<F46;CONCAT ENATE("<";D46);
(10^(FORECAST(B51;OFFSET(E45;D52-1;;2);OFFSET(F45;D52-1;;2))))))
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 226
Default nested function

wiasta formulated on Wednesday :
On 16 Jun., 21:51, GS wrote:
wiasta explained :

hi,
can you let me know please, how deep (how many level) this function is
nested?
=IF(B51F51;CONCATENATE("";D51);IF(B51<F46;CONCAT ENATE("<";D46);
(10^(FORECAST(B51;OFFSET(E45;D52-1;;2);OFFSET(F45;D52-1;;2))))))
The nesting shouldn't be more than double, otherwise I have to
validate my excel spreadsheet at work before using it.
thanks
Sar


First thing I see here is that you are using ";" to separate your args,
which doesn't work. Use a comma.

You can safely 'nest' up to 7 IF() functions without any problems (in
most cases). If you need more than that then you'll have to put Defined
names to use so it handles a greater number of IFs for you. For
example, you could put your last FALSE condition in a named formula:

* In the namebox:
* * 'Sheet Name'!BuildForecast

* In the RefersTo box:
* * =10^(FORECAST(B51;OFFSET(E45;D52-1;;2);OFFSET(F45;D52-1;;2)))

You could also do similar with your CONCATENATE() conditions:

* In the namebox:
* * 'Sheet Name'!MakeGreaterThan

* In the RefersTo box:
* * =CONCATENATE("", D51)
</

* In the namebox:
* * 'Sheet Name'!MakeLessThan

* In the RefersTo box:
* * =CONCATENATE("<", D46)

The resulting formula:
* =IF(B51F51,MakeGreaterThan,IF(B51<F46,MakeLessTha n,BuildForecast))

HTH


thank you, but I still do not know how many this function is nested!
Is that more than double neting?
=IF(B51F51;CONCATENATE("";D51);IF(B51<F46;CONCAT ENATE("<";D46);
(10^(FORECAST(B51;OFFSET(E45;D52-1;;2);OFFSET(F45;D52-1;;2))))))


It has 1 nested IF() inside the initial IF(). Not sure how you
interpret "double nested" but I'd say it's single nested in that
there's only one IF() "nested". Basically, count the IFs to determine
the level of nesting. Usually, a single IF is not considered a "nested"
construct and so a "double nested" IF() construct would have 2 IFs
nested inside a single IF().<IMO

--
Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default nested function

On 16 Jun., 23:42, GS wrote:
wiasta formulated on Wednesday :





On 16 Jun., 21:51, GS wrote:
wiasta explained :


hi,
can you let me know please, how deep (how many level) this function is
nested?
=IF(B51F51;CONCATENATE("";D51);IF(B51<F46;CONCAT ENATE("<";D46);
(10^(FORECAST(B51;OFFSET(E45;D52-1;;2);OFFSET(F45;D52-1;;2))))))
The nesting shouldn't be more than double, otherwise I have to
validate my excel spreadsheet at work before using it.
thanks
Sar


First thing I see here is that you are using ";" to separate your args,
which doesn't work. Use a comma.


You can safely 'nest' up to 7 IF() functions without any problems (in
most cases). If you need more than that then you'll have to put Defined
names to use so it handles a greater number of IFs for you. For
example, you could put your last FALSE condition in a named formula:


In the namebox:
'Sheet Name'!BuildForecast


In the RefersTo box:
=10^(FORECAST(B51;OFFSET(E45;D52-1;;2);OFFSET(F45;D52-1;;2)))


You could also do similar with your CONCATENATE() conditions:


In the namebox:
'Sheet Name'!MakeGreaterThan


In the RefersTo box:
=CONCATENATE("", D51)
</


In the namebox:
'Sheet Name'!MakeLessThan


In the RefersTo box:
=CONCATENATE("<", D46)


The resulting formula:
=IF(B51F51,MakeGreaterThan,IF(B51<F46,MakeLessTha n,BuildForecast))


HTH


thank you, but I still do not know how many this function is nested!
Is that more than double neting?
=IF(B51F51;CONCATENATE("";D51);IF(B51<F46;CONCAT ENATE("<";D46);
(10^(FORECAST(B51;OFFSET(E45;D52-1;;2);OFFSET(F45;D52-1;;2))))))


It has 1 nested IF() inside the initial IF(). Not sure how you
interpret "double nested" but I'd say it's single nested in that
there's only one IF() "nested". Basically, count the IFs to determine
the level of nesting. Usually, a single IF is not considered a "nested"
construct and so a "double nested" IF() construct would have 2 IFs
nested inside a single IF().<IMO

--
Garry

Free usenet access athttp://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc- Zitierten Text ausblenden -

- Zitierten Text anzeigen -


Garry, thanks a lot!
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 do I do a TODAY() Function within a Nested IF AND Function Jennifer E Excel Discussion (Misc queries) 1 April 11th 10 12:15 PM
Nested IF function Littlerose210 Excel Discussion (Misc queries) 3 April 8th 08 05:45 AM
can you nested sum and round function within if function? anna Excel Worksheet Functions 4 May 27th 06 06:06 AM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
Nested IF Function, Date Comparing, and NetworkDays Function carl Excel Worksheet Functions 2 December 29th 04 09:57 PM


All times are GMT +1. The time now is 03:38 AM.

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"