Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 201
Default working out days between date.

Hi

First thank you to the guy and girls that answeed this yesterday but i left
some info out so it it did not work.

In cell B1 to B100 i have a date (radom) In cell A1 i have the date i want
to work out the differece between those in B1-B100 and A1. The in cell C1 i
want to count the dates that are <30 Days i.e: if there are 10 dates <30 days
i want to show 10 in C1.

thanks
Phil.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default working out days between date.

Maybe...

=COUNTIF(B1:B100,"<"&A1+30)



phil wrote:

Hi

First thank you to the guy and girls that answeed this yesterday but i left
some info out so it it did not work.

In cell B1 to B100 i have a date (radom) In cell A1 i have the date i want
to work out the differece between those in B1-B100 and A1. The in cell C1 i
want to count the dates that are <30 Days i.e: if there are 10 dates <30 days
i want to show 10 in C1.

thanks
Phil.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default working out days between date.

Try this in C1

=COUNTIF(B1:B100,"=" & A1+30)

Mike

"phil" wrote:

Hi

First thank you to the guy and girls that answeed this yesterday but i left
some info out so it it did not work.

In cell B1 to B100 i have a date (radom) In cell A1 i have the date i want
to work out the differece between those in B1-B100 and A1. The in cell C1 i
want to count the dates that are <30 Days i.e: if there are 10 dates <30 days
i want to show 10 in C1.

thanks
Phil.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 201
Default working out days between date.

That seems to count evey entry?

I have check the date fields are setup the same.

Any other ideas where im going wrong?

Phil.

"Dave Peterson" wrote:

Maybe...

=COUNTIF(B1:B100,"<"&A1+30)



phil wrote:

Hi

First thank you to the guy and girls that answeed this yesterday but i left
some info out so it it did not work.

In cell B1 to B100 i have a date (radom) In cell A1 i have the date i want
to work out the differece between those in B1-B100 and A1. The in cell C1 i
want to count the dates that are <30 Days i.e: if there are 10 dates <30 days
i want to show 10 in C1.

thanks
Phil.


--

Dave Peterson

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 201
Default working out days between date.

Cheers Mike

I thought thay were the same thing, that will teach me to look next time

"Mike H" wrote:

Phil,


Use my formula or change the < to in Dave's

Mike

"phil" wrote:

That seems to count evey entry?

I have check the date fields are setup the same.

Any other ideas where im going wrong?

Phil.

"Dave Peterson" wrote:

Maybe...

=COUNTIF(B1:B100,"<"&A1+30)



phil wrote:

Hi

First thank you to the guy and girls that answeed this yesterday but i left
some info out so it it did not work.

In cell B1 to B100 i have a date (radom) In cell A1 i have the date i want
to work out the differece between those in B1-B100 and A1. The in cell C1 i
want to count the dates that are <30 Days i.e: if there are 10 dates <30 days
i want to show 10 in C1.

thanks
Phil.

--

Dave Peterson



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default working out days between date.

Phil,


Use my formula or change the < to in Dave's

Mike

"phil" wrote:

That seems to count evey entry?

I have check the date fields are setup the same.

Any other ideas where im going wrong?

Phil.

"Dave Peterson" wrote:

Maybe...

=COUNTIF(B1:B100,"<"&A1+30)



phil wrote:

Hi

First thank you to the guy and girls that answeed this yesterday but i left
some info out so it it did not work.

In cell B1 to B100 i have a date (radom) In cell A1 i have the date i want
to work out the differece between those in B1-B100 and A1. The in cell C1 i
want to count the dates that are <30 Days i.e: if there are 10 dates <30 days
i want to show 10 in C1.

thanks
Phil.


--

Dave Peterson

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default working out days between date.

I guessed wrong which was subtracting from which.

phil wrote:

That seems to count evey entry?

I have check the date fields are setup the same.

Any other ideas where im going wrong?

Phil.

"Dave Peterson" wrote:

Maybe...

=COUNTIF(B1:B100,"<"&A1+30)



phil wrote:

Hi

First thank you to the guy and girls that answeed this yesterday but i left
some info out so it it did not work.

In cell B1 to B100 i have a date (radom) In cell A1 i have the date i want
to work out the differece between those in B1-B100 and A1. The in cell C1 i
want to count the dates that are <30 Days i.e: if there are 10 dates <30 days
i want to show 10 in C1.

thanks
Phil.


--

Dave Peterson


--

Dave Peterson
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
date + working days Jose Excel Worksheet Functions 2 January 14th 07 04:46 PM
Can Excel add working days to a date to result in another date? cwalrus Excel Worksheet Functions 1 May 16th 06 07:27 PM
How do you add 40 working days to a date EmmaLaw22 Excel Discussion (Misc queries) 3 April 3rd 06 02:29 PM
Add on 8 working days to a date Shirley Munro Excel Worksheet Functions 2 March 9th 06 03:57 PM
date (minus) date = working days diff jjj Excel Discussion (Misc queries) 3 December 6th 05 04:16 PM


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