Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Jan 2007
    Posts
    123
    Thanks
    13
    Thanked 1 Time in 1 Post
    I'm using Excel 2003. Is there a function which evaluates a string for the presence of a speciifed value?

    Let's say I have a range, A1:A10. I would like to be able to write an IF statement which says, if the range contains 3.2 (for example), then do something; if not, do something else.

    Is this possible?

  2. #2
    2 Star Lounger
    Join Date
    Jan 2007
    Posts
    123
    Thanks
    13
    Thanked 1 Time in 1 Post
    Hmm... I reckon not!

  3. #3
    WS Lounge VIP sdckapr's Avatar
    Join Date
    Jul 2002
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    11,225
    Thanks
    14
    Thanked 342 Times in 335 Posts
    How aboutr something like this:

    =IF(COUNTIF($A$1:$A$10,"=*3.2*")>0,"something", "something else")

    Steve

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •