+ Reply to Thread
Results 1 to 21 of 21

Auto fill down a column changing column letter

  1. #1
    Registered User
    Join Date
    01-13-2017
    Location
    EgYpT
    MS-Off Ver
    2010
    Posts
    36

    Question Auto fill down a column changing column letter

    Hi

    when i use fill down column > G is not changing

    how to make it change so when i fill down change G to H to I etc

    =HYPERLINK(CONCATENATE("#";CELL("Address";G$5));Sheet1!$A9)

    i hope someone can make it for me

    Thanks
    Last edited by Ell0ll; 01-27-2017 at 04:11 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: Auto fill down a column changing column letter

    Enter the formula below and copy down:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    01-13-2017
    Location
    EgYpT
    MS-Off Ver
    2010
    Posts
    36

    Re: Auto fill down a column changing column letter

    Quote Originally Posted by hoyasaxa215 View Post
    Enter the formula below and copy down:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    where should i put your formula

    here is my formula
    =HYPERLINK(CONCATENATE("#";CELL("Address";G$5));Sheet1!$A9)
    i want auto fill down and change column letter >> CELL("Address";G$5)
    column G to H to I etc

    edit it for me

    thanks

  4. #4
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: Auto fill down a column changing column letter

    Just put my formula wherever you want the letter G.

  5. #5
    Registered User
    Join Date
    01-13-2017
    Location
    EgYpT
    MS-Off Ver
    2010
    Posts
    36

    Re: Auto fill down a column changing column letter

    Quote Originally Posted by hoyasaxa215 View Post
    Just put my formula wherever you want the letter G.
    i tried it gives me > reference is not valid

    it will corrupt hyperlink function

  6. #6
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: Auto fill down a column changing column letter

    My formula is completely unrelated to your formula. Delete your entire formula and enter my formula. Or just enter my formula into an empty cell.

  7. #7
    Registered User
    Join Date
    01-13-2017
    Location
    EgYpT
    MS-Off Ver
    2010
    Posts
    36

    Re: Auto fill down a column changing column letter

    Quote Originally Posted by hoyasaxa215 View Post
    My formula is completely unrelated to your formula. Delete your entire formula and enter my formula. Or just enter my formula into an empty cell.
    i know that

    thanks

    i need to fix my formula so when i use fill down - it make change to column letter ( G )

  8. #8
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: Auto fill down a column changing column letter

    Your formula clearly contains references to other cells within your workbook. Without being able to see the full workbook, it will be impossible for anyone to attempt to edit your formula.

  9. #9
    Registered User
    Join Date
    01-13-2017
    Location
    EgYpT
    MS-Off Ver
    2010
    Posts
    36

    Re: Auto fill down a column changing column letter

    Quote Originally Posted by hoyasaxa215 View Post
    Your formula clearly contains references to other cells within your workbook. Without being able to see the full workbook, it will be impossible for anyone to attempt to edit your formula.
    i have attached the workbook so you can see it

    i want to link cash in banks in row with the one on column

    i did it and it is working but

    i want to drag and fill down to make every cell on row

    link to the other cell on column

    i hope you understand me
    Attached Files Attached Files

  10. #10
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Auto fill down a column changing column letter

    Quote Originally Posted by Ell0ll View Post
    =HYPERLINK(CONCATENATE("#";CELL("Address";G$5));Sheet1!$A9)
    Try replacing the highlighted section with this:

    CELL("address";INDEX(G$5:Z$5;ROWS(A$1:A1)))

    Adjust for the correct end of range where I've used up to Z5.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  11. #11
    Registered User
    Join Date
    01-13-2017
    Location
    EgYpT
    MS-Off Ver
    2010
    Posts
    36

    Re: Auto fill down a column changing column letter

    Quote Originally Posted by Tony Valko View Post
    Try replacing the highlighted section with this:

    CELL("address";INDEX(G$5:Z$5;ROWS(A$1:A1)))

    Adjust for the correct end of range where I've used up to Z5.
    it is working now

    Thanks Tony

  12. #12
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Auto fill down a column changing column letter

    You're welcome. Thanks for the feedback!

  13. #13
    Registered User
    Join Date
    01-13-2017
    Location
    EgYpT
    MS-Off Ver
    2010
    Posts
    36

    Question Re: Auto fill down a column changing column letter

    Quote Originally Posted by Tony Valko View Post
    You're welcome. Thanks for the feedback!
    Another qustion for tony

    can we make hyperlink by cell value
    because this way if i change Cash in Banks colmun D to to another column
    when i click on Cash in Banks it will go to column D not the other column
    Attached Files Attached Files

  14. #14
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Auto fill down a column changing column letter

    Sorry, I don't understand.

  15. #15
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Auto fill down a column changing column letter

    Dear Ell0ll, Refer attach file. In this file, done modification in hyperlink. If you click on "Retained Earnings" in "B" column row(47), then control go on "AS5".
    If you come back in column "B4" then click on cell "AS5" this applicable all others row "D5" to "AS5".
    Attached Files Attached Files


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  16. #16
    Registered User
    Join Date
    01-13-2017
    Location
    EgYpT
    MS-Off Ver
    2010
    Posts
    36

    Re: Auto fill down a column changing column letter

    I mean

    if i change Cash in Banks column D to column F
    and Petty Cash to column D instead of column F

    replace column D with F

    when i click on Cash in Banks it will go to column D not To column F

    this means hyperlink goes to cell address
    and it is not searching all columns to find out where is Cash in Banks

    maybe we can use match function to find which column has "Cash in Banks"

    i hope you understand me

  17. #17
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Auto fill down a column changing column letter

    if you click on column "B" chart of account name, then control goes to respective account name from "D5" to "AS5". If you click on any account name from "D5" to "AS5" the control goes to column "B" chart of account.

  18. #18
    Registered User
    Join Date
    01-13-2017
    Location
    EgYpT
    MS-Off Ver
    2010
    Posts
    36

    Re: Auto fill down a column changing column letter

    Quote Originally Posted by avk View Post
    if you click on column "B" chart of account name, then control goes to respective account name from "D5" to "AS5". If you click on any account name from "D5" to "AS5" the control goes to column "B" chart of account.
    Thanks avk

    but i want to do another thing

    I mean

    if i change Cash in Banks column D to column F
    and Petty Cash to column D instead of column F

    means : replace column D with F

    when i click on Cash in Banks (column B) it will go to column D not To column F
    and this is wrong because Cash in Banks in column F not D (look to my attachment)

    this means hyperlink goes to cell address
    and it is not searching all columns to find out where is Cash in Banks

    maybe we can use match function to find which column has "Cash in Banks"

    i hope you understand me
    Attached Files Attached Files

  19. #19
    Registered User
    Join Date
    01-13-2017
    Location
    EgYpT
    MS-Off Ver
    2010
    Posts
    36

    Re: Auto fill down a column changing column letter

    i have found something same as what i mean

    someone take a look to it

    Thanks
    Attached Files Attached Files
    Last edited by Ell0ll; 01-27-2017 at 02:43 PM.

  20. #20
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,147

    Re: Auto fill down a column changing column letter

    Is this what you want:

    =HYPERLINK(CONCATENATE("#",CELL("address",INDEX(D$5:AS$5,MATCH(Sheet1!$A6,D$5:AS$5,0)))),Sheet1!$A6)
    Attached Files Attached Files

  21. #21
    Registered User
    Join Date
    01-13-2017
    Location
    EgYpT
    MS-Off Ver
    2010
    Posts
    36

    Re: Auto fill down a column changing column letter

    Quote Originally Posted by JohnTopley View Post
    Is this what you want:

    =HYPERLINK(CONCATENATE("#",CELL("address",INDEX(D$5:AS$5,MATCH(Sheet1!$A6,D$5:AS$5,0)))),Sheet1!$A6)
    that is it

    Thank you Jhon

+ 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. Replies: 13
    Last Post: 07-06-2016, 02:59 AM
  2. Replies: 5
    Last Post: 02-18-2016, 12:51 PM
  3. Fill cells in one column based on specific words or letter from another column
    By dokkadokka in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-21-2013, 07:04 AM
  4. Auto Fill Todays Date In Column K in Last Value Found in Column A
    By trevor2524 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-18-2013, 02:42 PM
  5. Copy several formulas to the right and only changing the column letter
    By tiggi in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-27-2013, 10:17 PM
  6. Replies: 0
    Last Post: 08-10-2012, 12:55 PM
  7. [SOLVED] Auto Fill Column with Date based on rows in other column
    By JOUIOUI in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-06-2006, 01:35 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