+ Reply to Thread
Results 1 to 15 of 15

Fix Column, Change Number

Hybrid View

  1. #1
    Registered User
    Join Date
    10-19-2012
    Location
    Slovakia
    MS-Off Ver
    Excel 2007
    Posts
    13

    Fix Column, Change Number

    hi, i know stupid question.

    but i need help with this.
    i want fix column A but not number, and a want apply it for a row. like

    $A39 $A40 ....

    i can do it for a column, but not for a row. any help??

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Fix Column, Change Number

    A$39

    the $ before a letter of number "locks" that value
    The Importance of INDEX - A GUIDE TO INDEX'S OTHER USES
    <--- If a post helps hit the star

  3. #3
    Registered User
    Join Date
    10-19-2012
    Location
    Slovakia
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Fix Column, Change Number

    i want do this:

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Fix Column, Change Number

    copy and paste the below In any cell of column-A

    =ADDRESS(38+COLUMN(A1),1,4,1)
    Drag it right


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  5. #5
    Registered User
    Join Date
    10-19-2012
    Location
    Slovakia
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Fix Column, Change Number

    hmm, thanks Sixthsense... but it doesnt work.. i dont know why. i am just trying it on new excel.

    A B C D
    1 x
    2 y
    3 z

    i do this =address(1,1,2,true,"Sheet1), but excel said: formula contain an error

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Fix Column, Change Number

    Could you please describe it a bit more for my better understanding or attach a sample workbook with expected output will be helpful.

  7. #7
    Registered User
    Join Date
    10-19-2012
    Location
    Slovakia
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Fix Column, Change Number

    I have column e.g. A and there are values A1=a A2=b A3=c. What i need is to take these values and copy it to row.

    Sheet1: A1=a A2=b A3=c
    Sheet2: C1='Sheet1'!$A1, and than i want drag it to right for automatically add other data from sheet1

  8. #8
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Fix Column, Change Number

    In C1 cell of sheet2

    Formula: copy to clipboard
    =INDIRECT(ADDRESS(COLUMN(A1),1,2,TRUE,"Sheet1"))

    Drag it right

  9. #9
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Fix Column, Change Number

    or

    in C1

    =INDEX(Sheet1!$A$1:$A$15,COLUMN(Sheet2!A$1))
    the a15 can be changed to whatever your last cell is. then drag right.

    this would be better as it doesn't use indirect (which is volatile)

  10. #10
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Fix Column, Change Number

    or

    in C1

    =INDEX(Sheet1!$A$1:$A$15,COLUMN(Sheet2!A$1))
    the a15 can be changed to whatever your last cell is. then drag right.

    this would be better as it doesn't use indirect (which is volatile)

  11. #11
    Registered User
    Join Date
    10-19-2012
    Location
    Slovakia
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Fix Column, Change Number

    =INDEX(Sheet1!$A$1:$A$15,COLUMN(Sheet2!A$1)) works, but i changed , with ;

    thx

    p.s.: how can i mark it SOLVED?

  12. #12
    Registered User
    Join Date
    10-19-2012
    Location
    Slovakia
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Fix Column, Change Number

    what means COLUMN(Sheet2!A$1) ???

  13. #13
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Fix Column, Change Number

    thread tools at the top of the page.

  14. #14
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Fix Column, Change Number

    this returns the number of the column in the brackets (a=1 b=2 c=3) etc. so when you drag it this is used to index the next row in your original list

  15. #15
    Registered User
    Join Date
    10-19-2012
    Location
    Slovakia
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Fix Column, Change Number

    cool, now i understand. thx u so much for your help. very good job!!

+ 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