+ Reply to Thread
Results 1 to 6 of 6

Help with filling a formula across rows

  1. #1
    Registered User
    Join Date
    04-08-2013
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    8

    Help with filling a formula across rows

    Hi, I am an Excel newbie and require help with the following

    I want to fill the following formula across rows but don't know how to get the bolded "1" and "1" in the formula to increase automatically to "2" and "2" then "3" and "3" and up 1 number each time as I fill it across the rows.

    I want the cell references in the formula to stay the same and I am using this formula at the moment and then having to manually change the "1"s to "2"s and so on each time I fill across.

    ='1'!$B$9&" - "&'1'!$H$9

    Please remember I am new to Excel when replying and perhaps you could give me a formula I can copy in as I know nothing about functions.


    Many thanks for any help forthcoming.

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Help with filling a formula across rows

    When you say "across rows"
    Do you mean you will fill the formula from A1 to B1 to C1 to D1 ?
    or fill the formula from A1 to A2 to A3 to A4 ?

  3. #3
    Registered User
    Join Date
    04-08-2013
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Help with filling a formula across rows

    Hi Jonmo1, thanks again for your help yesterday.

    Sorry, I meant across from a1 to b1 to c1 etc.

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Help with filling a formula across rows

    Try

    =INDIRECT("'" & COLUMNS($A1:A1) & "'!B9")-INDIRECT("'" & COLUMNS($A1:A1) & "'!H9")

    don't change the $A1:A1 references, they have no relation to your data.

  5. #5
    Registered User
    Join Date
    04-08-2013
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Help with filling a formula across rows

    Jonmo1 again you've helped me, many, many thanks.

    The result should be "10 - 40" in the cell but i figured it out and just changed your formula to below as your original one was giving -30 not taking the - sign as a dividing space between numbers but as a mathematical minus

    =INDIRECT("'" & COLUMNS($A1:B1) & "'!B9")&"-"&INDIRECT("'" & COLUMNS($A1:B1) & "'!H9")

    Again THANK YOU so much

  6. #6
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Help with filling a formula across rows

    OH, I see.

    I thought you wnted to subract H9 from B9...lol

    looks like you figured it out though.

    Glad to help out.

+ 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