Closed Thread
Results 1 to 2 of 2

Need help in if formula

  1. #1
    Registered User
    Join Date
    08-20-2022
    Location
    Karachi
    MS-Off Ver
    16.64 for mac
    Posts
    3

    Need help in if formula

    Dear All,

    Hope you guys are doing well and fine. Basically I am trying to make an excel ledger for stocks. It works like this

    1. Suppose if I buy a security let's say "MEBL" or "IMAGE" and if I sell it same day the following commission taxes would be charged on buying only not selling, technically once sided commission and taxes as Commission, FED.

    2. If I sell the security same day only one sided commission and taxes will be charged but if I make a profit (selling price is more than buying price) CGT would be charged at13% on profit only and nothing will be charged on loss.

    3. If I sell the same security the next day it is known as roll over and then two sided commission will be charged. Same commission slab.

    4. In case of roll over roll over charges will be applied given under the roll over charges slab on per day basis like this no. of shares x price x roll over charges

    5. If I sell the same security the next day and I make a profit, commission, taxes and roll over charges will apply along with CGT on the differential amount from (Selling Price - Buying Price) but if I don't make any profit and sell it at breakeven or loss CGT will not be charged but commission and taxes will still apply along with roll over charges.

    I am trying to use nested formula but couldn't succeed, the formula which doesn't fulfils all the conditions I have used and somehow it works for only one condition, the formula is =IF(J12<20,I12*0.03,K12*0.15%).

    I'll be highly obliged if someone can help me out in this.

    Screen shot attached and excel file for reference.

    Warm regards,

    Asad
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,858

    Re: Need help in if formula

    Administrative Note:

    Welcome to the forum.

    Unfortunately, this is a duplicate thread, and you are allowed only ONE thread per issue here.

    Please see Forum Rule #5 about thread duplication.

    I am closing this thread, but you may continue here in the original thread
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

Closed 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

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