+ Reply to Thread
Results 1 to 3 of 3

Conditional Formatting using Vlookup or Find

  1. #1
    Registered User
    Join Date
    01-29-2012
    Location
    Adelaide
    MS-Off Ver
    Excel 2007
    Posts
    2

    Conditional Formatting using Vlookup or Find

    Hi,

    I've used a couple of tutorials on conditional formatting relating to event calendars but I want to do something slightly different.

    I Manage a football club and I want to be able to view 3 months events. I'd like the boxes to be green for home games and Red for away, but also add another colour for funraisers and another for meetings.

    It was easy to get the box to turn green when the date existed in a specific column on another sheet but that's as far as I can get.

    I've tried MATCH, VLOOKUP and AND others but I'm still scratching my head.

    Sheet1, Data contains
    Round,Date,Event Type,Opposition
    1,01/02/2012,H,Team A
    2,08/02/2012,A,Team B
    3,15/02/2012,H,Team C
    ,22/02/2012,F,Fundraiser
    ,24/02/2012,M,Meeting

    Sheet2 Data contains a basic calendar
    Mon,Tue,Wed,Thu,Fri,Sat,Sun
    01/02,02/02,03/02,04/02,05/02,06/02,07/02
    Event Data
    08/02,09/02,10/02.......


    If I work out how to upload the file, I'm sure it would help.

    Cheers

    Andy

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,450

    Re: Conditional Formatting using Vlookup or Find

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook. Don't upload a picture when you have a workbook question. None of us is inclined to recreate your data. Upload the workbook and manually add an 'after' situation so that we can see what you expect. In addition clearly explain how you get the results..
    To attach a file to your post, you need to be using the main 'New Post' or 'New Thread' page and not 'Quick Reply'.
    To use the main 'New Post' page, click the 'Post Reply' button in the relevant thread.

    On this page, below the message box, you will find a button labelled 'Manage Attachments'.
    Clicking this button will open a new window for uploading attachments.

    You can upload an attachment either from your computer or from another URL by using the appropriate box on this page.
    Alternatively you can click the Attachment Icon to open this page.

    To upload a file from your computer, click the 'Browse' button and locate the file.

    To upload a file from another URL, enter the full URL for the file in the second box on this page.
    Once you have completed one of the boxes, click 'Upload'.

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    01-29-2012
    Location
    Adelaide
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Conditional Formatting using Vlookup or Find

    events calendar-mock.xlsx

    This should make sense now

    Sheet1 or Data contains a list of dates on which we have events, each event has a type
    H = home match
    A = Away match
    M = Meeting
    F = Fundraiser

    The opposition field contains either the team we are playing, or the event description

    Sheet 2 or Calv2
    Is the actual events calendar
    It contains 12 weeks data rolling from the date entered in cell A4. I'd like to be able to add dates to the list in sheet 1 and automatically populate data into the calendar and format the appropriate box with the right background colour based on the event type.

    We want to be able to print it out on A3 every 4 weeks (obviously changing the date in A4)

    Does that make more sense now?
    Last edited by andyfry; 01-29-2012 at 09:31 PM. Reason: add data

+ 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