Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Prevent formula reference from changing

Hi,
=countif(sheet1!"$b$2;$b$500,"=aprv")

On this formula, I need to stop the$b$2 reference from automatically
changing when I insert a column before the B column (ie; no matter how many
columns are inserted, I want whatever ends up in the B column to be the focus
of the countif function.

Either that, or is there just a simple way to have the formula look at the
entire worksheet and pull those values out (as they will be unique)?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Prevent formula reference from changing

Try this:

=COUNTIF(INDIRECT("Sheet1!B2:B500"),"aprv")

This will always refer to Sheet1B2:B500

Biff

"ScottyC" wrote in message
...
Hi,
=countif(sheet1!"$b$2;$b$500,"=aprv")

On this formula, I need to stop the$b$2 reference from automatically
changing when I insert a column before the B column (ie; no matter how
many
columns are inserted, I want whatever ends up in the B column to be the
focus
of the countif function.

Either that, or is there just a simple way to have the formula look at the
entire worksheet and pull those values out (as they will be unique)?

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Prevent formula reference from changing

Thanks, Bif, you're wonderful!

"ScottyC" wrote:

Hi,
=countif(sheet1!"$b$2;$b$500,"=aprv")

On this formula, I need to stop the$b$2 reference from automatically
changing when I insert a column before the B column (ie; no matter how many
columns are inserted, I want whatever ends up in the B column to be the focus
of the countif function.

Either that, or is there just a simple way to have the formula look at the
entire worksheet and pull those values out (as they will be unique)?

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Prevent formula reference from changing

You're welcome. Thanks for the feedback!

Biff

"ScottyC" wrote in message
...
Thanks, Bif, you're wonderful!

"ScottyC" wrote:

Hi,
=countif(sheet1!"$b$2;$b$500,"=aprv")

On this formula, I need to stop the$b$2 reference from automatically
changing when I insert a column before the B column (ie; no matter how
many
columns are inserted, I want whatever ends up in the B column to be the
focus
of the countif function.

Either that, or is there just a simple way to have the formula look at
the
entire worksheet and pull those values out (as they will be unique)?

Thanks



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
Is this possible with excel ? ChrisB Excel Discussion (Misc queries) 14 December 30th 06 12:31 AM
Formula that references another reference F3DB Excel Worksheet Functions 1 October 22nd 06 03:51 AM
Changing a cell reference within a formula w/another cell tx12345 Excel Worksheet Functions 5 March 7th 06 01:52 AM
Worksheet name / reference as a formula? gabriel_e Excel Discussion (Misc queries) 4 January 24th 06 12:23 PM
HOW DO I COPY FORMULA WITHOUT CHANGING CELL REFERENCE anantth Excel Discussion (Misc queries) 4 February 6th 05 12:25 PM


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