+ Reply to Thread
Results 1 to 8 of 8

IF function for PLUS has more than 64 levels of nesting

  1. #1
    Registered User
    Join Date
    09-27-2017
    Location
    Indonesia
    MS-Off Ver
    2007
    Posts
    9

    IF function for PLUS has more than 64 levels of nesting

    how to use IF like this? it more than 64 levels nesting

    =IF(C7="RNI UD",F7+30,
    F7+30,IF(C7="ZEA BARONA",
    F7+30,IF(C7="SAMA-SAMA",
    F7+30,IF(C7="JASA BARU",
    F7+30,IF(C7="RAHMAT YH UD",
    F7+30,IF(C7="HARKAT JAYA",
    F7+30,IF(C7="WONG SOLO",
    F7+30,IF(C7="RAMLI",
    F7+14
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Rizarusty; 09-27-2017 at 04:57 AM.

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: IF function for PLUS has more than 64 levels of nesting

    welcome to the forum, Rizarusty. do upload an excel sample so that we do not have to manually key in your data to do a testing. input the desired results so that we don't have to second-guess if what we are doing is correct or not. you may look at my signature to upload an eg that is easier to understand.*

    the upload attachment must be done by going to Go Advanced. click on Manage Attachments. Choose file, upload and close the window.

    it looks like all those names will result in F7+30. i didnt check every single one though. and the last part is if they are not those names, then +14? 2 ways:

    list all the possible NAMA OUTLET in column J for eg. the number to add in column K. so:
    =F7+IFERROR(VLOOKUP(C7,J:K,2,0),14)
    this will add up the days based on the name in column J and the number in column K. if it can't find the name, then it will plus 14.

    another way:
    list the possible names in column J too. but you don't have to input the numbers in column K if all of them are 30. then:
    =F7+IF(COUNTIF(J:J,C7),30,14)
    that is to add 30 if the name can be found. otherwise, add 14.
    Attached Files Attached Files

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: IF function for PLUS has more than 64 levels of nesting

    Instead of text matter, upload sample file with required result.


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  4. #4
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    696

    Re: IF function for PLUS has more than 64 levels of nesting

    =IF(OR(C7="Name 1",C7="Name 2"…so on),F7+30,F7+14)

  5. #5
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: IF function for PLUS has more than 64 levels of nesting

    or
    =IF(ISERROR(MATCH(C7,A1:An,0)),F7+14,F7+30)
    where A1:An is a range where your text names are

    you can define this range anywhere then hide column or sheet
    Last edited by sandy666; 09-27-2017 at 01:23 AM.

  6. #6
    Registered User
    Join Date
    09-27-2017
    Location
    Indonesia
    MS-Off Ver
    2007
    Posts
    9

    Re: IF function for PLUS has more than 64 levels of nesting

    Quote Originally Posted by benishiryo View Post
    welcome to the forum, Rizarusty. do upload an excel sample so that we do not have to manually key in your data to do a testing. input the desired results so that we don't have to second-guess if what we are doing is correct or not. you may look at my signature to upload an eg that is easier to understand.*

    the upload attachment must be done by going to Go Advanced. click on Manage Attachments. Choose file, upload and close the window.

    it looks like all those names will result in F7+30. i didnt check every single one though. and the last part is if they are not those names, then +14? 2 ways:

    list all the possible NAMA OUTLET in column J for eg. the number to add in column K. so:
    =F7+IFERROR(VLOOKUP(C7,J:K,2,0),14)
    this will add up the days based on the name in column J and the number in column K. if it can't find the name, then it will plus 14.

    another way:
    list the possible names in column J too. but you don't have to input the numbers in column K if all of them are 30. then:
    =F7+IF(COUNTIF(J:J,C7),30,14)
    that is to add 30 if the name can be found. otherwise, add 14.
    sorry my bad, i'm new here :D

    thnx's i'll try it, and hope its works

  7. #7
    Registered User
    Join Date
    09-27-2017
    Location
    Indonesia
    MS-Off Ver
    2007
    Posts
    9

    Re: IF function for PLUS has more than 64 levels of nesting

    TY all for u'r help.

    yes i want to make a list what my costumer deadline where i'm separate it in 2 categories 30 and 14, and i can control it which one is 30 days, and which one is 14 day. and my costumer is more than 64.
    Hope U guys know what i mean, my bad english.

  8. #8
    Registered User
    Join Date
    09-27-2017
    Location
    Indonesia
    MS-Off Ver
    2007
    Posts
    9

    Re: IF function for PLUS has more than 64 levels of nesting

    Quote Originally Posted by benishiryo View Post
    welcome to the forum, Rizarusty. do upload an excel sample so that we do not have to manually key in your data to do a testing. input the desired results so that we don't have to second-guess if what we are doing is correct or not. you may look at my signature to upload an eg that is easier to understand.*

    the upload attachment must be done by going to Go Advanced. click on Manage Attachments. Choose file, upload and close the window.

    it looks like all those names will result in F7+30. i didnt check every single one though. and the last part is if they are not those names, then +14? 2 ways:

    list all the possible NAMA OUTLET in column J for eg. the number to add in column K. so:
    =F7+IFERROR(VLOOKUP(C7,J:K,2,0),14)
    this will add up the days based on the name in column J and the number in column K. if it can't find the name, then it will plus 14.

    another way:
    list the possible names in column J too. but you don't have to input the numbers in column K if all of them are 30. then:
    =F7+IF(COUNTIF(J:J,C7),30,14)
    that is to add 30 if the name can be found. otherwise, add 14.
    TY, it works, i use this one:

    =F7+IFERROR(VLOOKUP(C7,XFC:XFD,2,0),14)

+ 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. [SOLVED] ¨...more than 64 levels of nesting¨ Help?
    By 1.9tdiaxr in forum Excel Formulas & Functions
    Replies: 21
    Last Post: 08-11-2022, 04:50 PM
  2. IF function has more than 64 levels of nesting
    By pdalvara in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 09-27-2017, 12:33 AM
  3. [SOLVED] levels of nesting help
    By jamiemu in forum Excel General
    Replies: 4
    Last Post: 05-15-2012, 06:44 PM
  4. maximum levels of nesting if
    By mkb_cma in forum Excel General
    Replies: 6
    Last Post: 02-11-2012, 04:04 AM
  5. levels of nesting
    By buddydubbo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-02-2011, 01:29 AM
  6. Levels of Nesting more than 7
    By Bigwilliewilcox in forum Excel General
    Replies: 5
    Last Post: 12-04-2010, 05:14 AM
  7. too many levels of nesting
    By gss in forum Excel General
    Replies: 7
    Last Post: 04-02-2009, 09:01 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