Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 328
Default Counting cases between dates

Hi, I am using a waiting list of our clients and i would like to be able to
calculate how many are on the list, from todays date, that have been waiting
less than 6 weeks, 6 - 18 weeks and 18 weeks+. I would be very grateful for
any help with this as it's driving me mad :(
--
Many thanks, Lisa
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Counting cases between dates

Hi Lisa

Suppose you have the dates in ColB try the below

'Count of clients waiting for the last 6 weeks
=COUNTIF(B:B,"" & TODAY()-(6*7))

'Count of clients waiting for the last 6 - 18 weeks
=COUNTIF(B:B,"" & TODAY()-(18*7))-COUNTIF(B:B,"" & TODAY()-(6*7))

'Count of clients waiting for 18 weeks and more
=COUNTIF(B:B,"<" & TODAY()-(18*7))


--
Jacob


"Lisa" wrote:

Hi, I am using a waiting list of our clients and i would like to be able to
calculate how many are on the list, from todays date, that have been waiting
less than 6 weeks, 6 - 18 weeks and 18 weeks+. I would be very grateful for
any help with this as it's driving me mad :(
--
Many thanks, Lisa

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Counting cases between dates

=COUNTIF(A1:A20,""&TODAY()-6*7)
=COUNTIF(A1:A20,""&TODAY()-18*7)-COUNTIF(A1:A20,""&TODAY()-6*7)
=COUNTIF(A1:A20,"<="&TODAY()-18*7)

Adjust the range to suit.
--
David Biddulph

"Lisa" wrote in message
...
Hi, I am using a waiting list of our clients and i would like to be able
to
calculate how many are on the list, from todays date, that have been
waiting
less than 6 weeks, 6 - 18 weeks and 18 weeks+. I would be very grateful
for
any help with this as it's driving me mad :(
--
Many thanks, Lisa



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 328
Default Counting cases between dates

Unbelieveable, i think you are a genius!!! I have no idea what any of it
meant but copied into the worksheet and it worked!!!!!!! Will it
automatically update if i wanted to do it tomorrow, next week etc??? Thank
you so much!
--
Many thanks, Lisa


"Jacob Skaria" wrote:

Hi Lisa

Suppose you have the dates in ColB try the below

'Count of clients waiting for the last 6 weeks
=COUNTIF(B:B,"" & TODAY()-(6*7))

'Count of clients waiting for the last 6 - 18 weeks
=COUNTIF(B:B,"" & TODAY()-(18*7))-COUNTIF(B:B,"" & TODAY()-(6*7))

'Count of clients waiting for 18 weeks and more
=COUNTIF(B:B,"<" & TODAY()-(18*7))


--
Jacob


"Lisa" wrote:

Hi, I am using a waiting list of our clients and i would like to be able to
calculate how many are on the list, from todays date, that have been waiting
less than 6 weeks, 6 - 18 weeks and 18 weeks+. I would be very grateful for
any help with this as it's driving me mad :(
--
Many thanks, Lisa

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Counting cases between dates

Thanks for the feedback. Yes; it works automatically as the function TODAY()
always returns the current date

--
Jacob


"Lisa" wrote:

Unbelieveable, i think you are a genius!!! I have no idea what any of it
meant but copied into the worksheet and it worked!!!!!!! Will it
automatically update if i wanted to do it tomorrow, next week etc??? Thank
you so much!
--
Many thanks, Lisa


"Jacob Skaria" wrote:

Hi Lisa

Suppose you have the dates in ColB try the below

'Count of clients waiting for the last 6 weeks
=COUNTIF(B:B,"" & TODAY()-(6*7))

'Count of clients waiting for the last 6 - 18 weeks
=COUNTIF(B:B,"" & TODAY()-(18*7))-COUNTIF(B:B,"" & TODAY()-(6*7))

'Count of clients waiting for 18 weeks and more
=COUNTIF(B:B,"<" & TODAY()-(18*7))


--
Jacob


"Lisa" wrote:

Hi, I am using a waiting list of our clients and i would like to be able to
calculate how many are on the list, from todays date, that have been waiting
less than 6 weeks, 6 - 18 weeks and 18 weeks+. I would be very grateful for
any help with this as it's driving me mad :(
--
Many thanks, Lisa



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Counting cases between dates

Yes. That's why it's got TODAY() in the formula.

COUNTIF is a standard Excel function, and you'll find details of its
operation and syntax in the Excel help for the function.
--
David Biddulph

"Lisa" wrote in message
...
Unbelieveable, i think you are a genius!!! I have no idea what any of it
meant but copied into the worksheet and it worked!!!!!!! Will it
automatically update if i wanted to do it tomorrow, next week etc???
Thank
you so much!
--
Many thanks, Lisa


