+ Reply to Thread
Results 1 to 4 of 4

Indirect for column reference

  1. #1
    Registered User
    Join Date
    07-20-2014
    Location
    Westminster,Maryland
    MS-Off Ver
    Excel2010
    Posts
    1

    Indirect for column reference

    Hi all,
    New member and I have what I think is a syntax question. In the following formula:
    =-SUMIFS(data!$G$3:$G$189,data$A$3:$A$189,’T8”$A$3,data!$B$3:$B$189,$a11)/1000
    I wanted to use an indirect reference from another sheet just for the column G in the first
    piece of the formula, leaving the row references of 3:189 intact. Would appreciate any suggestions.
    Thanks
    Tim

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Indirect for column reference

    http://www.excelforum.com/the-water-...-question.html
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Indirect for column reference

    firstly that formula should be
    =-SUMIFS(data!$G$3:$G$189,data!$A$3:$A$189,'t8'!$A$3,data!$B$3:$B$189,$A11)/1000
    if you just want to change the column then
    =-SUMIFS(INDIRECT("data!"&K1&"3:"&K1&"189"),data!$A$3:$A$189,'t8'!$A$3,data!$B$3:$B$189,$A11)/1000
    where K1 contains the column letter
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  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: Indirect for column reference

    Need more detailed info about this:

    I wanted to use an indirect reference from another sheet just for the column G in the first piece of the formula, leaving the row references of 3:189 intact.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Registered User
    Join Date
    07-20-2014
    Location
    Westminster,Maryland
    MS-Off Ver
    Excel2010
    Posts
    1

    Re: Indirect for column reference

    Thanks! Will amend.

+ 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] =INDIRECT, Sheet reference with Incremental cell reference
    By Deap in forum Excel General
    Replies: 4
    Last Post: 06-16-2014, 05:58 AM
  2. [SOLVED] How to reference an entire row based on an indirect cell reference
    By echo_oscar in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-31-2012, 08:50 PM
  3. Making column reference in INDIRECT non-static
    By Bob Tarburton in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-10-2006, 03:10 PM
  4. Column Property, Indirect reference?
    By John Keith in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-04-2005, 07:06 PM
  5. Indirect/Offset Column Reference
    By aldsv in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-01-2005, 11:26 AM

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