+ Reply to Thread
Results 1 to 8 of 8

Using IF Function based on certain text in a specific cell

  1. #1
    Registered User
    Join Date
    08-12-2015
    Location
    Geraldton Australia
    MS-Off Ver
    2010
    Posts
    21

    Using IF Function based on certain text in a specific cell

    Hi
    I am unsure what I am doing wrong. I have used sumif before based on finding a specific word within a cell and it works fine. When I want to perform a formula calculation though based on a specific word being in a cell it will not work. I have attached my workbook to help with my explanation but basically what I want to do is if column A contains the word rack within any of the cells I want a certain formula to be carried out. At the moment this isn't occurring and will only work if I have the exact cell contents within the formula. If I was to have hundreds of lines with some of the cells containing the word rack I would have to create a specific formula for that particular row and I don't want to do this. Is someone able to help me with this. If I haven't explained myself too well please let me know and I will try to rephrase what I am trying to ask

    https://www.dropbox.com/s/cq0axefnzj...Test.xlsx?dl=0 you can get my file here for some reason I was unable to attach my workbook to the forum

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,397

    Re: Using IF Function based on certain text in a specific cell

    Please attach your sample workbook here. Some members are unwilling to follow links to file sharing sites.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,945

    Re: Using IF Function based on certain text in a specific cell

    Please upload your file to the forum. Not all members are able - or willing - to access file-hosting sites

    edit: is there an echo in here, Ali...in here Ali...Ali...
    lol
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,397

    Re: Using IF Function based on certain text in a specific cell

    LOL, Ford!!!

  5. #5
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Using IF Function based on certain text in a specific cell

    try this instead

    put in C5
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  6. #6
    Registered User
    Join Date
    08-12-2015
    Location
    Geraldton Australia
    MS-Off Ver
    2010
    Posts
    21

    Re: Using IF Function based on certain text in a specific cell

    Quote Originally Posted by AliGW View Post
    Please attach your sample workbook here. Some members are unwilling to follow links to file sharing sites.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    I tried that but it still doesn't work. I upload it it says it's there and when I click on the attachment button it comes up blank. Maybe I'm missing something. I have never had any issue doing this previously. I understand members concerns about using links to file sharing sites I just had no other way of sharing my workbook

  7. #7
    Registered User
    Join Date
    08-12-2015
    Location
    Geraldton Australia
    MS-Off Ver
    2010
    Posts
    21

    Re: Using IF Function based on certain text in a specific cell

    Quote Originally Posted by humdingaling View Post
    try this instead

    put in C5
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Thank you. I thought maybe a countif function might be the answer but I was just unsure on how to use it. Thanks heaps for your help

  8. #8
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Using IF Function based on certain text in a specific cell

    you can also use isnumber/search combination as well if you dont want to use the *
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    also for future uploads, maybe some other methods of upload may work for you
    http://www.excelforum.com/the-water-...his-forum.html

+ 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. Replies: 24
    Last Post: 11-10-2015, 07:27 PM
  2. Select Cell Based on Specific Text
    By StudioLETA in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-15-2015, 04:50 PM
  3. How to countif a specific column based on a cell text value.
    By JamesBlack90 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-24-2015, 07:46 AM
  4. [SOLVED] Adding text to a cell based on specific text characters in another cell
    By JohnnyBoyxxx in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-29-2014, 06:03 PM
  5. [SOLVED] Highligh row based on specific text in cell
    By cbritton796 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-30-2013, 12:31 PM
  6. [SOLVED] Displaying Specific Text in Cell Based on Text in Another
    By wowcrofty in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-29-2012, 12:11 PM
  7. VLOOKUP based on cell with specific text
    By hardpenguin in forum Excel General
    Replies: 2
    Last Post: 01-17-2011, 05:33 PM

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