"Jacob Skaria" wrote:

Hi Lisa

Suppose you have the dates in ColB try the below

'Count of clients waiting for the last 6 weeks
=COUNTIF(B:B,"" & TODAY()-(6*7))

'Count of clients waiting for the last 6 - 18 weeks
=COUNTIF(B:B,"" & TODAY()-(18*7))-COUNTIF(B:B,"" & TODAY()-(6*7))

'Count of clients waiting for 18 weeks and more
=COUNTIF(B:B,"<" & TODAY()-(18*7))


--
Jacob


"Lisa" wrote:

Hi, I am using a waiting list of our clients and i would like to be
able to
calculate how many are on the list, from todays date, that have been
waiting
less than 6 weeks, 6 - 18 weeks and 18 weeks+. I would be very grateful
for
any help with this as it's driving me mad :(
--
Many thanks, Lisa



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 328
Default Counting cases between dates

Brilliant, thanks again for your help with this, i'd have never have got
there on my own!!!!
--
Many thanks, Lisa


"Jacob Skaria" wrote:

Thanks for the feedback. Yes; it works automatically as the function TODAY()
always returns the current date

--
Jacob


"Lisa" wrote:

Unbelieveable, i think you are a genius!!! I have no idea what any of it
meant but copied into the worksheet and it worked!!!!!!! Will it
automatically update if i wanted to do it tomorrow, next week etc??? Thank
you so much!
--
Many thanks, Lisa


"Jacob Skaria" wrote:

Hi Lisa

Suppose you have the dates in ColB try the below

'Count of clients waiting for the last 6 weeks
=COUNTIF(B:B,"" & TODAY()-(6*7))

'Count of clients waiting for the last 6 - 18 weeks
=COUNTIF(B:B,"" & TODAY()-(18*7))-COUNTIF(B:B,"" & TODAY()-(6*7))

'Count of clients waiting for 18 weeks and more
=COUNTIF(B:B,"<" & TODAY()-(18*7))


--
Jacob


"Lisa" wrote:

Hi, I am using a waiting list of our clients and i would like to be able to
calculate how many are on the list, from todays date, that have been waiting
less than 6 weeks, 6 - 18 weeks and 18 weeks+. I would be very grateful for
any help with this as it's driving me mad :(
--
Many thanks, Lisa

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 328
Default Counting cases between dates

Thank you very much for your help David, excel is not my strong point!!! It
works and i'm happy :)
--
Many thanks, Lisa


"David Biddulph" wrote:

=COUNTIF(A1:A20,""&TODAY()-6*7)
=COUNTIF(A1:A20,""&TODAY()-18*7)-COUNTIF(A1:A20,""&TODAY()-6*7)
=COUNTIF(A1:A20,"<="&TODAY()-18*7)

Adjust the range to suit.
--
David Biddulph

"Lisa" wrote in message
...
Hi, I am using a waiting list of our clients and i would like to be able
to
calculate how many are on the list, from todays date, that have been
waiting
less than 6 weeks, 6 - 18 weeks and 18 weeks+. I would be very grateful
for
any help with this as it's driving me mad :(
--
Many thanks, Lisa



.

  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Counting cases between dates

Glad it worked for you.
--
David Biddulph

"Lisa" wrote in message
...
Thank you very much for your help David, excel is not my strong point!!!
It
works and i'm happy :)
--
Many thanks, Lisa


"David Biddulph" wrote:

=COUNTIF(A1:A20,""&TODAY()-6*7)
=COUNTIF(A1:A20,""&TODAY()-18*7)-COUNTIF(A1:A20,""&TODAY()-6*7)
=COUNTIF(A1:A20,"<="&TODAY()-18*7)

Adjust the range to suit.
--
David Biddulph

"Lisa" wrote in message
...
Hi, I am using a waiting list of our clients and i would like to be
able
to
calculate how many are on the list, from todays date, that have been
waiting
less than 6 weeks, 6 - 18 weeks and 18 weeks+. I would be very grateful
for
any help with this as it's driving me mad :(
--
Many thanks, Lisa



.



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
Formula for Cases=144 * # of Cases + Pieces Inventory Formula Excel Discussion (Misc queries) 2 December 29th 09 09:09 PM
repetition cases Omar Excel Discussion (Misc queries) 2 May 9th 07 09:17 PM
counting occasions dates occur between 2 dates hoyt New Users to Excel 5 June 16th 06 08:11 AM
Counting dates, within a list of dates jrheinschm Excel Worksheet Functions 7 April 19th 06 06:13 PM
Matching 2 cases at once. mae1778 Excel Discussion (Misc queries) 2 August 26th 05 09:50 PM


All times are GMT +1. The time now is 07:21 AM.

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"