+ Reply to Thread
Results 1 to 2 of 2

SUMIF Formula Help

  1. #1
    Registered User
    Join Date
    12-04-2017
    Location
    earth
    MS-Off Ver
    2013
    Posts
    1

    SUMIF Formula Help

    I am currently using excel to track my store inventory.

    I enter the current inventory count on one sheet and then break the inventory up on seperate sheets for each vendor I shop at, so I have a single source to review for purchases I need to make.

    The problem I have encountered is that each time I do inventory I add 2 extra columns to show the new inventory and what I have used. I do not currently track purchases on the spreadsheet.

    The original formula is: =SUMIF('Inventory Sheet'!B2:B152, A3,'Inventory Sheet'!F2:F152)
    Every time I copy it and move it over 2 columns it changes the B2:B152 over to colums.

    Here is the original formula used: =SUMIF('Inventory Sheet'!B2:B152, A3,'Inventory Sheet'!F2:F152)
    Here is an example of it copied over: =SUMIF('Inventory Sheet'!D2:D152, C3,'Inventory Sheet'!H2:H152)
    Here is what I need it to be coppied over: =SUMIF('Inventory Sheet'!B2:B153, A3,'Inventory Sheet'!H2:H152)

    It gets worse when I try and copy the formula down the column.
    Here is the formula as I copy it down. The reference changes.
    =SUMIF('Inventory Sheet'!B3:B154, A4,'Inventory Sheet'!H3:H153)
    =SUMIF('Inventory Sheet'!B4:B155, A5,'Inventory Sheet'!H4:H154)
    =SUMIF('Inventory Sheet'!B5:B156, A6,'Inventory Sheet'!H5:H155)

    The basic formula is sumif(range, criteria,[sum_range]


    Is there a way to keep the range and [sum_range] the same and only change the criteria?

    I have 7 seperate sheets for the different vendors I use.

    Thanks.

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: SUMIF Formula Help

    Hello and welcome to the forum.

    Include absolute reference symbols ($) before the reference that you want to keep static.

    For example:

    =A1 will change both columns and rows when copied across or down
    =$A1 will change rows when copied down rows
    =A$1 will change columns when copied across columns
    =$A$1 will not change either columns or rows when copied across or down

+ 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. [SOLVED] My formula sumif/indirect formula is working perfect..except everything is 1 row off!
    By Nyolls in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-23-2015, 01:12 PM
  2. SumIf formula or Sumif with pivottable combined question
    By mcgleeuw in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-10-2015, 01:05 PM
  3. Replies: 2
    Last Post: 09-16-2014, 10:13 AM
  4. [SOLVED] Shorten SUMIF + SUMIF + SUMIF each with same reference range but different criteria???
    By HeyInKy in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-13-2014, 09:25 PM
  5. SUMIF or SUMIF's formula with multiple criteria
    By jackiemariee in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-30-2013, 06:19 PM
  6. [SOLVED] Sumif Formula or Sumproduct Formula? Three Criteria.
    By oHUTCHYo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-28-2013, 10:50 AM
  7. SumIF formula with criteria is Text inside a Formula?
    By excellentlearner in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-25-2012, 06:40 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