LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 90
Default formula locking?

Hi there,

I've run into a problem. I currently am building a stats page for a
basketball team. I get reports after each of there game, so what I've done
is build a master sheet that imports the data from each report they give me.
Everything was working fine but I've notice one little thing that's got me
stumped.

An example of one of the reports I get. It's broken down in quarters, and
Play-by-Play. So on Sheet1 I have a play by play of the quarter. It is
usually quiet messy but I've created a nice macro that cleans it up and
removes blank rows and such. The problem is that I have formulas on Sheet2
that read the info on sheet1 and when I run my macro to remove the blank
cells, the formulas on Sheet2 change.

Example:
On sheet 2 i have the following formula:

=COUNTIF(PbyPQ1!$A$1:$A$150,"Matt Penkala - Inside Shot:Made*")

On sheet one, anytime Matt Penkala scored, it show's as "Matt Penkala -
Inside Shot: Made". This works good. But the range is what's messing up.
Say my macro removes 18 blank rows, then the range changes from A1:A150 to
A1:A132.

Any ideas? I've read about unlocking the cells on Sheet1, but that doesn't
seem to do it either. So what I guess I'm really looking for is a way to
lock the range in a formula.

Thanks,
Matt

 
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
Formula locking DaveAsh Excel Worksheet Functions 1 November 19th 07 10:21 AM
locking formula in cells in without locking whole sheet SuziQ Excel Discussion (Misc queries) 1 July 21st 06 03:58 PM
Locking portions of a formula tiggatattoo Excel Worksheet Functions 2 June 5th 06 04:51 PM
locking a formula to cells Ringo Excel Discussion (Misc queries) 1 July 13th 05 06:49 PM
Locking formula for a Sort David Excel Discussion (Misc queries) 1 March 14th 05 08:39 PM


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