#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 354
Default Make tick appear

Is it possible to make a tick or cross symbol appear in a cell when certain
criteria are met?

e.g. If A1 equals B1 then tick appears in C1 or
If A1 does not equal B1 then a cross appears in C1
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,073
Default Make tick appear

One way...

format the font in C1 to Webdings, then use the following formula in
C1...

=IF(OR(A1="",B1=""),"",IF(AND(A1=B1),"a","r"))

"a" in Webdings is a tick, while "r" is a cross.

The formula results in a blank when either A1 or B1 are blank.

Ken Johnson


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,073
Default Make tick appear

Oops, I don't know why I put that other And in. Should have been...

=IF(OR(A1="",B1=""),"",IF(A1=B1,"a","r"))

Ken Johnson

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 354
Default Make tick appear

Thanks, that worked but is it possible to use the other tick/cross symbols in
Wingdings?

Tick character code 252 / 00FC - Symbol (decimal / hex)
Cross character code 251 / 00FB - Symbol (decimal / hex)



"Ken Johnson" wrote:

Oops, I don't know why I put that other And in. Should have been...

=IF(OR(A1="",B1=""),"",IF(A1=B1,"a","r"))

Ken Johnson


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Make tick appear

Try this:

=IF(OR(A1="",B1=""),"",IF(A1=B1,CHAR(252),CHAR(251 )))

Format the cell font to Wingdings

--
Biff
Microsoft Excel MVP


"Daniel" wrote in message
...
Thanks, that worked but is it possible to use the other tick/cross symbols
in
Wingdings?

Tick character code 252 / 00FC - Symbol (decimal / hex)
Cross character code 251 / 00FB - Symbol (decimal / hex)



"Ken Johnson" wrote:

Oops, I don't know why I put that other And in. Should have been...

=IF(OR(A1="",B1=""),"",IF(A1=B1,"a","r"))

Ken Johnson






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 354
Default Make tick appear

Excellent! Thanks very much Ken and T. Valko.

"T. Valko" wrote:

Try this:

=IF(OR(A1="",B1=""),"",IF(A1=B1,CHAR(252),CHAR(251 )))

Format the cell font to Wingdings

--
Biff
Microsoft Excel MVP


"Daniel" wrote in message
...
Thanks, that worked but is it possible to use the other tick/cross symbols
in
Wingdings?

Tick character code 252 / 00FC - Symbol (decimal / hex)
Cross character code 251 / 00FB - Symbol (decimal / hex)



"Ken Johnson" wrote:

Oops, I don't know why I put that other And in. Should have been...

=IF(OR(A1="",B1=""),"",IF(A1=B1,"a","r"))

Ken Johnson





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make a tick box [email protected] Excel Discussion (Misc queries) 3 November 13th 06 12:00 PM
tick box mango7 Excel Discussion (Misc queries) 2 December 21st 05 01:47 PM
tick box, how to set up Tiddler Excel Discussion (Misc queries) 9 December 15th 05 06:08 AM
tick Lyn Excel Discussion (Misc queries) 1 August 15th 05 01:19 AM
tick box Chink! Excel Discussion (Misc queries) 3 April 16th 05 04:32 PM


All times are GMT +1. The time now is 01:27 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"