+ Reply to Thread
Results 1 to 3 of 3

ENTER EXCEL FORMULA WITH MORE THAN 7 NESTED FUNCTIONS

  1. #1
    Linda Bolton
    Guest

    ENTER EXCEL FORMULA WITH MORE THAN 7 NESTED FUNCTIONS

    I am entering and IF expression with more than 7 nested functions. Is there
    another way to enter formula which would work?

    =IF(AG6<6,AF6,IF(AG6=6,AF6-1,IF(AG6=7,AF6-2,IF(AG6=8,AF6-3,IF(AG6=9,AF6-4,IF(AG6=10,AF6-5,IF(AG6=11,AF6-6IF(AG6=12,AF6-7,IF(AG6=13,AF6-8,IF(AG6=14,AF6-9,IF(AG6>14,0))))))))))))

  2. #2
    Ron Rosenfeld
    Guest

    Re: ENTER EXCEL FORMULA WITH MORE THAN 7 NESTED FUNCTIONS

    On Fri, 14 Jan 2005 03:09:02 -0800, Linda Bolton <Linda
    [email protected]> wrote:

    >I am entering and IF expression with more than 7 nested functions. Is there
    >another way to enter formula which would work?
    >
    >=IF(AG6<6,AF6,IF(AG6=6,AF6-1,IF(AG6=7,AF6-2,IF(AG6=8,AF6-3,IF(AG6=9,AF6-4,IF(AG6=10,AF6-5,IF(AG6=11,AF6-6IF(AG6=12,AF6-7,IF(AG6=13,AF6-8,IF(AG6=14,AF6-9,IF(AG6>14,0))))))))))))



    You can not nest more than seven functions in Excel, so a different approach
    must be used.

    If AG6 will always be an integer, then:

    =AF6+MAX(-9,MIN(0,5-AG6))

    should give the equivalent result.

    If AG6 might not always be an integer, then you need to post back with what you
    would like to do in that event.


    --ron

  3. #3
    Bob Phillips
    Guest

    Re: ENTER EXCEL FORMULA WITH MORE THAN 7 NESTED FUNCTIONS

    Hi Linda,

    You can't do that, as you see, but try this formula

    =IF(AF6>14,0,IF(AF6<6,AF6,AF6-MATCH(AG6-5,{1,2,3,4,5,6,7,8,9},0)))

    --
    HTH

    -------

    Bob Phillips
    "Linda Bolton" <Linda [email protected]> wrote in message
    news:[email protected]...
    > I am entering and IF expression with more than 7 nested functions. Is

    there
    > another way to enter formula which would work?
    >
    >

    =IF(AG6<6,AF6,IF(AG6=6,AF6-1,IF(AG6=7,AF6-2,IF(AG6=8,AF6-3,IF(AG6=9,AF6-4,IF
    (AG6=10,AF6-5,IF(AG6=11,AF6-6IF(AG6=12,AF6-7,IF(AG6=13,AF6-8,IF(AG6=14,AF6-9
    ,IF(AG6>14,0))))))))))))



+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1