Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 271
Default CountIf formula problem when referencing a column.

I am referencing a column from a seperate sheet within one file. The problem
I have is that when I insert a column my formulas are not updating properly
on the seperate sheet. An example of my formula is
"countif(Sheet2!F$3:F$500,B11)". I need the formulas to find the critera one
column at a time. When I need to insert a column on sheet 2 the column
numbers referenced in the formulas change from A,B,C,D,etc to A,B,D,E etc.
Basically, as I drag and copy across a range with a formula the columns
originally format properly within the formula but, when I go back and insert
a column on other sheet the formulas will not automatically update correctly.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default CountIf formula problem when referencing a column.

Actually, your formulas are adjusting perfectly.

I would think that you'd still want the formula that used to point at a certain
field to always point at that field.

If column F of sheet2 was the department number for some employees and B11 was a
single department number, then if you insert a new column before column F of
sheet2, you'd still want to look at that department number column (now moved to
column G).

Wouldn't you?



Shawn wrote:

I am referencing a column from a seperate sheet within one file. The problem
I have is that when I insert a column my formulas are not updating properly
on the seperate sheet. An example of my formula is
"countif(Sheet2!F$3:F$500,B11)". I need the formulas to find the critera one
column at a time. When I need to insert a column on sheet 2 the column
numbers referenced in the formulas change from A,B,C,D,etc to A,B,D,E etc.
Basically, as I drag and copy across a range with a formula the columns
originally format properly within the formula but, when I go back and insert
a column on other sheet the formulas will not automatically update correctly.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 271
Default CountIf formula problem when referencing a column.

This is true, however when I insert a column on page 2 then the column
reference that my formulas need on page 1 don't recognize the new column.
The forumals will read across the row and go F,G,H,I,K,L,M, ect. As you can
see the physical column on page 2 does exist however column J is not
recognized within the page 1 formulas that already exist. The formulas will
not correct themselves automatically. I have to go back to page 1 and drag
across the range from the first cell to update.

"Dave Peterson" wrote:

Actually, your formulas are adjusting perfectly.

I would think that you'd still want the formula that used to point at a certain
field to always point at that field.

If column F of sheet2 was the department number for some employees and B11 was a
single department number, then if you insert a new column before column F of
sheet2, you'd still want to look at that department number column (now moved to
column G).

Wouldn't you?



Shawn wrote:

I am referencing a column from a seperate sheet within one file. The problem
I have is that when I insert a column my formulas are not updating properly
on the seperate sheet. An example of my formula is
"countif(Sheet2!F$3:F$500,B11)". I need the formulas to find the critera one
column at a time. When I need to insert a column on sheet 2 the column
numbers referenced in the formulas change from A,B,C,D,etc to A,B,D,E etc.
Basically, as I drag and copy across a range with a formula the columns
originally format properly within the formula but, when I go back and insert
a column on other sheet the formulas will not automatically update correctly.


--

Dave Peterson
.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default CountIf formula problem when referencing a column.

You should consider naming your ranges. Search the help under "name" or
"range". Taking the extra time to do this when you set up your file should
take care of this.

"Shawn" wrote:

I am referencing a column from a seperate sheet within one file. The problem
I have is that when I insert a column my formulas are not updating properly
on the seperate sheet. An example of my formula is
"countif(Sheet2!F$3:F$500,B11)". I need the formulas to find the critera one
column at a time. When I need to insert a column on sheet 2 the column
numbers referenced in the formulas change from A,B,C,D,etc to A,B,D,E etc.
Basically, as I drag and copy across a range with a formula the columns
originally format properly within the formula but, when I go back and insert
a column on other sheet the formulas will not automatically update correctly.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 271
Default CountIf formula problem when referencing a column.

I will give this a try and see what happens. I will let you know.

"ckemler" wrote:

You should consider naming your ranges. Search the help under "name" or
"range". Taking the extra time to do this when you set up your file should
take care of this.

"Shawn" wrote:

I am referencing a column from a seperate sheet within one file. The problem
I have is that when I insert a column my formulas are not updating properly
on the seperate sheet. An example of my formula is
"countif(Sheet2!F$3:F$500,B11)". I need the formulas to find the critera one
column at a time. When I need to insert a column on sheet 2 the column
numbers referenced in the formulas change from A,B,C,D,etc to A,B,D,E etc.
Basically, as I drag and copy across a range with a formula the columns
originally format properly within the formula but, when I go back and insert
a column on other sheet the formulas will not automatically update correctly.



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
Countif formula problem Robert Smith Excel Worksheet Functions 3 May 31st 08 07:46 PM
Problem w/formula referencing another sheet PatrickP Excel Worksheet Functions 1 January 15th 08 04:42 AM
formula referencing a column - autofilling in a row ??? Arcadiaz04 Excel Discussion (Misc queries) 2 March 14th 07 08:08 PM
Countif referencing another WB John Excel Discussion (Misc queries) 1 November 23rd 06 01:23 PM
Referencing previous column in COUNTIF [email protected] Excel Discussion (Misc queries) 6 March 1st 05 10:27 AM


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