We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide

Help I need an excel expert!

I am trying to get a spreadsheet for a number of teams showing who is working out of each team on an On-Call rota
What I have created is a front page tab with a list of team names with the =TODAY() and =NOW() at the top with separate tabs for each team with each row showing date/time start and date/time finish with the staff name and tel entered fr that shift

What I am trying to do is to get the front sheet listing each team name to look at a relevant tab and see who is working for that date and pull the name and telephone number across using:

=IF(ISNA(VLOOKUP($B$5,Team1!$B$8:$M$112,8,FALSE)),"Not Found",VLOOKUP($B$5,Team1!$B$8:$M$112,8,FALSE))

I’ve got the above working but the information is wrong after 12.01am as each on call member works from 9am to 9am the following day, so looking at just the date doesn’t do what I need it to do.

I have on each teams tab a separate column for the: Date shift starts, time shift starts, date shift ends and time shift ends
Is there a way for the formula to see that if the date and time is after x but before y then enter the name and telephone number from that line.

I'm a bit of a novice and am getting nowhere fast.
Sorry if this is as clear as mud!
All help much appreciated

Comments

  • Hi

    I am finding it difficult to fully understand how your data is organised. If you could provide a sample of the data (cleansed to remove any confidential information) then i can help. Make sure you explain as clearly as possible, given the sample, what it is you want to do and what the expected result would be. I will send you a PM with my email address.

    Alternatively, I would advise posting your question here:

    www.mrexcel.com/forum

    you would need to sign up for an account (but that is free) and then there are thousands of clever people who could help.
  • Ms-Pacman
    Ms-Pacman Posts: 508 Forumite
    thanks, have sent you mail.
    I have also posted it on the MrExcel forum but am getting a bit confused with their reply so just trying to figure it out!
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 353.5K Banking & Borrowing
  • 254.2K Reduce Debt & Boost Income
  • 455.1K Spending & Discounts
  • 246.6K Work, Benefits & Business
  • 603K Mortgages, Homes & Bills
  • 178.1K Life & Family
  • 260.6K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.