+ Reply to Thread
Results 1 to 4 of 4

Not getting correct if(and results

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    07-29-2013
    Location
    Oshawa
    MS-Off Ver
    Excel 2010
    Posts
    660

    Not getting correct if(and results

    Hi everyone,

    I have the following formula:

    =IF(AND(F5="Initial",F10="Core",Data!E2),"")

    Right now, F5 does equal Initial and F10 does equal Core, but I'm still getting a "" result. Any idea what I'm doing wrote? I seem to be getting the opposite result I'm looking for.

    Thanks,

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Not getting correct if(and results

    Try

    Formula: copy to clipboard
    =IF(AND(F5="Initial",F10="Core"),Data!E2,"")
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Not getting correct if(and results

    Misplaced paren:

    =IF(AND(F5="Initial",F10="Core"), Data!E2,"")
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,108

    Re: Not getting correct if(and results

    =IF(AND(F5="Initial",F10="Core",Data!E2),"")

    you dont have what
    data!E2 should be in the AND statement
    you also do not have a false statement - so if false you will get FALSE

    =IF(AND(F5="Initial",F10="Core",Data!E2=???),"", "what is required for false condition")
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

+ 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. [SOLVED] SUMPRODUCT formula not returning correct results
    By CityInspector in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-05-2012, 04:04 PM
  2. VLOOKUP not returning correct results
    By Lea724 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-22-2011, 02:38 AM
  3. [SOLVED] conditional not finding correct results
    By Craig in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-01-2006, 11:40 AM
  4. [SOLVED] SQL Query not returning correct results
    By Stephen in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-20-2006, 08:25 AM
  5. How do I get correct results when LOOKUP with calculated numbers
    By onthemountain in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-19-2006, 08:20 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