+ Reply to Thread
Results 1 to 8 of 8

Modify formula to exclude Paid Fee

  1. #1
    Registered User
    Join Date
    08-14-2012
    Location
    Sydney
    MS-Off Ver
    Microsoft 365
    Posts
    90

    Modify formula to exclude Paid Fee

    Hello, I run a spreadsheet that calculates the total number of valid sales for my photographers. This includes any "No Sales". But currently does not include sales with a deposit of less than 10%. I also wish to exclude anything that is an ancillary fee such as a Booking Fee, Session Deposit, Courier etc. These fall under Paid Fee as a status. I have attached a sample Sales spreadsheet. The final calculation is on a separate tab that references data on the Sales tab.

    This is the formula I wrote, that doesn't work. =IF(P2="No Sale",1,IF(O2="Paid Fee",0,IF(AND(G344)>=(F2*10%)),1,"NC"))

    The intention is to;
    1) Count all No Sales (Invoice Classification column P)
    2) Not count any Invoice Status that = Paid Fee
    3) Not count any sale where the deposit is less than 10% (columns F/G)

    Note that NC represents Not Counted and "1" equals valid.
    Formulas have not copied from the original.

    Hope this makes sense.

    Thx
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    12-30-2009
    Location
    US
    MS-Off Ver
    Excel 2003, 2010, 2016, 2019, & Office 365
    Posts
    194

    Re: Modify formula to exclude Paid Fee

    Hello,

    Try this formula and let me know if this works:

    =IF(AND(G5>=(F5*10%),P5="No Sale",O5<>"Paid Fee"),1,"NC")

  3. #3
    Registered User
    Join Date
    08-14-2012
    Location
    Sydney
    MS-Off Ver
    Microsoft 365
    Posts
    90

    Re: Modify formula to exclude Paid Fee

    Hi Rick, I can't get this to work. The Paid Fee seems to be the sticking point.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,768

    Re: Modify formula to exclude Paid Fee

    In what way? All of the rows in your sample contain Paid Fee, so the result should be NC for all of them.

    Look again at the description of your requirements - maybe you need to reword these.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Registered User
    Join Date
    08-14-2012
    Location
    Sydney
    MS-Off Ver
    Microsoft 365
    Posts
    90

    Re: Modify formula to exclude Paid Fee

    Hi Rick and AliGW,

    Sorry if I have confused this.

    This is how I see the formula in parts. I am now thinking that maybe each element (not sure the correct term) is OR not And.

    =IF(AND(G2>=(F2*10%) If the deposit is less than 10% > NC
    ,O2="No Sale", If it is a No Sale > 1
    O2<>"Paid Fee"),1,"NC") If O2 -Invoice Status = Paid Fee > NC

    Does that make sense?

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,768

    Re: Modify formula to exclude Paid Fee

    Not quite. Please tell us what the outcomes are that you want to see in each of the four rows of the sample WB. Give us VALUES, not formulae or explanations this time. You tell us what you want, we'll tell you how to get it.

  7. #7
    Registered User
    Join Date
    08-14-2012
    Location
    Sydney
    MS-Off Ver
    Microsoft 365
    Posts
    90

    Re: Modify formula to exclude Paid Fee

    Thanks for you help here. I am now taking a different approach. By modifying the data, I can simplify the process and achieve the required outcome. I appreciate your support very much and I apologise for the confusion and my lack of concise communication. Hopefully I will do a better job next time.

    all the very best

    North

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,768

    Re: Modify formula to exclude Paid Fee

    It probably would have been sensible, from a learning point of view, to see this through, but I am glad you found an alternative that works. Thanks for letting us know.

+ 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. Exclude password to modify from copies when using SaveCopyAs
    By jason.b75 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-02-2018, 06:33 AM
  2. Replies: 3
    Last Post: 10-30-2017, 04:33 PM
  3. [SOLVED] Paid Time Off Hours Formula
    By Robert1960 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-04-2016, 10:29 AM
  4. Replies: 5
    Last Post: 11-11-2015, 03:52 PM
  5. Formula for first date paid
    By Xsiv in forum Excel General
    Replies: 1
    Last Post: 05-06-2015, 05:27 AM
  6. Replies: 7
    Last Post: 08-14-2013, 07:04 PM
  7. [SOLVED] Modify coditional format to exclude weekends and holidays
    By mrjinx007 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-03-2012, 11:23 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