+ Reply to Thread
Results 1 to 2 of 2

Sumif - give Range using a cell reference

  1. #1
    Registered User
    Join Date
    07-13-2019
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    1

    Sumif - give Range using a cell reference

    Hi,

    I'm trying to build a sumif formula where the various arguments are listed in cells so it's easy to change one aspect of the formula without going into it. e.g., Cell A1 would contain the Range, B1 would contain the Criteria and C1 would contain the Sum Range. Then the sumif formula would be =SUMIF(A1,B1,C1)

    This doesn't seem to work, particularly as the Range and Sum Range are referring to another tab - e.g., cell A1 currently has 'Tab 2'!$C:$C.

    Criteria is not a problem - that works fine as a cell reference within the sumif formula.

    Can anyone help?

    Thanks,

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: Sumif - give Range using a cell reference

    Welcome to the forum.

    It won't work the way you want, and it isn't to do with it being on a different sheet. You are going to need to employ the INDIRECT function.

    https://www.contextures.com/xlFunctions05.html
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Reference Data Range to Give Multiple Setpoints
    By ExlEngr in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-26-2019, 09:05 AM
  2. SUMIF function where sum range looks for row based on reference cell
    By Hodor84 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-14-2017, 03:36 PM
  3. [SOLVED] IF formula to give cell reference?
    By nimv1 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-07-2016, 04:47 AM
  4. [SOLVED] Formula/Macro to give active cell reference in cell
    By ExcelFailure in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-23-2014, 03:36 AM
  5. [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
  6. SUMIFS does not give a value for cell reference
    By inayat in forum Excel General
    Replies: 2
    Last Post: 09-23-2011, 03:02 AM
  7. Replies: 2
    Last Post: 06-03-2005, 07:05 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