+ Reply to Thread
Results 1 to 9 of 9

Custom Auto Fill

  1. #1
    Registered User
    Join Date
    04-22-2013
    Location
    Egypt
    MS-Off Ver
    Excel 2013
    Posts
    5

    Custom Auto Fill

    Hello,
    I have an equation at a cell lets say (=A1+B1+C1) , i want the second equation to be (=A2+B1+C4) , the third to be (=A3+B1+C7) and so on , i know there is no problem with (A) and i could solve the (B) order by typing it like (=A1+B$1+C1) , the question is there a fast solution to solve the (C) problem ? , or I must correct it manually ?

    I have Excel 2013
    thanks for advance.

  2. #2
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: Custom Auto Fill

    =a1 + $b$1 + indirect((address((row(c1)*3)+1,3,1,1)))
    Last edited by AndyLitch; 04-22-2013 at 04:12 AM.
    Elegant Simplicity............. Not Always

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Custom Auto Fill

    hi thelordabdo, welcome to the forum. try:
    =A1+B$1+INDIRECT("C"&1+(ROW(1:1)-1)*3)

    or:
    =A1+B$1+INDEX(C:C,1+(ROW(1:1)-1)*3)

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  4. #4
    Registered User
    Join Date
    04-22-2013
    Location
    Egypt
    MS-Off Ver
    Excel 2013
    Posts
    5

    Re: Custom Auto Fill

    I really Appreciated your very fast reply , but it didn't work with me at the following example , As at this Examble D1,D2,D3 must be all the same and equal to (3) , but this didn't happen .
    Attached Files Attached Files
    Last edited by thelordabdo; 04-22-2013 at 04:30 AM.

  5. #5
    Registered User
    Join Date
    04-22-2013
    Location
    Egypt
    MS-Off Ver
    Excel 2013
    Posts
    5

    Re: Custom Auto Fill

    thanks for your reply , I will try it now

  6. #6
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Custom Auto Fill

    perhaps
    =A1+$B$1+INDEX(C:C,(ROW()-1)*3+1)
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  7. #7
    Registered User
    Join Date
    04-22-2013
    Location
    Egypt
    MS-Off Ver
    Excel 2013
    Posts
    5

    Re: Custom Auto Fill

    Quote Originally Posted by benishiryo View Post
    hi thelordabdo, welcome to the forum. try:
    =A1+B$1+INDIRECT("C"&1+(ROW(1:1)-1)*3)

    or:
    =A1+B$1+INDEX(C:C,1+(ROW(1:1)-1)*3)
    Thanks very much , the first solution works perfectly , the second didn't .
    Last edited by thelordabdo; 04-22-2013 at 05:09 AM.

  8. #8
    Registered User
    Join Date
    04-22-2013
    Location
    Egypt
    MS-Off Ver
    Excel 2013
    Posts
    5

    Re: Custom Auto Fill

    Quote Originally Posted by JosephP View Post
    perhaps
    =A1+$B$1+INDEX(C:C,(ROW()-1)*3+1)
    thanks for your addition solution , but there is an error at the formula , but never mind , as benishiryo first solution already solved the problem .

  9. #9
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Custom Auto Fill

    there is no error although if your settings require semicolons rather than commas you should make that adjustment as you would have to for the other suggestions. I would avoid indirect whenever possible although if you don't have too many formulas it should not be a problem

+ 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