+ Reply to Thread
Results 1 to 15 of 15

IFS Function Problem

  1. #1
    Registered User
    Join Date
    03-24-2024
    Location
    Texas
    MS-Off Ver
    2021
    Posts
    7

    IFS Function Problem

    I'm trying to calculate the actual amount of tax for each tax bracket in the file. I have a formula for column E23:E29. The first portion is evaluating correctly, but when the amount falls between the two ranges in the forumula it stops. Need it to tell me what portion is taxable for each bracket. Thanks!
    Attached Files Attached Files
    Last edited by Dayhawk1222; 03-24-2024 at 12:11 PM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,064

    Re: IFS Function Problem

    You've attached the wrong file. You sample contains some shaded cells.... and nothing else!
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,064

    Re: IFS Function Problem

    Sorry!!! I just found the content. I'm having a bad-hair-day.

  4. #4
    Registered User
    Join Date
    03-24-2024
    Location
    Texas
    MS-Off Ver
    2021
    Posts
    7

    Re: IFS Function Problem

    LOL, no worries, I reposted it to make it easier to read. Deleted the top section! Thanks!

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,064

    Re: IFS Function Problem

    Rather than supplying a non-working formula, please populate the file with expected results along with an explanation of HOW you derived them.

  6. #6
    Registered User
    Join Date
    03-24-2024
    Location
    Texas
    MS-Off Ver
    2021
    Posts
    7

    Re: IFS Function Problem

    Updated the file Kenny. Shows the manual calculation I need to automate.

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,064

    Re: IFS Function Problem

    There's a much easier way to do this, with a little re-jigging of the table:

    =SUMPRODUCT(--(L14>$L$5:$L$11),--(L14-$L$5:$L$11),($M$5:$M$11-N(+$M$4:$M$10)))

    See the two yellow cells, as a check that the answer is correct.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    03-24-2024
    Location
    Texas
    MS-Off Ver
    2021
    Posts
    7

    Re: IFS Function Problem

    I don't see any yellow cells

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,064

    Re: IFS Function Problem

    Maybe I attached the wrong file. bad day...
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    03-24-2024
    Location
    Texas
    MS-Off Ver
    2021
    Posts
    7

    Re: IFS Function Problem

    Thanks Glenn, I appreciate it. Think I may have been looking at it the wrong way.

  11. #11
    Registered User
    Join Date
    03-24-2024
    Location
    Texas
    MS-Off Ver
    2021
    Posts
    7

    Re: IFS Function Problem

    I just don't understand what I was doing wrong. Not sure what I had wrong in the initial formula that made it not evaluate when the number fell between the two ranges. Seemed that the logical test for identifying when it fell between the two numbers was correct, however the "if true" statement would not compute.

  12. #12
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,064

    Re: IFS Function Problem

    Does the formula that I supplied do what you need?

  13. #13
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: IFS Function Problem

    Another proposition.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  14. #14
    Registered User
    Join Date
    03-24-2024
    Location
    Texas
    MS-Off Ver
    2021
    Posts
    7

    Re: IFS Function Problem

    Yes, it does. Thank you. The 2nd reply was just me trying to figure out why my formula wouldn't compute the 2nd logical test correctly. Trying to learn where I went wrong with it.

  15. #15
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,064

    Re: IFS Function Problem

    You're welcome. Thanks for letting us know that you got an answer.




    Please take a moment and consider clicking the "Add Reputation" button at the foot of any of the posts of anyone who helped you reach a solution here today.

    Finally, if that takes care of your original question, please click on "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

+ 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] Problem with indirect function in XIRR function
    By lynnsong986 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 01-17-2020, 05:12 PM
  2. Function problem: Function correct but not running
    By helterskelter101 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-04-2018, 10:17 AM
  3. [SOLVED] problem with sum function
    By shivya in forum Excel General
    Replies: 11
    Last Post: 10-08-2017, 10:38 AM
  4. [VBA] Problem with outmail function - function sends mails only to 1 recepient
    By sauron12 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-21-2015, 03:30 PM
  5. Replies: 6
    Last Post: 10-20-2013, 07:16 PM
  6. Problem Inserting Round function into an IF function
    By Ash87 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-11-2013, 05:37 PM
  7. Problem with MID Function
    By VICTOR5 in forum Excel General
    Replies: 5
    Last Post: 01-17-2011, 04:14 AM

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