+ Reply to Thread
Results 1 to 12 of 12

Editing formula quickly

  1. #1
    Registered User
    Join Date
    06-19-2012
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2010
    Posts
    34

    Editing formula quickly

    Is there a way to edit forumla eg. =Input!A1 into =Input!"A"&"1" ?(input is the tab name) because I need to drag right and copy across for a formula increase of +2

    eg. I am trying to transfer data from 1st tab to second tab. But data only exist every 2nd cell

    Instead of typing =Input!A1, =Input!A3, =Input!A5 on separate cells in a second tab., or manually clicking and matching to previous tab. is there a way to quickly +2 for the numbers?

    Thanks!

  2. #2
    Forum Contributor
    Join Date
    05-29-2013
    Location
    MD
    MS-Off Ver
    Excel 365
    Posts
    148

    Re: Editing formula quickly

    Assuming you are starting in cell A1 on your new sheet and referencing Input!A1 as the first cell, you could try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Editing formula quickly

    =INDEX(Input!1:1, 2*COLUMN()-1)
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Registered User
    Join Date
    06-19-2012
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2010
    Posts
    34

    Re: Editing formula quickly

    Hi, Thanks for both replies, but I can't seem to get the forumla to work. I have attached an example.

    So basically for the first tab (input) I haved data in Cell C5 , C7, C9 etc etc etc

    for second tab (data), I have to link to first tab eg. for A6 (on Data), I would like to link to =Input!C5, and B6 link to =Input!C7, C6 link to =Input!C9 etc etc..

    Thank you!
    Attached Files Attached Files

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

    Re: Editing formula quickly

    See the attached file.

    =If(INDIRECT("Input!$C"&3+column()*2)="","",INDIRECT("Input!$C"&3+column()*2))

    and drag to the right.
    Attached Files Attached Files
    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.

  6. #6
    Registered User
    Join Date
    06-19-2012
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2010
    Posts
    34

    Re: Editing formula quickly

    Ah that works great Thanks a lot!!

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Editing formula quickly

    Is there a way to edit forumla eg. =Input!A1 into =Input!"A"&"1" ?(input is the tab name) because I need to drag right and copy across for a formula increase of +2
    for A6 (on Data), I would like to link to =Input!C5, and B6 link to =Input!C7, C6 link to =Input!C9 etc etc..
    You should ask the question you want answered ...

    In A6 and copy across, =INDEX(Input!$C:$C, 3 + 2*COLUMN())

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

    Re: Editing formula quickly

    @SHG

    Do you know if your index formula will be much faster than my indirect formula?

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

    Re: Editing formula quickly

    The old ways are sometimes useful-for a one time exercise type
    ||input!C5
    in A6 then
    ||Input!C7
    in B6. Select both and fill across as far as required then ctrl+h and replace || with =
    Josie

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

  10. #10
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Editing formula quickly

    Quote Originally Posted by oeldere View Post
    @SHG

    Do you know if your index formula will be much faster than my indirect formula?
    I know it is not volatile

    @JP: +1

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

    Re: Editing formula quickly

    @SHG

    Thank you very much for your answer

  12. #12
    Registered User
    Join Date
    06-19-2012
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2010
    Posts
    34

    Re: Editing formula quickly

    Quote Originally Posted by shg View Post
    You should ask the question you want answered ...

    In A6 and copy across, =INDEX(Input!$C:$C, 3 + 2*COLUMN())
    Ah Thanks shg That works beautifully

    @JP: Very neat way as well!
    Last edited by tonylyx; 05-29-2013 at 09:59 PM.

+ 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