+ Reply to Thread
Results 1 to 3 of 3

Cell Reference with Letters

  1. #1
    Forum Contributor
    Join Date
    04-02-2008
    Location
    Jacksonville Beach, Florida
    MS-Off Ver
    Microsoft Excel 2003 and 2010
    Posts
    264

    Cell Reference with Letters

    I need to do over 50 sumif formulas. They will look like this:

    Sumif(range,value1,SheetX$A$1:$A$1000)
    Sumif(range,value2,SheetX$B$1:$B$1000)
    Sumif(range,value3,SheetX$C$1:$C$1000)

    How do I continue this trend without re-typing the "SheetX$D$1:$D$1000", "SheetX$E$1:$E$1000", etc., etc., etc.,

    Can I use some sort of indirect forumla? I have a helper column with letters A-Z and beyond but am at a loss for how to use it? There has to be a way to reference this list to make this more efficient, right?

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Cell Reference with Letters

    There has to be a way to reference this list to make this more efficient, right?
    Consider using a Pivot Table and set the "value 1", etc. as the row item or Page header.
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Cell Reference with Letters

    Formula wise, for sake of demo assume

    a) first formula is in B1

    b) second formula is in B2 (ie we're assuming you're copying down else you could just use relative column reference)

    =SUMIF(range,value1,INDEX(SheetX!$1:$1000,0,ROWS(B$1:B1)))
    copied down

    the column used in the INDEX will increment from 1 to 2 to 3 etc as the formula is copied down
    the use of 0 for Row ensures all rows are included

    Adjust references as necessary.

    NOTE: INDEX unlike INDIRECT is non-volatile (for more info. see link in sig.)
    Last edited by DonkeyOte; 02-09-2010 at 07:24 AM. Reason: added assumption re: vertical vector

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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