Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
How to make columns absolute
Within excel 2003 you could use the - $ - sign for an absolute column
or row reference in a formula. The new 2007 table format gives a much clearer reference but the reference seems to be relative for columns. How do i make my tabel column references absolute? note: the new format is table1[[column1]] and looks like: =sum(turnover[[january]]) instead of sum($B$2:$B$500). =sum(turnover[[january]]) behaves relative. If i copy the formula to the right and i also have a february column it becomes =sum(turnover[[february]]). Does anyone know how to make it absolute in a same way as the $-trick so it won't shift to february? |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
How to make columns absolute
The INDIRECT function can do this. It transforms any string containing a
range address to an actual reference that can be used by other functions. For example, If A1 contains "C3:C10" (without the quotes), =SUM(INDIRECT(A1)) is the same as =SUM(C3:C10) You can also use INDIRECT to prevent Excel from modifying an address when a row or column is inserted or deleted. For example =SUM(INDIRECT("C3:C10")) will sum the range C3:C10 and that reference will not change if rows and/or columns are inserted/deleted. See also http://www.cpearson.com/excel/indirect.htm for more into about the INDIRECT function. -- Cordially, Chip Pearson Microsoft Most Valuable Professional Excel Product Group, 1998 - 2008 Pearson Software Consulting, LLC www.cpearson.com (email on web site) "Ollie4" wrote in message ... Within excel 2003 you could use the - $ - sign for an absolute column or row reference in a formula. The new 2007 table format gives a much clearer reference but the reference seems to be relative for columns. How do i make my tabel column references absolute? note: the new format is table1[[column1]] and looks like: =sum(turnover[[january]]) instead of sum($B$2:$B$500). =sum(turnover[[january]]) behaves relative. If i copy the formula to the right and i also have a february column it becomes =sum(turnover[[february]]). Does anyone know how to make it absolute in a same way as the $-trick so it won't shift to february? |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
How to make columns absolute
Tnx, Chip! I was using indirect as a workaround (i put the value in a
seperate cell and refer to this cell). Your way of using indirect is more simple and keeps the formula readable. i.e. =SUMPRODUCT((fixed[BU]=$A9)*(fixed[WON]="YES")*(fixed[Turnover Fixed Price January])) becomes =SUMPRODUCT((INDIRECT("fixed[BU]")= $A9)*(INDIRECT("fixed[WON]")="YES")*(fixed[Turnover Fixed Price January])) draged to the next cell a got =SUMPRODUCT((INDIRECT("fixed[BU]")= $A9)*(INDIRECT("fixed[WON]")="YES")*(fixed[Turnover Fixed Price February])) Exactly what i want!! A little more complex than $ but acceptable. Thx! On 6 feb, 17:06, "Chip Pearson" wrote: The INDIRECT function can do this. It transforms any string containing a range address to an actual reference that can be used by other functions. For example, If A1 contains "C3:C10" (without the quotes), =SUM(INDIRECT(A1)) is the same as =SUM(C3:C10) You can also use INDIRECT to prevent Excel from modifying an address when a row or column is inserted or deleted. For example =SUM(INDIRECT("C3:C10")) will sum the range C3:C10 and that reference will not change if rows and/or columns are inserted/deleted. See alsohttp://www.cpearson.com/excel/indirect.htmfor more into about the INDIRECT function. -- Cordially, Chip Pearson Microsoft Most Valuable Professional Excel Product Group, 1998 - 2008 Pearson Software Consulting, LLCwww.cpearson.com (email on web site) "Ollie4" wrote in message ... Within excel 2003 you could use the - $ - sign for an absolute column or row reference in a formula. The new 2007 table format gives a much clearer reference but the reference seems to be relative for columns. How do i make my tabel column references absolute? note: the new format is table1[[column1]] and looks like: =sum(turnover[[january]]) instead of sum($B$2:$B$500). =sum(turnover[[january]]) behaves relative. If i copy the formula to the right and i also have a february column it becomes =sum(turnover[[february]]). Does anyone know how to make it absolute in a same way as the $-trick so it won't shift to february? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Can you make a range absolute? | Excel Discussion (Misc queries) | |||
how do i make a cell absolute | Excel Discussion (Misc queries) | |||
Excel: Cant copy an relative Cell and make absolute | Excel Discussion (Misc queries) | |||
How can I make a cell valuye absolute? | Excel Discussion (Misc queries) | |||
Insert $ to make address absolute | Excel Worksheet Functions |