+ Reply to Thread
Results 1 to 3 of 3

Nested Functions with SUMIF and TEXT Not Working

  1. #1
    Registered User
    Join Date
    01-03-2010
    Location
    Virginia, USA
    MS-Off Ver
    Excel 2011 Mac
    Posts
    2

    Nested Functions with SUMIF and TEXT Not Working

    I am trying to add up all of the dividends paid per month, where Column A has the date, Column B has text (Interest or Dividend), Column D has the amount.

    So I need to determine that, for example, when the month in column A = "January" and the text in column B = "Dividend", add the appropriate cells in column D.

    I've been trying to test the following formula just to see whether I can sum all of the amounts from January, without considering column B, but I can't even get that to work. It always returns "0" even though column D has amounts.

    =SUMIF(A4:A14,(TEXT(A4,"mmmm")="January"),D4:D14)

    Can someone please provide guidance as to how I might create the correct formula? I am using Office 2011 for Mac.

    Thank you!

    Jerry

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Nested Functions with SUMIF and TEXT Not Working

    Difficult to be certain since you haven't uploaded the workbook and it's not clear whether column A contains proper date numbers or text strings. Neither is it clear why you are referencing A4 as the criteria since it's usual to have a summary list of months in which you want the totals from all the dates in column A.

    However try

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Otherwise upload your workbook.

    Have you considered a Pivot Table?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    01-03-2010
    Location
    Virginia, USA
    MS-Off Ver
    Excel 2011 Mac
    Posts
    2

    Re: Nested Functions with SUMIF and TEXT Not Working

    Thank you Richard. That helped. All I did was to add the third range and criteria to search for "Dividend" and it is now working. Worksheet attached. The formula is in column N. See attached.

    Thanks again!!!

    Jerry
    Attached Files Attached Files

+ 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. Problems working with Nested IF and AND Functions in formulas and Summation.
    By GinglesBingo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-25-2013, 06:31 PM
  2. Nested IF functions stop working after 8th nesting
    By kafukalatrava in forum Excel General
    Replies: 4
    Last Post: 04-06-2011, 07:47 AM
  3. Nested IF functions not working for more than 2 nests
    By yousafkhan1976 in forum Excel General
    Replies: 2
    Last Post: 03-14-2011, 12:49 PM
  4. Nested sumif functions? Or another way around it?
    By tangcla in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-30-2008, 09:06 PM
  5. Nested array functions in SUMIF
    By shinymcshires in forum Excel General
    Replies: 4
    Last Post: 02-16-2007, 05:42 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