Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,355
Default Cell References

I'd unmerge those cells and put the values in each cell. I'd then put a
conditional format on the first column like this

=COUNTIF(A$1:A1,A1)2 (for cell A1). And change the font color to white.

The data is still there, but it's not visible to the user.
--
HTH,
Barb Reinhardt

If this post was helpful to you, please click YES below.



"Toph" wrote:

I have one sheet with raw data (survey results) in a table, and a second with
some analysis. In the second, the first column has the title of a table
column (e.g. candidate), the second column contains a possible value for that
column (e.g. barack obama, john mccain, other, or not voting), and in the
third column I want to count how many times that value appears in that column.

So the analysis sheet looks something like this:

A, B, C
1 candidate, barack obama, formula
2 candidate, john mccain, formula
3 candidate, not voting, formula
4 gender, male, formula
5 gender, female, formula
6 ....

(note that A1:A3 are merged, as are A4:A5.)

For the formula, I could do:

=COUNTIF(SurveyResults[candidate],"barack obama")

But I want to use relative references so I can fill cells without changing
"candidate" to "gender" or whatever. So I want to do something like this to
replace the above formula:

=COUNTIF(SurveyResults[A1],B1)

The B1 reference is allowed, but the A1 reference isn't. Any ideas?

I know there are other ways of doing this, but it'd be very valuable to me
in the long run to figure this out.

 
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
convert relative cell references to absolute cell references via amacro? Dave F[_2_] Excel Discussion (Misc queries) 1 May 15th 08 04:43 PM
Help with converting a block of cells with Absolute and mixed references to relative references Vulcan Excel Worksheet Functions 3 December 13th 07 11:43 PM
How to rename references from range names to cell references Abbas Excel Discussion (Misc queries) 1 May 24th 06 06:18 PM
Changing Cell References To a Different Worksheet in the Same Cell DL Excel Worksheet Functions 3 March 30th 06 11:18 PM
Transferring cell content between workbooks using cell references Kiwi Mike Excel Discussion (Misc queries) 2 November 27th 04 11:31 PM


All times are GMT +1. The time now is 05:44 PM.

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"