+ Reply to Thread
Results 1 to 6 of 6

Nested IFAND Formula?

  1. #1
    Registered User
    Join Date
    08-24-2007
    Posts
    52

    Nested IFAND Formula?

    I have attached an example sheet.
    I am trying to create a nested IF(AND formula and not sure what I am missing. In the attachment I explain what I am trying to accomplish.
    If there a maximum number of "nesting" allowed in a formula?

    Any help would be appreciated...

    THank you,

    John
    Attached Files Attached Files
    Last edited by Dallas6570; 05-27-2020 at 04:49 PM. Reason: Adding attachment and clarifying

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: DO I use IF(AND) or a different formula?

    if 3rd step would be IF F5 equals 4 and E1 is greater than 3360 but less than 5040 multiple 86.75*3 ...
    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    See also hint in yellow banner near the top of the page
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    08-24-2007
    Posts
    52

    Re: DO I use IF(AND) or a different formula?

    Kaper, what do I add for the results to show 0 if anything other than 4 is selected...

    I really appreciate your time!

  4. #4
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,831

    Re: Nested IFAND Formula?

    Maybe I'm not looking this right or have the wrong file, but could this formula work in cell C2 (of the file you attached in the first post)?
    =IF(A2=2,86*ROUNDDOWN(D2/300,0),"")

  5. #5
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: Nested IFAND Formula?

    If you want to show 0 then in solution by Gregb11, write 0 instead of "" and in my solution from post #2 write 0 instead of "F5<>4"

    Trying to guess where would you like the output (not obvious for me looking at the file attached) May be in column E? and relate to numbers from in the same row it could be:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    @Gregb11: Are you sure it shall be ROUNDDOWN - I'm pretty sure ROUNDUP shall be used. As I understand, for say 150 (so between 0 and 300) the result shall be already 1*86, not 0*86

  6. #6
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,831

    Re: Nested IFAND Formula?

    @Kaper - oops, you're right - good catch - it should be ROUNDUP.

+ 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. Replies: 3
    Last Post: 03-24-2020, 07:27 AM
  2. Replies: 3
    Last Post: 01-10-2019, 09:34 AM
  3. Replies: 5
    Last Post: 02-16-2018, 06:50 AM
  4. Replies: 8
    Last Post: 09-22-2017, 05:41 AM
  5. Excel formula bar to display the result of the formula , not the formula?
    By max_max in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-18-2016, 07:15 PM
  6. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  7. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 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