+ Reply to Thread
Results 1 to 4 of 4

(SOLVED) Use SUMIF function without hardcoding the reference cell

  1. #1
    Registered User
    Join Date
    12-15-2015
    Location
    Singapore
    MS-Off Ver
    MS Office 2013
    Posts
    2

    (SOLVED) Use SUMIF function without hardcoding the reference cell

    Hi Gurus,

    I am using a SUMIF (my formula looks like this SUMIF(F:F,"*A001*",G:G)) function, with "*A00x*" as criteria to sum up any figures that contains A00x in the cell.

    My table looks like this:
    Excel Queries.JPG

    My actual situation has a lot of code, thus it is not feasible for me to hardcode each criteria in the function line by line.
    Is there any other way i can link the cell (eg. B3) into the formula reference (eg. "*A001*"), instead of hard coding them line by line?

    Thanks in advance!
    Last edited by Chan Shuet Yuen; 11-02-2017 at 01:44 AM.

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Use SUMIF function without hardcoding the reference cell

    like this?
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    12-15-2015
    Location
    Singapore
    MS-Off Ver
    MS Office 2013
    Posts
    2

    Re: Use SUMIF function without hardcoding the reference cell

    Dear humdingaling,

    Thanks!!! It works!!!

  4. #4
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Use SUMIF function without hardcoding the reference cell

    Not a problem, glad to help

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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 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
  2. Using a cell value to reference a worksheet in SUMIF function
    By tonyamabile in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-04-2011, 02:41 AM
  3. Delete rows where active cell is selected without hardcoding cell
    By alexfortin in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 03-19-2009, 06:58 PM
  4. SUMIF function w/ external reference
    By zpacacha in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-17-2007, 09:09 PM
  5. Using SUMIF Function with a named cell reference as value in CRITE
    By smilingindigo in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-28-2006, 10:35 PM
  6. Replies: 3
    Last Post: 06-15-2006, 12:50 PM
  7. Can I use a Reference inside a SUMIF or COUNTIF Function?
    By Albie in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-13-2005, 06:25 PM

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