+ Reply to Thread
Results 1 to 8 of 8

Nesting Issue

  1. #1
    Registered User
    Join Date
    01-05-2012
    Location
    Washington
    MS-Off Ver
    Excel 2010
    Posts
    4

    Nesting Issue

    I need to be able to add 28 more entries like the ones below. Can anyone help me with a formula? I know there is a way to section off the formula and then have it add together, but I'm not advanced enough to know how to do that.

    =IF((C4="Nadja"),122,IF((C4="Lu"),105,IF((C4="Nancy"),104,IF((C4="Nana"),103,IF((C4="Erin"),101,IF((C4="Jill"),102,IF((C4="Mari"),121,IF((C4="Shoko"),106,""))))))))

    The additions would be:
    Michael 109
    Yoko 110
    David Mar 111
    Shigeko 112
    Arthur 113
    Chris 114
    Jessica 115
    Brian 116
    Steve 117
    Jerry 123
    Masako 118
    Jeff 119
    Deli 1 219
    Deli 220
    Grocery 222
    Ayaka 223
    Cindy 224
    Fang 225
    Maria 227
    Stephanie 228
    Lotto 888
    Last edited by nadjadee; 01-07-2012 at 10:18 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Nesting Issue

    See http://www.contextures.com/xlfunctions02.html
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    01-05-2012
    Location
    Washington
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Nesting Issue

    Quote Originally Posted by shg View Post
    Thank you for responding. I have no idea how this link helps me, or where on the page to look for the formula I need. Again, I am not an excel pro.

  4. #4
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Nesting Issue

    Hi nadjadee

    in this case you dont have to use the ifs at all
    =(C4="Nadja")*122+(C4="Lu")*105+(C4="Nancy")*104+(C4="Nana")*103+(C4="Erin")*101+( C4="Jill")*102+(C4="Mari")*121+(C4="Shoko")*106
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  5. #5
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Nesting Issue

    or just for intrest

    =CHOOSE((C4="Nadja")*1+(C4="Lu")*2+(C4="Nancy")*3+(C4="Nana")*4+(C4="Erin")*5+(C4="Jill")*6+(C4="Mari")*7+(C4="Shoko")*8,"One","Two","Three","four","five","six","seven","Eight")

  6. #6
    Registered User
    Join Date
    01-05-2012
    Location
    Washington
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Nesting Issue

    I say this with sincere honesty, Pike, you are a genius. Thank you so much.

  7. #7
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Nesting Issue

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

  8. #8
    Registered User
    Join Date
    01-05-2012
    Location
    Washington
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Nesting Issue

    Done. And thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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