+ Reply to Thread
Results 1 to 6 of 6

Need to convert formula to Excel 2007 format for nested IFS

  1. #1
    Registered User
    Join Date
    06-13-2013
    Location
    Charleston, SC
    MS-Off Ver
    Excel 2010
    Posts
    75

    Need to convert formula to Excel 2007 format for nested IFS

    Hi,

    I have a spreadsheet I developed in Excel 2010 with nested if functions. When I try to save it in 2007.xls format, it says too many nested if functions and it is not supported. I need this formula converted to be compatible with excel 2007.xls

    See attached worksheet. This is the formula highlighted in orange that works now in Excel 2010. This formula is accounting for early or late retirement age regarding social security benefits and uses a benefit table as the reference. The current formula accounts for both early and late retirement as one function. Perhaps I could break it into 2 parts using an "OR" statement???

    =IF(C9<62,0,IF(C9>=70,B22*1.24,IF(C9=69,B22*1.16,IF(C9=68,B22*1.08,IF(AND(C9<C10,C9<=62),B22*0.7,IF(C9<=63,B22*0.75,IF(C9<=64,B22*0.8,IF(C9<=65,B22*0.877,IF(C9<=66,B22*0.933,B22)))))))))

    c9= age @ retirement
    c10 = full retirement age
    b22 = mthly benefit high earner

    Thanks
    HR

    ************************
    =IF(C9<=61,0,CHOOSE(MIN(10,MAX(1,C9-60)),$B$22*0.1,$B$22*0.7,$B$22*0.75,$B$22*0.8,$B$22*0.877,$B$22*0.933,$B$22,$B$22*1.08,$B$22*1.16,$B$22*1.24))
    Attached Files Attached Files
    Last edited by hmr2662; 03-12-2015 at 08:37 AM.

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Need to convert formula to Excel 2007 format for nested IFS

    Quote Originally Posted by hmr2662 View Post
    When I try to save it in 2007.xls format
    XL2007 doesn't have an .xls file format.
    XL2007's format is .xlsX or .xlsM
    XL97-2003 has the .xls format.

    The .xlsx or .xlsm IS compatible with more than 7 nested functions.

  3. #3
    Registered User
    Join Date
    06-13-2013
    Location
    Charleston, SC
    MS-Off Ver
    Excel 2010
    Posts
    75

    Re: Need to convert formula to Excel 2007 format for nested IFS

    My bad,

    I have to save it in the 97-2003 format which is .xls and does not support more than 7 nested functions. Any ideas how to solve it? I am ready to submit my total program to copyright office but saving it down to this format "breaks" the workbook because of this one formula.

    Thx
    HR

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,450

    Re: Need to convert formula to Excel 2007 format for nested IFS

    I would tend to use a lookup table rather than a series of nested ifs. https://support.office.com/en-us/art...8-93a18ad188a1

    Put all of your ages in one column, put the desired outputs in an adjacent column, then work out the VLOOKUP() function that will return the desired value for the desired age.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  5. #5
    Registered User
    Join Date
    01-30-2013
    Location
    Hobart, TAS
    MS-Off Ver
    Office 2003, XL2007
    Posts
    46

    Re: Need to convert formula to Excel 2007 format for nested IFS

    Try this formula

    C5 =CHOOSE(MIN(10,MAX(1,C9-60)),$B$22*0.1,$B$22*0.7,$B$22*0.75,$B$22*0.8,$B$22*0.877,$B$22*0.933,$B$22,$B$22*1.08,$B$22*1.16,$B$22*1.24)

    HTH

  6. #6
    Registered User
    Join Date
    06-13-2013
    Location
    Charleston, SC
    MS-Off Ver
    Excel 2010
    Posts
    75

    Re: Need to convert formula to Excel 2007 format for nested IFS

    Thanks HTH,

    That worked but I had to add an if statement for 0 benefit for any age <=61. Here is resulting formula:

    =IF(C9<=61,0,CHOOSE(MIN(10,MAX(1,C9-60)),$B$22*0.1,$B$22*0.7,$B$22*0.75,$B$22*0.8,$B$22*0.877,$B$22*0.933,$B$22,$B$22*1.08,$B$22*1.16,$B$22*1.24))

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Convert General Format to Date, Nested IF Function, If Yes then highlight row
    By woody04 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-21-2012, 05:01 AM
  2. Excel 2007 formula to convert DMS to DD (GPS coordinates)
    By shampoo in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-27-2011, 03:10 AM
  3. Replies: 3
    Last Post: 05-18-2010, 06:14 AM
  4. Convert dates like 2007.15 into standard format
    By Deviad in forum Excel General
    Replies: 9
    Last Post: 05-11-2010, 08:02 AM
  5. Excel 2007 : Nested Vlookup formula
    By merlin704 in forum Excel General
    Replies: 2
    Last Post: 10-17-2008, 04:48 PM

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