+ Reply to Thread
Results 1 to 3 of 3

Looking for a simple formula that can count sales and half sales based on text in a column

Hybrid View

  1. #1
    Registered User
    Join Date
    08-07-2023
    Location
    Georgetown, TX
    MS-Off Ver
    MS Home and Business 2016
    Posts
    13

    Looking for a simple formula that can count sales and half sales based on text in a column

    Hello

    Looking for a formula that can count sales for my sales staff on a spreadsheet where I need to also include 'split' deals, where each sales person gets a half sale instead of a full sale.

    In the attached example, I used a simple COUNTIF formula to count the sales for each sales person, but I lack the understanding of how to create the formula to count full unit sales if there is nothing in the box in column E and to count 1/2 unit sales if there is a sales person listed in both column D and E.

    On the attached example sheet, James' total sales should be 2.5 because he split the deal with Stephanie on row 7, and Stephanie's total unit count would be 3.5 because she had 3 full deals and one split deal.

    Thanks!


    Split Deals example.xlsx

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    31,172

    Re: Looking for a simple formula that can count sales and half sales based on text in a co

    Try

    Formula: copy to clipboard
    =COUNTIFS($D:$D, $I7,$E:$E,"")+(COUNTIFS($D:$D,$I7,E:E,"<>")+COUNTIFS(E:E,$I7))*0.5


    Stehanie had 2 split deals and 3 full.
    Last edited by JohnTopley; 08-18-2023 at 02:53 PM.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Registered User
    Join Date
    08-07-2023
    Location
    Georgetown, TX
    MS-Off Ver
    MS Home and Business 2016
    Posts
    13

    Re: Looking for a simple formula that can count sales and half sales based on text in a co

    Quote Originally Posted by JohnTopley View Post
    Try

    Formula: copy to clipboard
    =COUNTIFS($D:$D, $I7,$E:$E,"")+(COUNTIFS($D:$D,$I7,E:E,"<>")+COUNTIFS(E:E,$I7))*0.5


    Stehanie had 2 split deals and 3 full.

    Amazing! Thank you ... and yes, I can't count

+ 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: 2
    Last Post: 01-21-2023, 12:34 PM
  2. [SOLVED] % of sales increase/decrease depending on new 2020 sales vs 2019 sales.
    By scubakerny in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-04-2020, 08:05 PM
  3. [SOLVED] Vlookup to pull in sales data based on the month sales begins
    By adam_d_john in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 06-12-2017, 05:07 PM
  4. [SOLVED] Formula Needed to count sales on one sheet based on data in multiple cells on another
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-05-2017, 11:24 PM
  5. Replies: 2
    Last Post: 09-11-2015, 07:13 AM
  6. Replies: 6
    Last Post: 10-19-2013, 04:53 PM
  7. Replies: 2
    Last Post: 06-19-2012, 10:19 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