+ Reply to Thread
Results 1 to 15 of 15

2 If's Forumula

Hybrid View

  1. #1
    Registered User
    Join Date
    04-27-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    8

    2 If's Forumula

    Hey guys, trying to do a simple formula of 2 if statements in 1 but can't figuire it out. Need something like. IF A1=B2 and if C2 = D2 then the cell equals 2. If one of them don't equal then the cell equals 0.

    Cheers,
    Last edited by Labl; 04-28-2013 at 03:12 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: 2 If's Forumula

    =if(and(a1=b2,c2=d2),2,0)
    If I've been of help, please hit the star

  3. #3
    Registered User
    Join Date
    04-27-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: 2 If's Forumula

    When i use that it throws off my other formula which would be IF A1=B2,1,0...when i use that formula next to it and both dont equal then my first formula goes 0 instead of 1.

  4. #4
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: 2 If's Forumula

    In order to understand that I would need to see the workbook. Are you able to attach it?

  5. #5
    Registered User
    Join Date
    04-27-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: 2 If's Forumula

    In my attached sheet, under the james tab, Why doesnt his score come up as 1 under the storm column?
    Attached Files Attached Files

  6. #6
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: 2 If's Forumula

    Sorry, which specific cell do you mean?

  7. #7
    Registered User
    Join Date
    04-27-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: 2 If's Forumula

    C3, it should be 1 as A3 in James tab = F3 in results tab.

  8. #8
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: 2 If's Forumula

    The reason it doesn't work as expected is some some of your values have trailing spaces.

    So 'Storm' on the results worksheet has a trailing space as does the one on the Nathan worksheet, so they match and the formula produces the result you expect. The storm on the James worksheet however has no trailing space so it's not an exact match, meaning the formula doesn't produce the result you expect (but it is actually working).

  9. #9
    Registered User
    Join Date
    04-27-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: 2 If's Forumula

    Cheers that was it!

  10. #10
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: 2 If's Forumula

    Glad to help. Sometimes it just takes a new pair of eyes.

    Make sure you mark the thread as SOLVED.

  11. #11
    Registered User
    Join Date
    04-27-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: 2 If's Forumula

    Yeah knew it was something small like that. Just 1 more thing.

    So just trying to get something to formulate whos coming first etc.

    So I have Name in A1 and Score in B1

    Is there anyway i can get a formula to say someones coming first.

    Cheers

  12. #12
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: 2 If's Forumula

    Have a look at the "Current Position" worksheet in the attached.

    Column C has a rank based on the scores in column B. Is that the sort of thing you mean?
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    04-27-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: 2 If's Forumula

    umm want something saying leader then cell next to it says the person with highest score.

  14. #14
    Registered User
    Join Date
    04-27-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: 2 If's Forumula

    or person with best rank in what you linked.
    Cheers

  15. #15
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,637

    Re: 2 If's Forumula

    I should use 1 sheet for all the players.
    This makes the formulas easier.
    Attached Files Attached Files
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

+ 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