Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 460
Default Formula in a table header

I am trying to put this in a table header cell "=Import!$Q2"
It returns a 0.
How can I get it to return the correct value?
--
Thank you!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Formula in a table header

=if(import!$q2="","",import!$q2)

(If Q2 on the import sheet is empty, then you'll see that 0.)

Doug wrote:

I am trying to put this in a table header cell "=Import!$Q2"
It returns a 0.
How can I get it to return the correct value?
--
Thank you!


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 460
Default Formula in a table header

It still returns a 0 and there is something in the cell. It is actually Q1, I
typed Q2 by mistake.

--
Thank you!


"Dave Peterson" wrote:

=if(import!$q2="","",import!$q2)

(If Q2 on the import sheet is empty, then you'll see that 0.)

Doug wrote:

I am trying to put this in a table header cell "=Import!$Q2"
It returns a 0.
How can I get it to return the correct value?
--
Thank you!


--

Dave Peterson
.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 460
Default Formula in a table header

For some reason the header will not hold the formula because the zero it
returns deletes =Import!$Q2
--



"Dave Peterson" wrote:

=if(import!$q2="","",import!$q2)

(If Q2 on the import sheet is empty, then you'll see that 0.)

Doug wrote:

I am trying to put this in a table header cell "=Import!$Q2"
It returns a 0.
How can I get it to return the correct value?
--
Thank you!


--

Dave Peterson
.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Formula in a table header

Are you using Excel 2007 and InsertTable?

Table headers cannot be formulas.

If you have a formula the formula will be changed to a static value when you
create the table.

You will be warned of this when you create the table.

If you try to enter the formula after you have created the table, it will
turn to 0................no warning.


Gord Dibben MS Excel MVP




On Wed, 11 Nov 2009 13:19:03 -0800, Doug
wrote:

For some reason the header will not hold the formula because the zero it
returns deletes =Import!$Q2




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
can i add a header to my table? [email protected] Excel Worksheet Functions 3 March 18th 09 02:52 PM
Table Header Steven Excel Discussion (Misc queries) 1 January 27th 09 01:42 PM
Add header into Excel table jonesaa05 Excel Discussion (Misc queries) 3 October 18th 05 05:40 PM
Pivot Table with two row header? sslack Excel Discussion (Misc queries) 0 June 27th 05 09:39 PM
Pivot table row header Jason Excel Discussion (Misc queries) 1 February 10th 05 11:44 PM


All times are GMT +1. The time now is 04:05 AM.

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

About Us

"It's about Microsoft Excel"