+ Reply to Thread
Results 1 to 2 of 2

change automatically the cell reference

  1. #1
    Registered User
    Join Date
    11-17-2018
    Location
    vienna
    MS-Off Ver
    10
    Posts
    4

    change automatically the cell reference

    Hi All,
    I am new in this forum. I hope you will help me solve my problem.

    I would like to change automatically the cell reference (like in the attached document).


    alway in the next column i want to increse the cell reference by one !$C$10

    Cell H8=+'Report (USD)'!$C$10
    Cell I8=+'Report (USD)'!$C$11
    Cell J8=+'Report (USD)'!$C$12
    Cell K8=+'Report (USD)'!$C$13

    etc... etc...

    What form to use here that i can apply to more than 1 thousends colums in the sale row?

    Additionally I need to do the same excercise for the columns !$C$10

    Cell H8=+'Report (USD)'!$C$10
    Cell H9=+'Report (USD)'!$D$10
    Cell H10=+'Report (USD)'!$E$10
    Cell H11=+'Report (USD)'!$F$10

    Thank you!!!
    Attached Images Attached Images
    Last edited by anetanaro; 11-17-2018 at 09:37 AM.

  2. #2
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: change automatically the cell reference

    You can do this using Indirect combined with Column() (for dragging across) and Row() (for dragging down).
    This in H8 dragged across will increment the row numbers:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    This in H8 dragged down will increment the column numbers:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    So, since you want to do both, use this combination in H8, which you can then drag across and down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    However, in this case, since you want to drag columns down rows and rows across columns, is there any reason why you can't swap your rows for columns? That way you could just drag down to increase the rows and drag across to increase the columns, without any need for using Indirect with Row/Column at all.


    Edit: here are the formulae in German, from this site: https://en.excel-translator.de/translator/
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by Aardigspook; 11-17-2018 at 12:47 PM. Reason: Add translations
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

+ 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. Change Reference Automatically
    By Jhon Mustofa in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-15-2017, 05:33 AM
  2. [SOLVED] Hyperlink Formula Cell reference change Automatically
    By disepyon in forum Excel General
    Replies: 10
    Last Post: 07-23-2017, 05:58 AM
  3. Replies: 1
    Last Post: 11-13-2013, 02:07 AM
  4. [SOLVED] Change sheet reference automatically by dragging
    By Marc Poos in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-22-2013, 10:56 AM
  5. Replies: 2
    Last Post: 09-15-2010, 09:55 AM
  6. Replies: 11
    Last Post: 10-18-2008, 07:30 PM
  7. [SOLVED] Automatically change tab reference
    By TWC in forum Excel General
    Replies: 2
    Last Post: 02-02-2005, 07:06 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