+ Reply to Thread
Results 1 to 5 of 5

query relating to sumif formula

  1. #1
    Registered User
    Join Date
    02-29-2016
    Location
    PAkistan
    MS-Off Ver
    2013
    Posts
    16

    Unhappy query relating to sumif formula

    I want to get customer wise sales total value between two dates give below

    For example find attachment

    Requirment
    Start Date 15-Sep-15
    End Date 15-Dec-15
    Amount of Sale to each customer between these two dates ?



    "I have tried sumifs formula but was not able to get the required result.
    Can Someone help me out?"
    Attached Files Attached Files
    Last edited by Attique; 02-29-2016 at 07:36 AM.

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: query relating to sumif formula

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Cheers!
    Deep Dave

  3. #3
    Forum Contributor
    Join Date
    02-07-2013
    Location
    Karachi, Pakistan
    MS-Off Ver
    Excel 2007
    Posts
    290

    Re: query relating to sumif formula

    Hi Attique,

    Try this in requirement sheet:
    =SUMIFS(Before!$I$2:$I$23,Before!$A$2:$A$23,B2,Before!$C$2:$C$23,">="&B3,Before!$C$2:$C$23,"<="&B4)

    Where:
    B2 = 14797
    B3 = 15/09/2015
    B4 = 15/12/2015

    Result would be: 259.88

    Blessing

  4. #4
    Registered User
    Join Date
    02-29-2016
    Location
    PAkistan
    MS-Off Ver
    2013
    Posts
    16

    Re: query relating to sumif formula

    Thanks for you reply khalid bhai....but it did not work it gives zero answer

  5. #5
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: query relating to sumif formula

    =SUMIFS(Before!$I$2:$I$23,Before!$A$2:$A$23,14797,Before!$C$2:$C$23,">=15-Sep-15",Before!$C$2:$C$23,"<=15-Dec-15")

    =SUMIFS(Before!$I$2:$I$23,Before!$A$2:$A$23,14894,Before!$C$2:$C$23,">=15-Sep-15",Before!$C$2:$C$23,"<=15-Dec-15")

    you can change >= and <= to > and < if 15-Sep-15 and 15-Dec-15 are out of range

    with custom format #,##0_);-#,##0 you will get 260 and 58

    also you can use formula from #3 but format for cells B3 and B4 is dd-mmm-yy so you will get 15-Sep-15 and 15-Dec-15 not 15/09/2015
    It shouldn't be B3 and B4 but e.g. K1 and K2 because B3 and B4 are in Issue# range. Format the same as above.
    Last edited by sandy666; 02-29-2016 at 03:07 PM.

+ 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. Creaing function SUMIF with macro relating to sheeets
    By Hronic in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-25-2014, 04:28 AM
  2. [SOLVED] MACRO Query relating to VBA codes to put up into modules
    By PRADEEPB270 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-25-2013, 06:45 AM
  3. Replies: 2
    Last Post: 11-22-2012, 02:09 PM
  4. Copying a formula relating to different sheets...
    By Finalfrontier1976 in forum Excel General
    Replies: 4
    Last Post: 01-06-2012, 11:30 AM
  5. Setting a formula to relating to days of the week
    By Gooford in forum Excel General
    Replies: 9
    Last Post: 10-06-2009, 09:07 AM
  6. Help with formula, vlookup + ??, relating cells
    By kilbymiz in forum Excel General
    Replies: 1
    Last Post: 10-02-2009, 06:08 PM
  7. Fix a formula when relating Sheets
    By ezahrai in forum Excel General
    Replies: 4
    Last Post: 01-14-2006, 05:34 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