+ Reply to Thread
Results 1 to 5 of 5

SUMIF problem

  1. #1
    Forum Contributor
    Join Date
    09-04-2013
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    117

    SUMIF problem

    So i have a balance sheet which has columns for each month of the year and this sheet collects data from other sheets to display summarized data.

    example- on my sales sheet i input each individual sale into a row. i use the date format 01-AUG-13 however on the balance sheet the column for August would just say AUG. now when i try to run a SUMIF function so that the sales column in august on the balance sheet collects and adds all sales in august on the sales sheet it does not return a value. I know that the formula is correct because if i change the date format on the sales page to just AUG (and not 01-AUG-13) it returns the correct value for the test data I've supplied. I understand because the criteria isn't an exact match it doesn't return the data but is there a way to get round this without the use of let say helper columns and the MID function?

    Any help much appreciated.

    Oh the formula I'm currently using is =SUMIF(Sales_date_range,A3,Sales_VAT_Range)

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,685

    Re: SUMIF problem

    On your summary sheet your should enter a date in A3 which is the first of the month (i.e. 1/08/2013), and then apply a custom format to that cell of mmm so that it only shows the abbreviated month. Then you can change your formula to this:

    =SUMIFS(Sales_VAT_Range,Sales_date_range,">="&A3,Sales_date_Range,"<="&DATE(YEAR(A3),MONTH(A3)+1,0))

    Hope this helps.

    Pete

  3. #3
    Forum Contributor
    Join Date
    09-04-2013
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    117

    Re: SUMIF problem

    SUMIFSforum.xlsx

    Thanks for your reply Pete.

    Im not sure that will work and its likely its because i explained it poorly. example WB attached.
    So on the vat sheet i want any and all vat amounts added up for the particular month.

    Hope this helps.

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,911

    Re: SUMIF problem

    see attachment
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    09-04-2013
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    117

    Re: SUMIF problem

    Absolutely brilliant!! Cant thank you enough!!!

+ 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. Excel 2007 : SUMIF Problem
    By lofquist in forum Excel General
    Replies: 5
    Last Post: 10-18-2011, 04:00 AM
  2. Sumif Problem
    By AmsterDan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-17-2011, 06:39 PM
  3. SUMIF Problem
    By 3smees23 in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 01-02-2009, 11:08 AM
  4. sumif problem
    By vincent135 in forum Excel General
    Replies: 3
    Last Post: 06-14-2006, 10:10 AM
  5. SumIf Problem
    By carl in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-18-2005, 02:05 PM

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