+ Reply to Thread
Results 1 to 9 of 9

Need help with if and formula in excel

Hybrid View

  1. #1
    Registered User
    Join Date
    06-14-2024
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    2013
    Posts
    5

    Post Need help with if and formula in excel

    Hello everyone. I am trying to calculate income tax in excel. Based on input regarding rebate, income tax is calculated. The rebate is 25%. Tax slabs are as under.
    • For amount less than 600K, tax is zero.
    • For amount between 600K and 1200K, tax is 5% of the amount exceeding 600k.
    • For amount between 1200K and 2200K, tax is 30000 plus 15% of the amount exceeding 1200K.
    • For amount between 2200K and 3200K, tax is 180,000 plus 25% of the amount exceeding 2200K.
    I am writing the formula for tax in cell B8, but it results in #VALUE! error. Can somebody please help me in figuring out the mistake. Please see attached image.error.png

  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 2406
    Posts
    44,662

    Re: Need help with if and formula in excel

    Images are no use. we cannot manipulate them. Please upload an excel file instead. Make sure that yu include expected answers, as well.
    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

  3. #3
    Registered User
    Join Date
    06-14-2024
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    2013
    Posts
    5

    Post Re: Need help with if and formula in excel

    Please see attached file. Expected answer is 285,570.25 in case of no and 214,177.69 in case of yes. Please see attached file.tax.xlsx

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

    Re: Need help with if and formula in excel

    Thanks. Ecxplain in words what the effect of the researcher rebate is. It's hard to tell from a formula that does not work!

  5. #5
    Registered User
    Join Date
    06-14-2024
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    2013
    Posts
    5

    Re: Need help with if and formula in excel

    Thanks for your response. Rebate means that if a person is availing rebate, he will have that percentage of waiver/exemption on his taxable amount. For example, if taxable amount is 100,000, he will have to pay 75,000. Hope this helps.

  6. #6
    Registered User
    Join Date
    06-14-2024
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    2013
    Posts
    5

    Re: Need help with if and formula in excel

    That is why you will see a factor of 0.75 in case of yes in formula.

  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 2406
    Posts
    44,662

    Re: Need help with if and formula in excel

    I figured it out on my own, before I saw your replies.

    1. set up a small lookup table.

    2. Use:
    =SUMPRODUCT((B6>E2:E5)*(B6-E2:E5)*(F2:F5-(N(+F1:F4)))*IF(B7="Yes",0.75,1))
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    06-14-2024
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    2013
    Posts
    5

    Re: Need help with if and formula in excel

    Extremely grateful to you for your help. Can it be done using the if and method, I was trying to do?

  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 2406
    Posts
    44,662

    Re: Need help with if and formula in excel

    Probably, yes, but it would be very complicated to do.

    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. Formula for stock cover/ days in inventory and also generate excel formula for it
    By james brownson in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-14-2021, 01:41 AM
  2. [SOLVED] VBA, User-defined formula argument referring to cell value calculated by Excel formula
    By ARAGORN II in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-23-2017, 01:57 PM
  3. 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
  4. Replies: 10
    Last Post: 12-16-2015, 03:16 PM
  5. Replies: 2
    Last Post: 03-21-2014, 11:43 AM
  6. Replies: 0
    Last Post: 03-19-2012, 07:32 PM
  7. Replies: 1
    Last Post: 03-04-2012, 12:03 AM

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