Results 1 to 9 of 9

How can I give a cell a numeric value based on the colour and text within them?

Threaded View

  1. #1
    Registered User
    Join Date
    04-27-2023
    Location
    London UK
    MS-Off Ver
    Office 365
    Posts
    4

    How can I give a cell a numeric value based on the colour and text within them?

    We work a 12 hour shift pattern so a 'D' shift is equal to 1.5 days of Annual Leave
    Every 2 months we do 2 weeks of 'D8' shifts which are equal to 1 day of Annual Leave
    The same values should apply when an employee takes sick leave.
    I would like the table on the right to auto-fill based on the inputs in the table on the left. If I fill a cell red and it has a 'D' as the text I would like that to be translated to a numeric value of 1.5 in the table on the right
    but if the cell is red and has a 'D8' as the text I would like that to be translated to a numeric value of 1.0 in the table on the right.

    Any and all help would be greatly appreciated.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Give value based on cell colour
    By joshwallace90 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-04-2020, 03:31 PM
  2. [SOLVED] Changing text colour in a cell based on value or colour of another cell.
    By Jeankartel in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-15-2019, 07:16 PM
  3. [SOLVED] How to give Numeric Values to text
    By camisado821 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-03-2016, 01:20 PM
  4. Replies: 24
    Last Post: 11-10-2015, 07:27 PM
  5. Is it possible to give cell text a numeric value?
    By billybob013 in forum Excel General
    Replies: 12
    Last Post: 04-14-2015, 04:45 PM
  6. Replies: 7
    Last Post: 10-10-2013, 09:13 AM
  7. Give text a numeric value???
    By Dae in forum Excel General
    Replies: 2
    Last Post: 12-20-2010, 11:44 PM

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