+ Reply to Thread
Results 1 to 10 of 10

Columns of Data move position - how to get formula to adjust?

  1. #1
    Forum Contributor
    Join Date
    02-08-2005
    MS-Off Ver
    Microsoft 365
    Posts
    743

    Columns of Data move position - how to get formula to adjust?

    Hi,

    I receive a daily worksheet in which the column order may change from time to time. As I have formulae linked to specific columns (e.g. “Sales” is currently in column F) I would like to make them dynamic so that if, for example, the Sales data moves from column F to column Z, my formulae will adjust to consider a new range Z2:Z1000, rather than F2:F1000.

    I thought of using the MATCH (to find the position of the “Sales” column) and ADDRESS functions together but without luck.

    Can someone please suggest a solution?

    Thanks!
    Last edited by andrewc; 02-28-2014 at 12:31 PM.

  2. #2
    Forum Moderator Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Columns of Data move position - how to get formula to adjust?

    Which formula are you using?
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Contributor
    Join Date
    02-08-2005
    MS-Off Ver
    Microsoft 365
    Posts
    743

    Re: Columns of Data move position - how to get formula to adjust?

    A few, like SUM and AVERAGE.

    Thanks

  4. #4
    Forum Moderator Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Columns of Data move position - how to get formula to adjust?

    This does not helps us.

    Can you pls upload a small sample workbook?

  5. #5
    Forum Contributor
    Join Date
    02-08-2005
    MS-Off Ver
    Microsoft 365
    Posts
    743

    Re: Columns of Data move position - how to get formula to adjust?

    Sorry, here's the sample.

    Thanks
    Attached Files Attached Files

  6. #6
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2010 on Linux - O365
    Posts
    12,351

    Re: Columns of Data move position - how to get formula to adjust?

    Does the SUM have to be in the same column as the data ?

  7. #7
    Forum Contributor
    Join Date
    02-08-2005
    MS-Off Ver
    Microsoft 365
    Posts
    743

    Re: Columns of Data move position - how to get formula to adjust?

    No, they can be anywhere

    Thanks

  8. #8
    Forum Moderator Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Columns of Data move position - how to get formula to adjust?

    1 way could be this.

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


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

  9. #9
    Forum Contributor
    Join Date
    02-08-2005
    MS-Off Ver
    Microsoft 365
    Posts
    743

    Re: Columns of Data move position - how to get formula to adjust?

    Thanks very much!

  10. #10
    Forum Moderator Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Columns of Data move position - how to get formula to adjust?

    You are welcome and thanks for the feedback & rep.

+ 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. Formula(s) to move data along columns automatically?
    By hoyounlee in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-13-2013, 02:14 PM
  2. Move Label Axis to position under both columns
    By krunk in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-03-2013, 07:34 PM
  3. VBA - Search xls spreadsheet for specific data and move cell value up one position
    By qnmahan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-08-2013, 05:55 PM
  4. How to adjust the userform position to the page centre?
    By TOTO_POP in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 09-04-2010, 07:41 AM
  5. Adjust position of a commandbar
    By quartz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-11-2005, 03:07 AM

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