Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default not reconizing cell reference

I've been struggling with this for a while...

The following formula works, and returns the needed answer; however, i would
like to link the "1123" to cell G5, so I can copy down the formula and have
it calculate for the different building codes. My problem is that when I
link the "1123" to the cell, it returns a -0- everytime. In the second
array, I have referenced cell Q$1, which works fine.

I have tried formating G5 as general, text, number. I have recalculated the
spreadsheet. I have named the cell, then tried to reference that.

I am fresh out of ideas.

=SUMPRODUCT(--('3Q06 Occupancy.xls'!Building_code_Column="1123"),--('[3Q06
Occupancy.xls]Occupancy'!$G$4:$G$159=Q$1)*('3Q06 Occupancy.xls'!HC_Column))

Help Please??
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 82
Default not reconizing cell reference

As far as I can see the formula should work unless the value in cell G5 is a
number instead of text. If that is the case then changing the format to text
will not change it to a text value unless you also reenter the value
afterwards. Alternatively, you could just enter '1123 and the leading
apostrophe will indicate to Excel that the 1123 is a text string.

If that's the problem it sounds as if you will also need to change a whole
column of numbers to text. You can quickly do this by inserting a column next
to the numeric values and copying a formula like =TEXT(G5,"0000") from row 5
on down to convert the values to text, then you can copy these text values
back over the initial column using the copy / paste special option.

Hope that helps.

TK

"Spidey" wrote:

I've been struggling with this for a while...

The following formula works, and returns the needed answer; however, i would
like to link the "1123" to cell G5, so I can copy down the formula and have
it calculate for the different building codes. My problem is that when I
link the "1123" to the cell, it returns a -0- everytime. In the second
array, I have referenced cell Q$1, which works fine.

I have tried formating G5 as general, text, number. I have recalculated the
spreadsheet. I have named the cell, then tried to reference that.

I am fresh out of ideas.

=SUMPRODUCT(--('3Q06 Occupancy.xls'!Building_code_Column="1123"),--('[3Q06
Occupancy.xls]Occupancy'!$G$4:$G$159=Q$1)*('3Q06 Occupancy.xls'!HC_Column))

Help Please??

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
Nesting a sheet name reference within a cell reference??? Broyston Excel Discussion (Misc queries) 9 July 8th 08 08:35 PM
Using an offset formula for the reference in a relative reference Cuda Excel Worksheet Functions 6 November 15th 06 05:12 PM
How do I anchor a cell reference? CasaJay Excel Discussion (Misc queries) 3 June 7th 06 07:12 AM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
Cell Reference Math Ralph Howarth Excel Worksheet Functions 0 January 26th 05 06:27 PM


All times are GMT +1. The time now is 02:51 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"