+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    06-08-2009
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2007
    Posts
    1

    If column A is a June date, return the dollar value for that line item.

    Hello. I'm pretty new at using formulas in Excel.

    Worksheet A: Data
    1) I have a list of customers alphabetically lined up for training, Column A, rows 1-365.
    2) In Column B, I have the date they're scheduled to be trained.
    3) In Column C, I have the forecasted revenue (i.e., $275.00.)

    Worksheet B: Summary
    1) Row A1 = total number of customers to train.
    2) Row A2 = total number of customers to train in June 2009.
    3) Row A3 = total number of customers to train in July 2009.
    3) Row A4 = forecasted revenue from customers trained in June 2009.
    4) Row A5 = forecasted revenue from customers trained in July 2009.

    I think I have the formula for Row A1; however, instead of sorting Column B by date, I'd like to keep Column A in alphabetical order.

    How do I write a formula so that Excel looks at Column B on the "Data" worksheet and, if a June date, add the corresponding forecasted revenue to Row A4 on the "Summary" worksheet?

    Thank you very much.

  2. #2
    Forum Moderator NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003, 2007, 2010
    Posts
    31,088

    Re: If column A is a June date, return the dollar value for that line item.

    Try:

    =Sumproduct(--(Text(Data!$B$2:$B$100,"MMMYY")="Jun09"),Data!$C$2:$C$100)

    adjust ranges to suit.
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

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

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

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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.2.0