+ Reply to Thread
Results 1 to 3 of 3

if/then returning a false value -- don't know why

  1. #1
    Registered User
    Join Date
    09-14-2017
    Location
    Chicago
    MS-Off Ver
    2017
    Posts
    2

    if/then returning a false value -- don't know why

    Hi -- in the attached file I would like to input a date in A2 and then have the amount show up in B8, C8, D8 or E8 as appropriate. I filled it in manually now, showing that if the date in A2 is November then $180 should show up in D8 and nothing should show up in the B8, C8 or E8. I tried doing this with an If/then but got a "false" value in some of the cells. Can you help? Thanks.
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: if/then returning a false value -- don't know why

    welcome to the forum, Bob. try this in cell B8:
    =IF(MONTH(B7)=MONTH($B$1),SUMIF($A$2:$A$4,"*"&TEXT($B$1,"mmmm yyyy"),$B$2:$B$4),"")

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    09-14-2017
    Location
    Chicago
    MS-Off Ver
    2017
    Posts
    2

    Re: if/then returning a false value -- don't know why

    Excellent! Thanks very much.

+ 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. Formula returning False rather than NA#.
    By Gavalar in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-26-2014, 06:25 PM
  2. Nested IF returning FALSE value help
    By crash884 in forum Excel General
    Replies: 3
    Last Post: 08-13-2013, 01:31 PM
  3. Formula returning false??
    By dirtydan86 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-18-2012, 12:32 PM
  4. IsMissing Returning False
    By Pauleyb in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-09-2012, 09:44 AM
  5. Returning True/False/Maybe
    By RivFin in forum Excel General
    Replies: 1
    Last Post: 02-03-2011, 06:29 PM
  6. Why is this returning FALSE?
    By RefillMyInk in forum Excel General
    Replies: 7
    Last Post: 12-29-2010, 03:47 PM
  7. Why is UDF always returning False?
    By ChemistB in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-19-2009, 12:09 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