Excel formulasHack 29
    =CHOOSE function
    cell reference
    data analysis

    Excel CHOOSE() Function: Replace Nested IFs with a Cleaner Formula

    Excel Hack #29

    6 views
    1 min read
    2018-01-22
    Excel CHOOSE() Function: Replace Nested IFs with a Cleaner Formula

    =IF(A1=1,"Excellent",IF(A1=2,"Very Good",IF(A1=3,"Good",IF(A1=4,"Average",...))))))) Does the above line of code look familiar to you? If so, then you need to get acquainted with the =CHOOSE() functio...

    =IF(A1=1,"Excellent",IF(A1=2,"Very Good",IF(A1=3,"Good",IF(A1=4,"Average",...))))))) Does the above line of code look familiar to you? If so, then you need to get acquainted with the =CHOOSE() function in MS Excel. The =CHOOSE() function returns an item once its relative position on a list matches its index number input. It can take several values, and save users the stress of creating infinite nested IFs to get a similar job done. For example, the above code can be simply re-written as the below:
    =CHOOSE(A1,"Excellent","Very Good","Good", "Average"...)
    or better yet, if the list items were in a column range from, say H2:H5
    =CHOOSE(A1,H2,H3,H4,H5)

    Frequently Asked Questions