I have a simple If condition, but I want the result to be partially bolded and I dont know how
=IF(K21=0,”7. Offset with 0875 2071020059 012167 DIFF”,”7. Offset with 0875 1879902642 012167 DIFF”)
I want it to show “7. Offset with 0875 2071020059 012167 DIFF” or “7. Offset with 0875 1879902642 012167 DIFF” were “7” & “DIFF” are bold
Any advice? Thanks
I assume that means the K21 will either be 0 or not be zero. That’s what your IF statement implies, so that’s what the code checks for.
re: “The results gets shown on cell R27”
I changed the references to my example of A1 to be R27.
BTW I also changed the comment lines from K1 to K21, but that was just a typo that won’t matter since comment lines don’t get executed.
Click Here Before Posting Data or VBA Code —> How To Post Data or Code.