+ Reply to Thread
Results 1 to 4 of 4

VB and nested if statements

  1. #1
    Registered User
    Join Date
    03-12-2008
    Posts
    36

    VB and nested if statements

    Hi,

    I've got an excel worksheet and I want to add some conditions to a range of cells (Column). The conditions are as follows -

    1) Three or more occasions off sick in a 12 week period,

    2) six occasions off sick in a rolling year

    c) 3 to 5 occasions of sickness absence totaling twelve or more days in a rolling year

    Firstly do you know if this is possible in excel, if so would it involve using VB and nested if statements be the be way

    Regards

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,523
    Quote Originally Posted by timmycl_7
    Hi,

    I've got an excel worksheet and I want to add some conditions to a range of cells (Column). The conditions are as follows -

    1) Three or more occasions off sick in a 12 week period,

    2) six occasions off sick in a rolling year

    c) 3 to 5 occasions of sickness absence totaling twelve or more days in a rolling year

    Firstly do you know if this is possible in excel, if so would it involve using VB and nested if statements be the be way

    Regards
    Hi,
    try the auto filter

  3. #3
    Registered User
    Join Date
    03-12-2008
    Posts
    36
    Autofilter won't work because the sheet is about 1000 cells. I was hoping I could isolate a twelve week period and a year. Would I have to think about a seperate worksheet for each year??

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,523
    Quote Originally Posted by timmycl_7
    Autofilter won't work because the sheet is about 1000 cells. I was hoping I could isolate a twelve week period and a year. Would I have to think about a seperate worksheet for each year??
    And why won't it work?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1