+ Reply to Thread
Results 1 to 4 of 4

Formula doesn’t produce the required data

  1. #1
    Registered User
    Join Date
    04-06-2007
    Location
    Glasgow, Scotland
    MS-Off Ver
    2003 / 2007
    Posts
    83

    Formula doesn’t produce the required data

    I am trying to create a formula in excel 2003 to show that unless D24 & D25 contain an x then G24 should be blank but if there are x’s then everything from B8 onwards in the latter part of the formula should follow and show a “Name a 1 or a 2" but it doesn't seem to do that.


    =IF((AND(D24="x",D25="x")),G24,"",IF(B8="","",IF(C8="",B9,IF(C8="W",1,IF(C8="L",0))))


    I hope there is sufficient info to correct this formula and if anyone can help I would be very grateful.
    Last edited by alan_stephen75@; 10-04-2010 at 01:04 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Formula doesn’t produce the required data

    Are you entering the formula in G24... should it be more like:

    =IF((AND(D24="x",D25="x")),"",IF(B8="","",IF(C8="",B9,IF(C8="W",1,IF(C8="L",0)))))
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Formula doesn’t produce the required data

    My guess in G24

    =IF(AND(D24="x",D25="x"),IF(B8="","",IF(C8="",B9,IF(C8="W",1,IF(C8="L",0)))),"")

    Hope this helps
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  4. #4
    Registered User
    Join Date
    04-06-2007
    Location
    Glasgow, Scotland
    MS-Off Ver
    2003 / 2007
    Posts
    83
    Many thanks, perfect.

+ 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