View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Luke M Luke M is offline
external usenet poster
 
Posts: 2,722
Default How to show data between two dates?

Assuming that your start/end dates, and header dates are truly entered as
numerical dates, your formula in E2 is this:
=IF(AND(E$1+6=$C2,OR(ISBLANK($D2),E$1<=$D2)),$B2, "")
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"BWAK424" wrote:

I have a list of tenants and the dates they moved in and out of their flats.
I need to show which weeks within a specific period that the flats were
filled - either by showing the tenants intials or a tick.

A B C D E
F G H
Unit No Client Start End 04-01 11-01 18-01 25-01
1 JB 23-11 06-02 JB
2 GK 05-01 GK GK GK GK
3 LB 01-12 28-02 LB LB LB LB

Does anybody know how is best to do this? We've tried using an IF formula
but it doesn't work if their is a start and end date.