+ Reply to Thread
Results 1 to 14 of 14

Help needed with writing an If/Then conditional formula regarding formatting

  1. #1
    Registered User
    Join Date
    04-08-2015
    Location
    Nashville, TN
    MS-Off Ver
    Version 14.4.5
    Posts
    4

    Help needed with writing an If/Then conditional formula regarding formatting

    Hi All,
    I am new to this site as was driven here because I am officially stumped! If it's even possible, I'd like to create a formula that says:
    "If cell H4 contains 'HW' (the letters HW), then insert a '•' (bullet or check mark) in cell I4" Can this even be done? Thank you in advance for your input.

  2. #2
    Valued Forum Contributor
    Join Date
    04-12-2012
    Location
    India
    MS-Off Ver
    Excel 2007, 2010, 2013, 2016, 2019, Office 365, Google Spreadhsheet
    Posts
    640

    Re: Help needed with writing an If/Then conditional formula regarding formatting

    Hi judy,

    type the following formula in I4 - "=IF(H4="HW","●","")"
    Thanks,
    Anil Dhawan


    Click *Add Reputation to say "Thanks" and don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved) if you are satisfied.

    Don't stop when you are tired. STOP when you are done!

  3. #3
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Help needed with writing an If/Then conditional formula regarding formatting

    Not sure if you can put a bullet or check mark, but you can put In text like Yes or No....or any other text you want. IF you don't know how, place the following formula in cell I4
    Please Login or Register  to view this content.
    Last edited by gmr4evr1; 04-08-2015 at 01:13 PM.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Help needed with writing an If/Then conditional formula regarding formatting

    Hi welcome to the forum

    Perhaps something like this...
    =IF(B13="hw","l","")
    and then format as wingdings
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Help needed with writing an If/Then conditional formula regarding formatting

    adhawana06,

    type the following formula in I4 - "=IF(H4="HW","●","")"
    How did you get the Bullet in there?

  6. #6
    Registered User
    Join Date
    04-08-2015
    Location
    Nashville, TN
    MS-Off Ver
    Version 14.4.5
    Posts
    4

    Re: Help needed with writing an If/Then conditional formula regarding formatting

    That was fast and it worked! Thank you. So now, of course, I want to go a bit further, how do I add an "or" clause." Same as before but now it will read... If cell H4 contains 'HW' (the letters HW), OR HW-COL, then insert a '•' (bullet or check mark) in cell I4"

  7. #7
    Registered User
    Join Date
    04-08-2015
    Location
    Nashville, TN
    MS-Off Ver
    Version 14.4.5
    Posts
    4

    Re: Help needed with writing an If/Then conditional formula regarding formatting

    The bullet is Option 8 (on a mac)

  8. #8
    Registered User
    Join Date
    04-08-2015
    Location
    Nashville, TN
    MS-Off Ver
    Version 14.4.5
    Posts
    4

    Re: Help needed with writing an If/Then conditional formula regarding formatting

    Thank you. I look forward to learning a lot!

  9. #9
    Valued Forum Contributor
    Join Date
    04-12-2012
    Location
    India
    MS-Off Ver
    Excel 2007, 2010, 2013, 2016, 2019, Office 365, Google Spreadhsheet
    Posts
    640

    Re: Help needed with writing an If/Then conditional formula regarding formatting

    Quote Originally Posted by gmr4evr1 View Post
    adhawana06,


    How did you get the Bullet in there?
    Hi gmr,

    Keep holding ALTkey then press 7 ALT+7 (ASCII (hex).

    sorry for replying late.

  10. #10
    Valued Forum Contributor
    Join Date
    04-12-2012
    Location
    India
    MS-Off Ver
    Excel 2007, 2010, 2013, 2016, 2019, Office 365, Google Spreadhsheet
    Posts
    640

    Re: Help needed with writing an If/Then conditional formula regarding formatting

    Hi Judy,

    Type the following formula - "=IF(OR(H4="HW",H4=""HW-COL","●","")"

  11. #11
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Help needed with writing an If/Then conditional formula regarding formatting

    The more traditional method...
    =IF(OR(B13="hw",B13="HW-COL"),"l","")
    or you could opt for this 1...
    =IF(SUM(COUNTIF(B13,{"hw","HW-COL"})),"l","")

  12. #12
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Help needed with writing an If/Then conditional formula regarding formatting

    Unfortunately, the ALT key + 7 does not work for me. When I press the ALT key, 7 isn't an option for me.

  13. #13
    Valued Forum Contributor
    Join Date
    04-12-2012
    Location
    India
    MS-Off Ver
    Excel 2007, 2010, 2013, 2016, 2019, Office 365, Google Spreadhsheet
    Posts
    640

    Re: Help needed with writing an If/Then conditional formula regarding formatting

    Quote Originally Posted by gmr4evr1 View Post
    Unfortunately, the ALT key + 7 does not work for me. When I press the ALT key, 7 isn't an option for me.

    Hi gmr,

    this function will work only then when you use the number keyboard (right side on your standard keyboard) with ALT key. If still not able to find out then go to Insert in Menu tab and then under "Symbols" category, select symbol there you have all the symbols available. let me know if still it does not work for you

  14. #14
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Help needed with writing an If/Then conditional formula regarding formatting

    Well sum-gun, it works great when you do it the RIGHT way! Thanks a bunch!

+ 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. Conditional formatting formula needed
    By freckles81 in forum Excel General
    Replies: 6
    Last Post: 05-29-2014, 10:34 AM
  2. [SOLVED] Conditional Formatting formula needed!
    By kgowett in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-11-2014, 03:47 PM
  3. Formula needed for conditional formatting
    By NEHicks in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-22-2013, 11:28 AM
  4. Conditional Formatting Formula Needed
    By AJT82 in forum Excel General
    Replies: 2
    Last Post: 10-08-2011, 05:15 AM
  5. Conditional formatting formula help needed
    By gloworm in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-15-2011, 03:12 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