+ Reply to Thread
Results 1 to 5 of 5

Adding colour background and number

  1. #1
    Registered User
    Join Date
    01-10-2014
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    9

    Adding colour background and number

    Hi, I am hoping someone out there can help me with a formula problem, in the IAF tab, last one on sheet, I want to highlight a cell if on the Day tabs there is anything in column E, this will be text e.g. LAD, LE, E, AD, LC or NS, and in the same cell show the number that appears in column J of the day tabs, the excel sheet I'm working is to large to upload, if I delete some of the tabs all of the formulas go out of kilter. If Joe Blogs was at work on Day 1, the corresponding cell in the IAF tab should be yellow, if the supervisor monitored Joe's work on Day 1 the same IAF tab cell should remain yellow and show the number that is placed in column J on Day 1 for Joe Blogs.
    P.S.
    I have managed to upload an amended copy of the file, Thanks in advance for your help.
    Attached Files Attached Files
    Last edited by Btosh4; 07-28-2014 at 07:58 AM. Reason: Can now upload excel sheet

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Adding colour background and number

    Hi,

    I have adjusted the formula to show the number in column J on each worksheet (although this wasn't necessary, I have created a formula for you that can be filled down and to the right without having to rewrite it for each day). The new formula in cell C8 on the IAF worksheet is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Then fill this to the right for the 4 days and down to the bottom of your table.

    As for highlighting the cells which have a respective value in column E, highlight the entire table range on the IAF worksheet (C8:F55 in your attached workbook), then choose Conditional Formatting and "Use a formula to determine which cells to format", and enter the following formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Then OK your way back to the worksheet.

    If you need any help either translating this to your actual workbook, or even just understanding what the hell either of these formulas are doing, please don't hesitate to ask.

    I hope this helps
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    01-10-2014
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Adding colour background and number

    Thanks ajryan88 for the speedy response, will have a look through now, fingers crossed I understand it.

  4. #4
    Registered User
    Join Date
    01-10-2014
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Adding colour background and number

    Thanks ajryan88, it worked a treat, greatly appreciated.

  5. #5
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Adding colour background and number

    Awesome, glad to hear it!

    Please don't forget to click on the * next to my post to say thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] change of font colour or background colour vba
    By KK1234 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-22-2014, 08:20 PM
  2. [SOLVED] Show number in cell based on cell background colour
    By philjuk in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 12-11-2013, 02:04 PM
  3. Find number, change background colour, loop.
    By rjtedge in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-09-2011, 12:59 AM
  4. Counting the number of Cells with a Particular Background Colour?
    By Hamish in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-14-2006, 09:20 AM
  5. change a cell background colour to my own RGB colour requirements
    By Stephen Doughty in forum Excel General
    Replies: 4
    Last Post: 06-16-2006, 08:15 AM

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