+ Reply to Thread
Results 1 to 6 of 6

i need formula to calculate sales of sum,count,AVERAGE

  1. #1
    Forum Contributor
    Join Date
    07-21-2011
    Location
    Bangalore,India
    MS-Off Ver
    Excel 2007,2010,2016
    Posts
    695

    i need formula to calculate sales of sum,count,AVERAGE

    dear all

    i need a help on excel formula to calculate from 2 way value as look up

    i have set of sales data from day 1 to 14 days for 2 companies into range

    i need a formula to calculate across wizard of row(dealer name) and column (Item Name)

    find the attachment

    Thanks
    jack
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,450

    Re: i need formula to calculate sales of sum,count,AVERAGE

    Why have you posted in the VBA section? Was this a mistake? If so, I can move the formula for you.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    07-21-2011
    Location
    Bangalore,India
    MS-Off Ver
    Excel 2007,2010,2016
    Posts
    695

    Re: i need formula to calculate sales of sum,count,AVERAGE

    yes it need to be formula section

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,879

    Re: i need formula to calculate sales of sum,count,AVERAGE

    Perhaps this will help.
    1. For Total Count of Sales: =SUMPRODUCT(($B$5:$O$5=B$25)*(ISNUMBER($B7:$O7)))
    2. For Total Sales**: =SUM(IFERROR(($B$5:$O$5=B$25)*($B7:$O7),0))
    3. For Total Nil: =SUMPRODUCT(($B$5:$O$5=B$25)*($B7:$O7="nil"))
    4. For Total Returns: =SUMPRODUCT(($B$5:$O$5=B$25)*($B7:$O7="return"))
    5. For Average: =C29/B29
    Note that row 25 is populated using: =IF(B26<>"",TRIM(LEFT(B26,SEARCH("sales",B26)-1)),A25)
    **Denotes an array formula which is not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Forum Contributor
    Join Date
    07-21-2011
    Location
    Bangalore,India
    MS-Off Ver
    Excel 2007,2010,2016
    Posts
    695

    Re: i need formula to calculate sales of sum,count,AVERAGE

    Hi Experts,excuse me for delay reply Thanks for formula, its works perfectly 100%

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,879

    Re: i need formula to calculate sales of sum,count,AVERAGE

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

+ 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 to calculate the average weekly sales by quarter
    By Dial1 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-20-2016, 09:11 PM
  2. Count average sales of distinct stores in excel
    By eastofwestla in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-07-2016, 10:32 AM
  3. Calculate average sales without cancellations
    By cstru88 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-06-2015, 07:29 AM
  4. Formula to check if a product is on promotion and calculate average sales
    By CA_needing_help in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-26-2015, 08:13 AM
  5. formula in Excel to calculate rolling daily average of sales total by date
    By Geekgurl in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-17-2014, 05:30 PM
  6. Count, calculate, and graph sales of unique items over time
    By seerauber in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-25-2013, 07:53 AM
  7. [SOLVED] formula to calculate sales tax from total sales
    By Deanna in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-05-2005, 04:05 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