#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 251
Default Auto Fill

A177 has a number. B177 has this formula: =COUNTIF($A$2:$A177,$A177)
I've had to drag that formula down now for 177 rows. Why will it not
automatically complete once I enter the number in Col. A.

G177 has a number. H177 has this formula:
=IF(G177="","",IF(G177<4,"LD","SU"))
As soon as I enter a number in G177, H177 completes automatically. I never
have to drag the formula down.

Why won't the Col. B formula work auto-fill like the Col. H formula does?

Connie
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default Auto Fill

Since the range in your first formula is growing everytime it is copied down
a cell, Excel doesn't recognize the formula as being consistent and therefore
won't auto-populate new rows.

You could trick Excel by re-writing your formula in a consistent manner, like:

=COUNTIF(INDIRECT("$A$2:A"&ROW()),A2)

WIth the use of INDIRECT and ROW, the formula really isn't changing when
copied, and Excel will auto-populate it.

HTH
Elkar


"Connie Martin" wrote:

A177 has a number. B177 has this formula: =COUNTIF($A$2:$A177,$A177)
I've had to drag that formula down now for 177 rows. Why will it not
automatically complete once I enter the number in Col. A.

G177 has a number. H177 has this formula:
=IF(G177="","",IF(G177<4,"LD","SU"))
As soon as I enter a number in G177, H177 completes automatically. I never
have to drag the formula down.

Why won't the Col. B formula work auto-fill like the Col. H formula does?

Connie

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 251
Default Auto Fill

Thank you! That works. I'll use that formula because I find it annoying to
have to stop and drag down a formula. I understand the concept, but would've
never figured out. Thankfully there are gurus around like you!! :) Thank
you! Connie

"Elkar" wrote:

Since the range in your first formula is growing everytime it is copied down
a cell, Excel doesn't recognize the formula as being consistent and therefore
won't auto-populate new rows.

You could trick Excel by re-writing your formula in a consistent manner, like:

=COUNTIF(INDIRECT("$A$2:A"&ROW()),A2)

WIth the use of INDIRECT and ROW, the formula really isn't changing when
copied, and Excel will auto-populate it.

HTH
Elkar


"Connie Martin" wrote:

A177 has a number. B177 has this formula: =COUNTIF($A$2:$A177,$A177)
I've had to drag that formula down now for 177 rows. Why will it not
automatically complete once I enter the number in Col. A.

G177 has a number. H177 has this formula:
=IF(G177="","",IF(G177<4,"LD","SU"))
As soon as I enter a number in G177, H177 completes automatically. I never
have to drag the formula down.

Why won't the Col. B formula work auto-fill like the Col. H formula does?

Connie

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
auto fill or auto search from a list or drop-down list??????? Joe H.[_2_] Excel Discussion (Misc queries) 9 August 29th 08 12:56 AM
Auto-populate, Auto-copy or Auto-fill? Jay S. Excel Worksheet Functions 4 August 10th 07 09:04 PM
using auto fill edit or fill handel fill handle or auto fill Excel Worksheet Functions 0 February 10th 06 07:01 PM
Auto Fill Dedrie Excel Discussion (Misc queries) 3 January 6th 06 08:17 PM
Auto fill Mike F. Excel Discussion (Misc queries) 3 December 15th 05 05:03 PM


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