+ Reply to Thread
Results 1 to 4 of 4

Need help! Using the INDIRECT function within a SUMIF formula

  1. #1
    Registered User
    Join Date
    04-02-2014
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    49

    Need help! Using the INDIRECT function within a SUMIF formula

    I've used INDIRECT for simple things before but I cant seem to type the correct formula for this to work (I'm an amateur and trying to change an old worksheet made by someone else).

    My problem is that I have this formula in cell B1: =SUMIF(C33:P33, "Amy", C37:P37)+SUMIF(C38:P38, "Amy", C41:P41) and I am trying to replace the word Amy inside the quotations to whatever word is in cell A1

    If I can do this it will solve a lot of time when I make new entries into column A instead of changing the formula by hand each time in column B

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Need help! Using the INDIRECT function within a SUMIF formula

    Just replace "Amy" with the cell reference:

    =SUMIF(C33:P33,A1,C37:P37)+SUMIF(C38:P38,A1,C41:P41)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    04-02-2014
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    49

    Re: Need help! Using the INDIRECT function within a SUMIF formula

    Wow, that worked, I didn't think the SUMIF would work properly so I didn't even try it, thank you! You are way smarter than the person who made this sheet originally. This also solved my sorting dilemma, thanks for that also!
    Last edited by Kshari; 04-02-2014 at 07:24 PM.

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Need help! Using the INDIRECT function within a SUMIF formula

    You're welcome. Thanks for the feedback!


    If your question has been solved please mark the thread as being solved.

    In the menu bar above the very first post select Thread Tools, then select Mark this thread as solved.

+ 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] SUMIF INDIRECT Function - How to convert to a direct reference?
    By Redcoal in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-08-2014, 06:32 PM
  2. Sumif function using indirect function and data from different sheet
    By pronky007 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-26-2013, 12:40 PM
  3. Indirect function with external sumif
    By Blen in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-25-2013, 07:15 AM
  4. Replies: 5
    Last Post: 02-18-2011, 05:27 AM
  5. indirect function within sumif to reference other sheets
    By stacrafty@yahoo.com in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-15-2006, 12:50 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