+ Reply to Thread
Results 1 to 5 of 5

Formula required for displaying a value based on conditional formatting

  1. #1
    Registered User
    Join Date
    06-19-2013
    Location
    Derby, UK
    MS-Off Ver
    Excel Standard 2010
    Posts
    3

    Formula required for displaying a value based on conditional formatting

    Hi. Noob here...

    I have a spreadsheet for the lottery results which contains conditional formatting and changes the cell colour based on the values of other cells.

    So, cells G5:K5 and M5:N5 (chosen numbers) will change to green if the value entered matches a value in cells M2:Q2 and S2:T2 (drawn numbers).

    (I would add an image here but keep getting an error when uploading images - "407 [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error#2038"]")

    What I need now is, if a range contains cells which meet the conditional format rule, display a value, which will differ depending on how many cells meet the conditional format rule.

    I have a list of cells for the prize breakdown so, for example if G5:K5 contains 4 cells which meet the conitional format rule, I need the formula to display the prize value for four numbers from this list.

    Does this make sense? Is it even possible? Any help will be greatly appreciated...

    Thanks

    GA

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Formula required for displaying a value based on conditional formatting

    HI GA,

    welcome to the forum.
    Would be better if you could upload a sample workbook and mention your expected output. Thanks.

    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), dilipandey@gmail.com

  3. #3
    Registered User
    Join Date
    06-19-2013
    Location
    Derby, UK
    MS-Off Ver
    Excel Standard 2010
    Posts
    3

    Re: Formula required for displaying a value based on conditional formatting

    Hi DILIPandey

    I'll sort one and post it...

    Thanks

    GA

  4. #4
    Registered User
    Join Date
    06-19-2013
    Location
    Derby, UK
    MS-Off Ver
    Excel Standard 2010
    Posts
    3

    Re: Formula required for displaying a value based on conditional formatting

    Here's the example spreadsheet with an explanation...

    Thanks

    GA
    Attached Files Attached Files

  5. #5
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Formula required for displaying a value based on conditional formatting

    Okay... see the attached file and review it. thanks.

    LottoResultsExample01.xls

    Regards,
    DILIPandey
    <click on below * if this helps>

+ 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