+ Reply to Thread
Results 1 to 9 of 9

Conditional format with isnumber

  1. #1
    Registered User
    Join Date
    12-02-2008
    Location
    London
    Posts
    51

    Conditional format with isnumber

    Hi,
    I have a conditional format that is working for me: =INDEX($BI$38:$BK$59,MATCH($AI11,$BH$38:$BH$59,0),MATCH(AJ$10,$BI$37:$BK$37,0))<50 (thanks to @AliGW)

    Please could someone let me know how to add something like isnumber, so cells do not format if any of reference cells ($BI$38:$BK$59) contain a hyphen?

    Many thanks,

    Adam

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,076

    Re: Conditional format with isnumber

    =and(index($bi$38:$bk$59,match($ai11,$bh$38:$bh$59,0),match(aj$10,$bi$37:$bk$37,0))<50,
    isnumber(index($bi$38:$bk$59,match($ai11,$bh$38:$bh$59,0),match(aj$10,$bi$37:$bk$37,0))))
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,189

    Re: Conditional format with isnumber

    You can add another CF rule to deal with this after the other two.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    12-02-2008
    Location
    London
    Posts
    51

    Re: Conditional format with isnumber

    Sorry to be a pain, but how would I do that? I have tried, but no luck. I do struggle with CF.
    A

  5. #5
    Registered User
    Join Date
    12-02-2008
    Location
    London
    Posts
    51

    Re: Conditional format with isnumber

    Thanks Special-K, I will use this solution as back up as I have several of these rules and am hoping for an easier fix.
    A

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,189

    Re: Conditional format with isnumber

    Attach your current workbook and I will show you.

  7. #7
    Registered User
    Join Date
    12-02-2008
    Location
    London
    Posts
    51

    Re: Conditional format with isnumber

    Attached, thank you - I would like cell f4 not to be highlighted.
    A
    Attached Files Attached Files

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,189

    Re: Conditional format with isnumber

    Change the rule to this:

    =AND(INDEX($E$14:$G$16,MATCH($D4,$D$14:$D$16,0),MATCH(E$3,$E$13:$G$13,0))>50,E4<>"")

    Make sure you have cell E4 selected when you edit the rule.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    12-02-2008
    Location
    London
    Posts
    51

    Re: Conditional format with isnumber

    Will do, many thanks for your help. Have a great weekend.
    Adam

+ 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] Combining 'AND' with ISNUMBER in conditional formatting
    By Chris220 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-18-2019, 06:02 AM
  2. [SOLVED] if and isnumber, isnumber - then perform calculation.
    By isychos in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-19-2018, 04:59 PM
  3. Replies: 2
    Last Post: 12-14-2017, 03:48 AM
  4. Multi-Conditional IF + AND + ISNUMBER + FIND Statement
    By Aimee S. in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-21-2015, 06:42 PM
  5. Conditional formatting isnumber
    By Hitch75 in forum Excel General
    Replies: 2
    Last Post: 12-15-2011, 03:00 PM
  6. Conditionally format IF, ISNUMBER, MATCH
    By mpendle in forum Excel General
    Replies: 2
    Last Post: 01-14-2009, 01:34 PM
  7. Isnumber Format Problem I Think
    By mike4545 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-14-2007, 11:35 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