+ Reply to Thread
Results 1 to 4 of 4

formula based on font colour

  1. #1
    Registered User
    Join Date
    09-11-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    2

    formula based on font colour

    I've set up a assortment of conditional formatting and macros to enable my company to automatically create exams in the click of a button, it took a rather long time (my first time using excel in this way) so i'm not too keen on the idea of changing it any time soon, but now I'm trying to set up an automatic marking system where we just input their multiple choice selections and get a direct score from that.

    I've got this set up

    cvbn.jpg

    the correct answer is in a red font (I'd like to not change this as this is part of my conditional formatting set up at another stage).
    Ideally i need for the answer to automatically be entered into column E as an "a" "b" or "c" but cannot find a formula for this.

    Does anyone know of one? (something along the lines of IF(B2=RED,"a"...)

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,416

    Re: formula based on font colour

    What conditional formatting rules have you set up for those answers, or have you just coloured them manually?

    Pete

  3. #3
    Registered User
    Join Date
    09-11-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: formula based on font colour

    sorry, I wrote that wrong! the answers are coloured manually, but they're used in the macro (not conditional formatting) at one point simply to sort by font colour.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,416

    Re: formula based on font colour

    they're used in the macro (not conditional formatting) at one point simply to sort by font colour.
    Well, you must have a routine within your macro that returns the font colour. If this is defined as a function then you could make use of it in the way you suggested. Post a copy of that routine.

    Pete

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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