+ Reply to Thread
Results 1 to 8 of 8

If there is a text in this cell do this Formula

  1. #1
    Registered User
    Join Date
    03-13-2015
    Location
    Mexico
    MS-Off Ver
    2010
    Posts
    4

    If there is a text in this cell do this Formula

    Hello, I'am trying to use a formula in a certain cell. basically what i want to do is : "If there is the text "PEBD" in the cell D4, do the next formula."
    I did this : =IF(D:D="PEBD",F:F/1000*R$3,""), but is not working. Any ideas?, I'm new in Excel.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,380

    Re: If there is a text in this cell do this Formula

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    03-13-2015
    Location
    Mexico
    MS-Off Ver
    2010
    Posts
    4

    Re: If there is a text in this cell do this Formula

    Yes, but it doesn't work, it marks an error... #NAME? .... and besides and want to do it with the whole columm... not just only D4 and F4... a mean D5 wirh F5, D6 with F6 ... and so on

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,380

    Re: If there is a text in this cell do this Formula

    You enter a formula row by row. You can copy and paste the formula to other rows an it will automatically adjust the cell references.

  5. #5
    Registered User
    Join Date
    03-13-2015
    Location
    Mexico
    MS-Off Ver
    2010
    Posts
    4

    Re: If there is a text in this cell do this Formula

    Yes, BUT with the formula: =IF(D4="PEBD",F4/1000*R$3,"") it marks me an ERROR, it says #NAME?

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,380

    Re: If there is a text in this cell do this Formula

    Suggest you upload a sample workbook. There doesn't look to be anything wron with the formula.

  7. #7
    Registered User
    Join Date
    03-13-2015
    Location
    Mexico
    MS-Off Ver
    2010
    Posts
    4

    Re: If there is a text in this cell do this Formula

    I've found the error... the problem is that I speak Spanish and my version of Excel only admits Spanish Formulas, it works with "SI" instead "IF", thanks

  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,380

    Re: If there is a text in this cell do this Formula

    Ok.



    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

+ 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. Formula Limitations : If cell contains text then place text in said cell
    By capt fantastikk in forum Excel Formulas & Functions
    Replies: 28
    Last Post: 02-03-2015, 01:05 AM
  2. Formula to find and return text string within a cell full of text strings
    By LightingPop in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-03-2013, 11:45 PM
  3. Formula to identify part of a text in cell from range of cells & insert adjacent cell text
    By Novicebutnotforlong in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-19-2013, 02:11 AM
  4. Replies: 1
    Last Post: 01-24-2012, 11:15 AM
  5. Replies: 4
    Last Post: 04-11-2011, 08:41 PM

Tags for this Thread

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