Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

MS Excel Date ranges

Options
  • 21-11-2012 1:01pm
    #1
    Registered Users Posts: 378 ✭✭


    Hi folks,

    Am stuck with a problem in excel 2010 i was hoping someone may be able to help me with.

    Say I've got a range of dates Jan/Feb/Mar/Apr/May

    and an event that started in Feb and finished in Apr

    I want to have a table what will calculate 1 for Feb/Mar/Apr to show the event was live during those months but 0 for Jan and May.

    I've tried if functions and if functions within if functions (not too hot at those) but cant get it.

    Below i set out teh raw data and below that the desired result, can anyone help?

    Start End
    Event 1 Feb 12 Apr 12
    Event 2 Jan 12 Mar 12

    Jan-12 Feb-12 Mar-12 Apr-12 May-12
    Event 1 0 1 1 1 0
    Event 2 1 1 1 0 0

    Thanks
    TRG


Comments

  • Registered Users Posts: 378 ✭✭trg


    Sorry i see now that the result table didnt come publish as i typed it in, hope it makes sense!


  • Registered Users Posts: 1,931 ✭✭✭PrzemoF


    Something like this?


  • Registered Users Posts: 378 ✭✭trg


    Just about, thanks a million, really appreciate it.

    If adapted a little to get the digits in


Advertisement