+ Reply to Thread
Results 1 to 2 of 2

Sumif and if formulas

  1. #1
    Forum Contributor
    Join Date
    08-18-2017
    Location
    SOUTH AFRICA
    MS-Off Ver
    MS EXCEL 2016
    Posts
    109

    Sumif and if formulas

    Good day I've attached a file as reference

    I'm looking for a formula to that will do the following please;

    The formula must be on sheet: (Summary) column: C9 to C17 (Opening Balance) and J9 to J17 ( Balance to Syspro)
    This is what I want the formula to do; if you go to sheet: (Month) the financial year:I2 is 2019 & the financial month:H2 is period 3. Then the formula must be the sumif from sheet: (StockBalance) column J:J (OpenBalQty1) per warehouse as my opening stock quantity and sumif column E:E under (StockBalance) as my closing stock.

    And if the Period on sheet: (Summary) D5 is one less than the current financial month which is period 3 under sheet: (Month) H2. Then my opening stock under sheet(StockBalance) must be the sum per warehouse of column:K:K and my closing stock must be column:J:J. And if the Period on sheet: (Summary) D5 is two less than the current financial month then my opening stock under sheet(StockBalance) must be the sum of column:L:L and my closing stock must be the sum of column:K:K per warehouse. The sequence must be the same going backwards to the previous financial year that would be period 12 of financial year 2018 then opening stock will be the sum of column:M:M and my closing balance should be column:L:L under sheet: (StockBalance) and so on.


    I hope I'm making sense
    Attached Files Attached Files
    Last edited by FDibbins; 06-19-2018 at 03:12 PM. Reason: added spaces to do away with smilies

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Sumif and if formulas

    See if this will get you started?
    C9=SUMIFS(StockBalance!L:L,StockBalance!$D:$D,Summary!$A9)
    copied down.

    That will give you the basis for all the other calcs you need to do. If not, shout back and I will assist further
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Help with SumIF/SumProduct formulas
    By jeremy08 in forum Excel General
    Replies: 8
    Last Post: 10-13-2011, 05:17 PM
  2. Two sumif formulas
    By Redsox2010 in forum Excel General
    Replies: 2
    Last Post: 03-17-2010, 12:59 PM
  3. writing SUMIF formulas
    By jimmybrine in forum Excel General
    Replies: 4
    Last Post: 10-27-2009, 01:31 AM
  4. Replies: 5
    Last Post: 05-05-2008, 02:22 PM
  5. SumIf formulas.
    By welshalltheway in forum Excel General
    Replies: 1
    Last Post: 10-19-2005, 12:05 PM
  6. Modifying sumif formulas.
    By Hirsch in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  7. Modifying sumif formulas.
    By Hirsch in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  8. Modifying sumif formulas.
    By Hirsch in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-17-2005, 12:05 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