+ Reply to Thread
Results 1 to 16 of 16

Give value true if a text can be find on a range

  1. #1
    Registered User
    Join Date
    11-02-2017
    Location
    Bucharest
    MS-Off Ver
    2016
    Posts
    51

    Give value true if a text can be find on a range

    Hi, im posting from mobile device...
    Is there any function that i can find a specific text from a range by a criteria ? Like =find(range,criteria) .. this is an example...
    I'm searching for a formula very similar to =sumif... instead of [sum_range] i want to be 'logical' ...

  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,430

    Re: Give value true if a text can be find on a range

    Might be able to use MATCH with INDEX
    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
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Give value true if a text can be find on a range

    Perhaps

    =COUNTIF(range,criteria)>0

  4. #4
    Registered User
    Join Date
    11-02-2017
    Location
    Bucharest
    MS-Off Ver
    2016
    Posts
    51

    Re: Give value true if a text can be find on a range

    Ok, i think i found something but i don't know how to combine the formula and count how many times is happening by the condition i created...
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    this is the formula, but i want to count how many times is happening by the sumifs > than other like in the formula

  5. #5
    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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,786

    Re: Give value true if a text can be find on a range

    Will you please attach a sample Excel workbook? Nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    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.

  6. #6
    Registered User
    Join Date
    11-02-2017
    Location
    Bucharest
    MS-Off Ver
    2016
    Posts
    51

    Re: Give value true if a text can be find on a range

    Where is 1 with red there should be 2

  7. #7
    Registered User
    Join Date
    11-02-2017
    Location
    Bucharest
    MS-Off Ver
    2016
    Posts
    51

    Re: Give value true if a text can be find on a range

    Sorry, i forgot to upload it
    Attached Files Attached Files

  8. #8
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Give value true if a text can be find on a range

    you can probably do something with sumproduct. its pretty flexible but im not sure what your trying to achieve in your results...... why should it be a 2...... what are the references at the top?
    The Importance of INDEX - A GUIDE TO INDEX'S OTHER USES
    <--- If a post helps hit the star

  9. #9
    Registered User
    Join Date
    11-02-2017
    Location
    Bucharest
    MS-Off Ver
    2016
    Posts
    51

    Re: Give value true if a text can be find on a range

    because i have =IF with value TRUE = 1 and FALSE = 0 ... and it gives me 1 because the value is true but i want to count this true values... i tried to combine with countif and countifs but i don't figure it out..

  10. #10
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Give value true if a text can be find on a range

    im sorry im just really dont understand what you are trying to actually do....


    this formula will give you a 1 for eeach time chelsea wins and sum it but whats the rest abotu and whats that to do with the numbers above.....


    Please Login or Register  to view this content.

  11. #11
    Registered User
    Join Date
    11-02-2017
    Location
    Bucharest
    MS-Off Ver
    2016
    Posts
    51

    Re: Give value true if a text can be find on a range

    this is good but i want and d3:d7>e3:d7.. that means 1/1....... 1 (G3:G7>H3:H7) / 1 (d3:d7>e3:d7)

  12. #12
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Give value true if a text can be find on a range

    im totally lost now. im really sorry, i am try to understand but i dont.

    maybe if you fill the tabe out with what you expect to see maybe i could figure out a formula to replicate it....

  13. #13
    Registered User
    Join Date
    11-02-2017
    Location
    Bucharest
    MS-Off Ver
    2016
    Posts
    51
    Quote Originally Posted by twiggywales View Post
    im totally lost now. im really sorry, i am try to understand but i dont.

    maybe if you fill the tabe out with what you expect to see maybe i could figure out a formula to replicate it....
    Sorry if i don't spell like it should be..
    1/1 means Half time / Full time...
    If chelsea - tottenham is 1-0 at half time and 2-0 at full time
    , this means g3:g7>h3:h7 (1>0) at half time and d3:d7>e3:e7 (2-0) at full time and all this i want to count as 1... what you give me it was only for half time... the result is 2 and is good from your formula but i want to include and full time (d3:d7>e3:e7).. do you understand now ?

  14. #14
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Give value true if a text can be find on a range

    Maybe lol

    try this?

    Please Login or Register  to view this content.
    checks team and returns a one for each time both conditions are met

  15. #15
    Registered User
    Join Date
    11-02-2017
    Location
    Bucharest
    MS-Off Ver
    2016
    Posts
    51

    Re: Give value true if a text can be find on a range

    Lol, so simple, haha! Thank you so much... if we both were from the same town i would bought you a beer... sorry for my english.. i have problems on spelling :D
    Thanks again! You're the best!

  16. #16
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Give value true if a text can be find on a range

    glad to have helped. remeber to mark solved. :D

+ 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. Need help - Formula to Find and give the total amount of Text.
    By Poashap in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-25-2014, 01:09 PM
  2. Find within a range give different variables
    By jnh0 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-18-2013, 04:20 AM
  3. [SOLVED] Find Text In Range With Part Of Text & Return True or False
    By tis28 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-30-2013, 09:35 PM
  4. Replies: 4
    Last Post: 12-20-2012, 04:33 AM
  5. [SOLVED] Find.range to return True if match occurs
    By nivoe in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-16-2012, 07:26 AM
  6. Replies: 3
    Last Post: 11-21-2011, 06:44 AM
  7. Range.Find searchformat:=true Excel 2007 vs. 97
    By anito in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-17-2009, 01:56 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