LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
JonnieP
 
Posts: n/a
Default COUNTIF in one colum then COUNTIF in another...???

(Excel 97/2000)

Hi

I am trying to sort out a spreadsheet which goes like this:

A B C D E F
1 PO Agent Area Date
2 0000 JP Kent 01/01/05
3 0001 AM Surrey 01/01/05

....and so on.

What I want to do is find out how many enteries there are of a particular
agent and between certain dates? I.e. How many times JP appears in column "B"
between 2 dates in column "D".

So far i am using COUNTIF statement to to return how many entries there are
between the dates:

(=COUNTIF(A1:A2500,"="&'CELL')*AND(COUNTIFA1:A250 0,"="&'CELL'))

This appears to be working quite happily, even if the < and seems a bit
strange.

BUT...!!!!! I thought i could add an IF statement in front of this and it
would work in the order i want but i am going round in circles now with this.
I am not totally sure excel can perform what i am asking but any input would
be greatly welcomed.

I am also using an embedded combo box which returns the agent name into
another cell for which i calculate on and lots of other calculations all over
the place if this is any use...

Thanks

John
 
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 statement Russell Hampton Excel Worksheet Functions 6 December 18th 04 07:39 PM
Countif - Countif maswinney Excel Worksheet Functions 3 November 15th 04 11:06 PM
countif, again Liz G Excel Worksheet Functions 2 November 1st 04 11:20 PM
combining countif formulas Liz G Excel Worksheet Functions 3 November 1st 04 09:34 PM
lookup in colum a and compare values in colum b Boggled Excel User Excel Worksheet Functions 14 October 29th 04 06:38 PM


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