+ Reply to Thread
Results 1 to 3 of 3

SUMIF - Changing criteria while copying down formula

  1. #1
    Registered User
    Join Date
    07-18-2011
    Location
    Clarksville, TN
    MS-Off Ver
    Excel LTSC professional plus 2021
    Posts
    12

    Question SUMIF - Changing criteria while copying down formula

    I want to repeat my SUMIF formula but have the criteria change wihtout me having to manually do it.

    I have tried adding a VLOOKUP in the criteria but I either didn't do it right or it is not possible. I have attached a spreadsheet with 30 rows, but the original has over 3,000.

    File A: I want the SUMIF to look at the Non-Majors worksheet for information on the Banner_ID number that is in column A for the current worksheet and return an addition of the numbers from Non-Majors worksheet. Basically, i want to be able to copy the forumla down and it change the Banner_ID number. I have the rest of it working just fine and am really hoping there is a way to copy down the formula without having to go in and change each one to the Banner_ID number in column A

    File B: More robust example (still way smaller than original), but I want to be able to copy down the formula in Spent column with Excel reading the numbers from column D (and maybe E? but I will take just D if possible) while copying it down. changing the criteria automatically so i don't have to type all the numbers into the formula.

    I read through a bunch of stuff and tried to find this problem already solved but couldn't and a google search showed me some interesting things to try, but nothing that would help with this issue.

    Excel Forum.jpg
    Last edited by Agenduh; 03-11-2024 at 05:13 PM.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,205

    Re: SUMIF - Changing criteria while copying down formula

    Try

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    and

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Registered User
    Join Date
    07-18-2011
    Location
    Clarksville, TN
    MS-Off Ver
    Excel LTSC professional plus 2021
    Posts
    12

    Re: SUMIF - Changing criteria while copying down formula

    You are the BEST!!!! I tried both and they worked like a dream! I so wish I would have asked years ago instead of typing things out!

+ 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. Sumif changing date and time criteria Help!
    By zurox in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-31-2022, 11:42 AM
  2. Sumif() with a Wildcard with changing criteria
    By macke05 in forum Excel General
    Replies: 3
    Last Post: 12-18-2020, 10:10 PM
  3. Dynamic sumif based on changing list of inclusion criteria?
    By Oppo28 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-05-2017, 04:28 PM
  4. [SOLVED] Macro Help - copying A to B under changing specific criteria
    By MrGee87 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-17-2016, 06:56 AM
  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. inserting, copying, changing based on criteria
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-12-2011, 12:39 PM
  7. Changing a formula when copying
    By MBCXLQ in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-31-2007, 05:54 AM

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