+ Reply to Thread
Results 1 to 12 of 12

Function IF to find in three conditions and to give a result

  1. #1
    Registered User
    Join Date
    12-12-2013
    Location
    Milan, Italy
    MS-Off Ver
    Excel 2007 -2010
    Posts
    24

    Function IF to find in three conditions and to give a result

    Hallo

    I'm trying to solve the problem of the function if it did not succeed


    Column A
    Home
    Away
    Draw
    Home
    Away



    Column B
    1,45
    2,45
    3,00
    2,30
    5,00


    Column C


    In the Column C seeking and to give a pronostic


    Home <1,45 "1"
    Away <2,45 "X" >3,5 "2"
    Draw > 3,00 "12"


    I have the different with < > for many different numbers to modify.
    I hope that anybody can to help me.
    Thanks

    Davide
    Last edited by davide2574; 10-20-2015 at 04:23 AM.

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Function if

    maybe:

    C1:
    Please Login or Register  to view this content.

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

    Re: Function if

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    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
    Registered User
    Join Date
    12-12-2013
    Location
    Milan, Italy
    MS-Off Ver
    Excel 2007 -2010
    Posts
    24

    Re: Function if

    Hi Sandy


    Thank you for give me this formula but I not seeking this and I modify and I find an example

    =IF("Home"=<1,45;"1X";"1") , I have find this modify but very difficult to make all as you can to see the critery

    "Home"=<1,45; "1X"
    "Home"=>1,46-<3; "1"
    "Home"=>3,010 - <4,9; "X2"
    "Home"=>5 "1"




    "Away" <1,69 "X"
    "Away" >1,7 - <1,9 "1"
    "Away" >2 - <4,5 1X
    "Away" >4,6 - <6 "2"
    >6.01 "X2"

    "Draw"= "12"


    Last edited by davide2574; 10-20-2015 at 04:38 AM.

  5. #5
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Function if

    Could you attach any example in excel file? Will be easier and faster

    btw. it should be in one formula?
    Last edited by sandy666; 10-20-2015 at 05:37 AM.

  6. #6
    Registered User
    Join Date
    12-12-2013
    Location
    Milan, Italy
    MS-Off Ver
    Excel 2007 -2010
    Posts
    24

    Re: Function IF to find in three conditions and to give a result

    ok I attach the excel file and I hope that you will understand about it.


    My excel is 2010
    Attached Files Attached Files

  7. #7
    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,867

    Re: Function IF to find in three conditions and to give a result

    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.

  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Function IF to find in three conditions and to give a result

    =IF("Home"=F6<=1.45,"1X","1")

    ="Home"=F6>3 TRUE
    ="Home"=F6<3 FALSE
    ="Home"=F6<>3 TRUE
    ="Home"=F6<=3 FALSE
    ="Home"=F6>=3 TRUE
    ="Home"=F6=3 FALSE

    It depends on which operator (=,<,>,<>,<=,>=) you use, it does not depend on the used values. No matter if it will be 3, 0 or 1000 0000, result will be the same.

    Maybe sth like this...
    =IF(AND(F6="Home",F7<1.45),value_if_true,value_if_false)

    in a meantime: IF with text values
    Last edited by sandy666; 10-20-2015 at 06:59 AM.

  9. #9
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Function IF to find in three conditions and to give a result

    =CHOOSE(MATCH(F6,{"Home","Away","Draw"},0),LOOKUP(G6,{0,1.46,3,5},{"1X","1","X2","1"}),LOOKUP(G6,{0,1.7,2,4.6,6.01},{"X","1","1X","2","X2"}),"12")
    Please Login or Register  to view this content.
    Try this and copy towards down
    Attached Files Attached Files
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  10. #10
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Function IF to find in three conditions and to give a result

    Congratulation Siva

  11. #11
    Registered User
    Join Date
    12-12-2013
    Location
    Milan, Italy
    MS-Off Ver
    Excel 2007 -2010
    Posts
    24

    Re: Function IF to find in three conditions and to give a result

    Thanks all.
    And very exceptional to Siva

    I would like to ask you it is not function to calculate if I do use the =substitute(cell,".",",") because I have exctact the numbers from email and any cells with your formula give me #N/D

  12. #12
    Registered User
    Join Date
    12-12-2013
    Location
    Milan, Italy
    MS-Off Ver
    Excel 2007 -2010
    Posts
    24

    Re: Function IF to find in three conditions and to give a result

    Posted new thread.
    Last edited by davide2574; 01-08-2016 at 06:10 AM.

+ 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: 1
    Last Post: 06-10-2015, 12:56 PM
  2. Replies: 13
    Last Post: 04-08-2014, 05:46 AM
  3. Replies: 2
    Last Post: 01-15-2014, 11:40 PM
  4. [SOLVED] Using Offset function as the array in the PercentRank function is giving wrong result
    By Bobneil in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-06-2013, 09:29 PM
  5. Replies: 1
    Last Post: 03-21-2012, 11:22 AM
  6. Replies: 2
    Last Post: 03-20-2009, 01:29 PM
  7. Excel - User Defined Function Error: This function takes no argume
    By BruceInCalgary in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-18-2006, 04:05 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