+ Reply to Thread
Results 1 to 7 of 7

HELP! Cell filling by row numbers????

Hybrid View

pjhdude HELP! Cell filling by row... 03-11-2015, 02:11 PM
simarui Re: HELP! Cell filling by row... 03-11-2015, 02:29 PM
pjhdude Re: HELP! Cell filling by row... 03-11-2015, 03:51 PM
simarui Re: HELP! Cell filling by row... 03-11-2015, 04:29 PM
pjhdude Re: HELP! Cell filling by row... 03-11-2015, 05:33 PM
sktneer Re: HELP! Cell filling by row... 03-12-2015, 12:30 AM
simarui Re: HELP! Cell filling by row... 03-12-2015, 09:08 AM
  1. #1
    Registered User
    Join Date
    12-04-2013
    Location
    Wisconsin
    MS-Off Ver
    Excel 2016
    Posts
    55

    HELP! Cell filling by row numbers????

    Can you fill a chart across a column but with the row number changing?

    Example: Cell A1 =SUM($E10,$E20,$E30) then Cell B1 =SUM($E11,$E21,$E31)

    So after i have cell A1 I can drag the fill handle to the right and the number increase but the letter stays?

    Thanks
    Last edited by pjhdude; 03-11-2015 at 02:20 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    01-10-2012
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    651

    Re: HELP! Cell filling by row numbers????

    should be able to handle that with index().

    something like:
    Formula: copy to clipboard
    =sum(index($E$10:$E$100,column()),index($E$20:$E$100,column()),index($E$30:$E$100,column())

    (untested)
    Hope I could help - if your post has been solved don't forget to mark it as such.

    Clicking the * below is a great way to say thanks!

    "Drowning in 10 feet of water isn?t any different than drowning in a million feet. And if you can swim, it doesn?t matter how deep the ocean is. At some level, once you realize you?re in water that?s too deep to stand, you have to have a very different approach," - Joi Ito

  3. #3
    Registered User
    Join Date
    12-04-2013
    Location
    Wisconsin
    MS-Off Ver
    Excel 2016
    Posts
    55

    Re: HELP! Cell filling by row numbers????

    Did not seem to work????

  4. #4
    Valued Forum Contributor
    Join Date
    01-10-2012
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    651

    Re: HELP! Cell filling by row numbers????

    i just tested on some bogus data, looks like i forgot one ) at the end...

    Formula: copy to clipboard
    =sum(index($E$10:$E$100,column()),index($E$20:$E$100,column()),index($E$30:$E$100,column()))


    if that doesn't work please upload a sample of your data, with an example of your desired result and / or a description of what issue you're having.

  5. #5
    Registered User
    Join Date
    12-04-2013
    Location
    Wisconsin
    MS-Off Ver
    Excel 2016
    Posts
    55

    Re: HELP! Cell filling by row numbers????

    HELP-PLEASE.xlsx

    Here is a sample. I am looking for the boxed cells to fill in sequential order 1,2,3 but keep the letter.

  6. #6
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: HELP! Cell filling by row numbers????

    Considering your current data setup, you may try something like this in G19.
    =IFERROR(SUM(INDEX($C$3:$E$11,MATCH(COLUMNS($G:G),$A$3:$A$11,0),MATCH(RIGHT($F19,1)*1,{1,2,3},0)),INDIRECT(ADDRESS(MAX(INDEX(($A$1:$A$11=COLUMNS($G:G))*(ROW($A$1:$A$11)-ROW($A$1)+1),0)),MATCH($F19,$A$1:$E$1,0)))),"")
    and then copy across and down.

    ***Notice that I have changed the column headers from Gm1 to Game 1 etc.

    For detail, see the attached.
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  7. #7
    Valued Forum Contributor
    Join Date
    01-10-2012
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    651

    Re: HELP! Cell filling by row numbers????

    sktneer's is probably better since it will switch columns for each new game, but my formula is a little bit simpler (you just have to move the index reference for each new game...

    Formula: copy to clipboard
    =SUM(INDEX($C$3:$C$93,COLUMN()-6),INDEX($C$8:$C$88,COLUMN()-6))


    most likely the issue you had stems from the column() reference... since your output is in column G that was returning a 7 instead of a 1.

    another way to move the formula automatically w/out messing with indirect:
    Formula: copy to clipboard
    =SUM(INDEX($C$3:$E$93,COLUMN()-6,RIGHT($F19,1)),INDEX($C$8:$E$88,COLUMN()-6,RIGHT($F19,1)))


    as in the attached v2... note if you get up to 10 games you'll need to take right($f19,2)...
    Attached Files Attached Files

+ 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. filling information from one cell and filling another.
    By Dianne in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  2. filling information from one cell and filling another.
    By Dianne in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  3. [SOLVED] filling information from one cell and filling another.
    By Dianne in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  4. [SOLVED] filling information from one cell and filling another.
    By Dianne in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  5. [SOLVED] filling information from one cell and filling another.
    By Dianne in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 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