Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 52
Default possible countif formula?

Hi Again everyone

I am trying to get a formula in (possible countif) which doesn't seem to be
working

In column D I have the following dates
D42 30/03/2009
D43 01/06/2005
D44 06/02/2009
D45 30/03/2009
D46 19/10/2009
D47 08/03/2010
D48 15/07/2010
D49 15/07/2010
D50 15/09/2010
D51 15/09/2010

In I3 I have 31/01/10, J3 28/02/10 etc etc running along to AR3 which has
31/12/12

I want to write a formula that simply says to check the dates in column D42
- D51 against the date in I3 and if the date in D42-51 is prior to I3 add 1,

So my first forumla for January should = 5, February = 5, March 6 etc tec

I have tried a countif forumula but it doesn't seem to work.

Any ideas appreciated.

Thank you
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default possible countif formula?

Hi,

Try this formula and copy to the right

=countif($D$42:$D$51,"<="&I$3)

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Mark D" wrote in message
...
Hi Again everyone

I am trying to get a formula in (possible countif) which doesn't seem to
be
working

In column D I have the following dates
D42 30/03/2009
D43 01/06/2005
D44 06/02/2009
D45 30/03/2009
D46 19/10/2009
D47 08/03/2010
D48 15/07/2010
D49 15/07/2010
D50 15/09/2010
D51 15/09/2010

In I3 I have 31/01/10, J3 28/02/10 etc etc running along to AR3 which has
31/12/12

I want to write a formula that simply says to check the dates in column
D42
- D51 against the date in I3 and if the date in D42-51 is prior to I3 add
1,

So my first forumla for January should = 5, February = 5, March 6 etc
tec

I have tried a countif forumula but it doesn't seem to work.

Any ideas appreciated.

Thank you


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 52
Default possible countif formula?

Hi Ashish

That's great thank you, works a treat, could I ask what the & is doing?

"Ashish Mathur" wrote:

Hi,

Try this formula and copy to the right

=countif($D$42:$D$51,"<="&I$3)

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Mark D" wrote in message
...
Hi Again everyone

I am trying to get a formula in (possible countif) which doesn't seem to
be
working

In column D I have the following dates
D42 30/03/2009
D43 01/06/2005
D44 06/02/2009
D45 30/03/2009
D46 19/10/2009
D47 08/03/2010
D48 15/07/2010
D49 15/07/2010
D50 15/09/2010
D51 15/09/2010

In I3 I have 31/01/10, J3 28/02/10 etc etc running along to AR3 which has
31/12/12

I want to write a formula that simply says to check the dates in column
D42
- D51 against the date in I3 and if the date in D42-51 is prior to I3 add
1,

So my first forumla for January should = 5, February = 5, March 6 etc
tec

I have tried a countif forumula but it doesn't seem to work.

Any ideas appreciated.

Thank you


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default possible countif formula?

Hi,

The & symbol combines/aggregates strings. For e.g. if you have AS in cell
D5 and DF in cell E5, in F5, enter =D5&E5 - your answer will be ASDF. Since
I3 has to be treated as a cell reference, it cannot be within double quotes
and therefore the cell reference and <= are combined with the & symbol

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Mark D" wrote in message
...
Hi Ashish

That's great thank you, works a treat, could I ask what the & is doing?

"Ashish Mathur" wrote:

Hi,

Try this formula and copy to the right

=countif($D$42:$D$51,"<="&I$3)

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Mark D" wrote in message
...
Hi Again everyone

I am trying to get a formula in (possible countif) which doesn't seem
to
be
working

In column D I have the following dates
D42 30/03/2009
D43 01/06/2005
D44 06/02/2009
D45 30/03/2009
D46 19/10/2009
D47 08/03/2010
D48 15/07/2010
D49 15/07/2010
D50 15/09/2010
D51 15/09/2010

In I3 I have 31/01/10, J3 28/02/10 etc etc running along to AR3 which
has
31/12/12

I want to write a formula that simply says to check the dates in column
D42
- D51 against the date in I3 and if the date in D42-51 is prior to I3
add
1,

So my first forumla for January should = 5, February = 5, March 6
etc
tec

I have tried a countif forumula but it doesn't seem to work.

Any ideas appreciated.

Thank you


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 Khalid A. Al-Otaibi Excel Discussion (Misc queries) 1 April 19th 10 07:39 AM
COUNTIF FORMULA ISSUES - NEED FORMULA CORRECTED Debbi Excel Worksheet Functions 2 November 18th 09 04:47 AM
Countif formula Column references within formulas Excel Discussion (Misc queries) 2 October 21st 09 09:11 PM
Formula Help (countif, I think....) RUSH2CROCHET Excel Discussion (Misc queries) 2 June 6th 08 10:14 PM
CountIf formula results in the formula itself being displayed. NewKid Excel Worksheet Functions 9 December 21st 05 11:10 PM


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