Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default Using Data Fill function to copy a Countif formula

Instead of using the actual name in your formula, put the names in separate
cells, say A10:A15. If "Claire" is in A10, your formula should read

=countif(b$1:b$8,A10)

Notice that the B1:B8 address has been modifed, too.

This formula you can drag down/fill

"Rachael F" wrote:

I have a worksheet that contains the dates on which an user has logged on to
a computer network - sample data below:

Date User
22/1 Rachael
22/1 Sue
22/1 Claire
22/1 Sam
23/1 Sue
24/1 Rachael
24/1 Sue
25/1 Claire

I have used the countif formula to count the number of times that an user
(Claire)has logged on:

Claire =countif(b1:b8,"Claire")
Sue
Rachael
Sam

I would like to copy this formula for all users without needing to change
the name for each of the copied formulas. Can/should I use data fill to do
this?

Many thanks.

Rachael

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
Help - copy a formula using the fill handle Lori Excel Discussion (Misc queries) 5 January 12th 07 03:20 PM
Use data to copy/fill other cells. Harv Excel Discussion (Misc queries) 3 May 11th 06 10:22 PM
I have a list of data, fill in the gaps. FILL function won't work Triv Excel Discussion (Misc queries) 1 September 17th 05 02:33 PM
The fill feature in Excel that gives option to fill or copy KAHelman New Users to Excel 1 July 29th 05 07:47 PM
Concatenate Countif formula for VBA fill-in Dennis Excel Discussion (Misc queries) 3 June 24th 05 10:36 PM


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