Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default How to make an absolute reference to an excel 2007 table column

I've got a (major) problem with the new excel 2007 table
functionality: an absolute reference to a column within the table
doesn't seem to work. This question pas posted before by someone else
but nobody seems to know the answer.

Problem:
In the good ol' days (excel 2003) you coluld use the - $ - sign for an
absolute column or row reference. $A1 would copy down to $A2 but would
copy the right as $A1 still. (see example)

The new 2007 table format gives a much clearer reference but the
reference seems to be relative for columns. If you copy a cell with
calculation with table columns references they behave as relative
column references.

---
Example:

I've twelve columns with months (C to N) and turnover in 100 rows.
Column A is customer (100) an colomn B is Business unit(4).

If I sum in row 102 I only have to write once:
=Sum(C2:C101)
in C102 and copy cell value over all months (C102 to N102) in this
row. This is called a relative reference.

Now, in row 103 to106 I want to sum by the 4 Business units defined
in B103 to B106.
I'll write in C103:
=sumproduct(($B$2:$B$101=$B103)*(C$2:C$101))
copying this cel over C103 to N106 would do the trick.

Now suppose i had put the above data in a 2007 table named turnover,
my sum =Sum(B2:B101) looks like this: =SUM(turnover[[january]]). This
works great copying as it is a relative reference. The sumproduct
would look like this in C103:
sumproduct((turnover[[businessunit]]=$B103)*(turnover[[january]]))

I want to have an absolute reference to turnover[[businessunit]] and
en relative reference to turnover[[january]]. I want something like
(see $ in formula)
=sumproduct((turnover[$[businessunit]]=$B103)*(turnover[[january]]))
but this doesn't work, nor everything else i tried and the internet is
very quit about this topic. Am i the only one have this problem or am
i the only one using tables? Is there - $ - like functionality for a
excel 2007 table column?

P.s.
Copying the formula to D103 leads to the incorrect:
=sumproduct((turnover[[january]]=$B103)*(turnover[[february]]))
(because the january column is next to the businessunit coloumn)

----

If you have the same problem, please post a 'support reply' to keep
this post active
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default How to make an absolute reference to an excel 2007 table column

Just got the answer myself in a newer post. Use indirect to make it
absolute
so i.e Table_CBCC_Data[[#This Row],[dateBudget]] becomes
INDIRECT("Table_CBCC_Data[[#This Row],[dateBudget]]")
this will be absolute

see also http://www.cpearson.com/excel/indirect.htm


On 5 feb, 17:20, Ollie4 wrote:
I've got a (major) problem with the new excel 2007 table
functionality: an absolute reference to a column within the table
doesn't seem to work. This question pas posted before by someone else
but nobody seems to know the answer.

Problem:
In the good ol' days (excel 2003) you coluld use the - $ - sign for an
absolute column or row reference. $A1 would copy down to $A2 but would
copy the right as $A1 still. (see example)

The new 2007 table format gives a much clearer reference but the
reference seems to be relative for columns. If you copy a cell with
calculation with table columns references they behave as relative
column references.

---
Example:

I've twelve columns with months (C to N) and turnover in 100 rows.
Column A is customer (100) an colomn B is Business unit(4).

If I sum in row 102 I only have to write once:
=Sum(C2:C101)
in C102 and copy cell value over all months (C102 to N102) in this
row. This is called a relative reference.

Now, in row 103 to106 I want to sum by the 4 Business units defined
in B103 to B106.
I'll write in C103:
=sumproduct(($B$2:$B$101=$B103)*(C$2:C$101))
copying this cel over C103 to N106 would do the trick.

Now suppose i had put the above data in a 2007 table named turnover,
my sum =Sum(B2:B101) looks like this: =SUM(turnover[[january]]). This
works great copying as it is a relative reference. The sumproduct
would look like this in C103:
sumproduct((turnover[[businessunit]]=$B103)*(turnover[[january]]))

I want to have an absolute reference to turnover[[businessunit]] and
en relative reference to turnover[[january]]. I want something like
(see $ in formula)
=sumproduct((turnover[$[businessunit]]=$B103)*(turnover[[january]]))
but this doesn't work, nor everything else i tried and the internet is
very quit about this topic. Am i the only one have this problem or am
i the only one using tables? Is there - $ - like functionality for a
excel 2007 table column?

P.s.
Copying the formula to D103 leads to the incorrect:
=sumproduct((turnover[[january]]=$B103)*(turnover[[february]]))
(because the january column is next to the businessunit coloumn)

----

If you have the same problem, please post a 'support reply' to keep
this post active


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivot Table 2003 - Creat a column using absolute cells o/s the tab Ed Bonk Excel Worksheet Functions 1 October 13th 07 01:03 AM
When I make a row absolute, but column relative, the column stays. tonefbr Excel Discussion (Misc queries) 3 October 9th 07 11:17 PM
CAN A HYPERLINK HAVE AN ABSOLUTE COLUMN & RELATIVE CELL REFERENCE. june.sidwell Excel Worksheet Functions 1 December 27th 06 08:54 PM
pivot table : formula to absolute reference a subtotal fax Excel Discussion (Misc queries) 2 November 19th 05 09:28 PM
Can I link cells to a reference table I make? EZimm Excel Discussion (Misc queries) 1 May 4th 05 11:58 PM


All times are GMT +1. The time now is 06:15 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"