+ Reply to Thread
Results 1 to 9 of 9

Condition Formatting using combined text & numbers

  1. #1
    Forum Contributor
    Join Date
    01-18-2012
    Location
    nr Salisbury, UK
    MS-Off Ver
    Excel 2010
    Posts
    126

    Condition Formatting using combined text & numbers

    I have tried numerous variants myself unsuccessfully so looking for some help.

    Want to apply Condition format to B1 if A1= Cheque#0002, B2 if A2=Cheque#0003 and so on.

    Also how many conditions can you have applied to any one cell in Excel 2010, and would the number per cell be the cause of the instability I am experiencing.

    Many thanks in advance.

    julhs
    Last edited by julhs; 01-22-2012 at 02:21 PM.

  2. #2
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: Condition Formatting using combined text & numbers

    Can you use the option to set conditional format using a formula with the formula:

    =OFFSET(B1,0,-1)="Cheque#" & TEXT(ROW(B1)+1,"000")

    If that's not what you're after it might be best if you posted an example workbook, so we can see what you're after.

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Condition Formatting using combined text & numbers

    why so many conditions,what do you ultimately want to achieve?if its to have each Cheque#xxxx a different colour then you probably will have problems afaik the number of formats limit in a workbook is "Conditional formats per cell -- Increased from 3 to available memory". that is vague but read here http://www.decisionmodels.com/memlimitsc.htm

    but that aside say 60 diferent cf starts to look silly ,various shades very similar to each other whats thepoint?
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Valued Forum Contributor mahju's Avatar
    Join Date
    11-27-2010
    Location
    Pakistan, Faisalabad
    MS-Off Ver
    Excel 2010 plus
    Posts
    730

    Re: Condition Formatting using combined text & numbers

    Hi
    I can't understand .
    Please Upload a sample file giving some examples of input and expected output

    Regards
    Mark the thread as solved if you are satisfied with the answer.


    In your first post under the thread tools.

    Mahju

  5. #5
    Forum Contributor
    Join Date
    01-18-2012
    Location
    nr Salisbury, UK
    MS-Off Ver
    Excel 2010
    Posts
    126

    Re: Condition Formatting using combined text & numbers

    I didn't think I explained it very well!!! Just want to colour fill B1 when A1= Cheque#?????

  6. #6
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: Condition Formatting using combined text & numbers

    Then use a formula of:

    =LEFT(A1,7)="Cheque#"

  7. #7
    Forum Contributor
    Join Date
    01-18-2012
    Location
    nr Salisbury, UK
    MS-Off Ver
    Excel 2010
    Posts
    126

    Re: Condition Formatting using combined text & numbers

    Andrew-R.

    That was it, easy when you know how!

    Have attached Dummy book for future ref.

    Many thanks

    julhs
    Attached Files Attached Files

  8. #8
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Condition Formatting using combined text & numbers

    thats not quite what you asked!

  9. #9
    Forum Contributor
    Join Date
    01-18-2012
    Location
    nr Salisbury, UK
    MS-Off Ver
    Excel 2010
    Posts
    126

    Re: Condition Formatting using combined text & numbers

    Sorry for the confusion, will upload a example book in any future posts.

    julhs

+ 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