+ Reply to Thread
Results 1 to 9 of 9

Simple formatting problem

  1. #1
    Registered User
    Join Date
    06-24-2019
    Location
    Sweden
    MS-Off Ver
    Office 16
    Posts
    49

    Simple formatting problem

    excel.jpg

    Hi!
    I've trying to set two conditions to format a simple cell. Why is this not working?

    Best regards
    Last edited by AliGW; 06-24-2019 at 03:09 AM.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Simple formatting problem

    On D1 CF

    =AND(A1=1,B1=2)

    Picture.JPG


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    06-24-2019
    Location
    Sweden
    MS-Off Ver
    Office 16
    Posts
    49

    Re: Simple formatting problem

    Why does it keep giving me an error message while writing the exact code?

    excel1.jpg

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Simple formatting problem

    Quote Originally Posted by wizzan1 View Post
    Why does it keep giving me an error message while writing the exact code?

    Attachment 629450
    Don't give space in between the formula

  5. #5
    Registered User
    Join Date
    06-24-2019
    Location
    Sweden
    MS-Off Ver
    Office 16
    Posts
    49

    Re: Simple formatting problem

    Quote Originally Posted by :) Sixthsense :) View Post
    Don't give space in between the formula
    There are no spaces between the formula

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Simple formatting problem

    Open the attached file and see how it shows for you.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    06-24-2019
    Location
    Sweden
    MS-Off Ver
    Office 16
    Posts
    49

    Re: Simple formatting problem

    Quote Originally Posted by :) Sixthsense :) View Post
    Open the attached file and see how it shows for you.
    For me it showed =AND(A1=1;B1=2) instead of =AND(A1=1,B1=2)

    It worked with a ; instead of ,

    Thanks alot!

  8. #8
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: (SOLVED) Simple formatting problem

    Glad you fixed it

    Any how you can change the setting.

    To change the setting follow the below link.

    https://www.excel-exercise.com/comma...excel-formula/

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,921

    Re: (SOLVED) Simple formatting problem

    To mark a thread as solved, please select Thread Tools from the menu link above and mark this thread as SOLVED. Please do not edit the thread title. I have corrected this for you this time.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Simple problem with formatting scatter graphs
    By shoto14 in forum Excel General
    Replies: 4
    Last Post: 03-13-2018, 04:34 PM
  2. Simple Conditional Formatting Problem
    By LeMat in forum Excel General
    Replies: 4
    Last Post: 01-21-2016, 06:00 PM
  3. My problem is simple - no - it's me that's simple...
    By Glenn Kennedy in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 07-08-2012, 02:20 PM
  4. Simple Problem - Please Help
    By mpeplow in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-17-2006, 02:12 PM
  5. Help - Simple Problem
    By Steel Monkey in forum Excel General
    Replies: 3
    Last Post: 04-12-2006, 02:07 AM
  6. [SOLVED] Simple problem
    By Mr. NDIS in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-06-2005, 09:10 PM
  7. A Very Simple problem (I'm Sure)
    By spark1789 in forum Excel General
    Replies: 1
    Last Post: 02-04-2005, 09:43 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