+ Reply to Thread
Results 1 to 5 of 5

Return Text if a cell contains the $ symbol

  1. #1
    Registered User
    Join Date
    07-27-2007
    Posts
    36

    Return Text if a cell contains the $ symbol

    Hi All,

    I am trying to return a text value to a cell if another cell contains the Dollar symbol ($).

    e.g.

    George $30
    Bill
    Harry
    John $30

    I would like to paste a formula next to each one that returns "Cash" if there is a $ Symbol or "Free" if it doesn't.

    Any help would be appreciated.

    Cheers

    Dee

  2. #2
    Registered User
    Join Date
    04-13-2009
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: Return Text if a cell contains the $ symbol

    =IFERROR(IF(FIND("$",A2,1)>0,"Cash",""),"Free")
    Last edited by Cutter; 08-27-2012 at 09:00 AM. Reason: Removed whole post quote

  3. #3
    Registered User
    Join Date
    07-27-2007
    Posts
    36

    Re: Return Text if a cell contains the $ symbol

    Thanks, that works perfectly.

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Return Text if a cell contains the $ symbol

    Slightly shorter alternative

    =IF(ISNUMBER(FIND("$",A1,1)),"Cash","Free")
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  5. #5
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Return Text if a cell contains the $ symbol

    @ DeeLaa77

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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