+ Reply to Thread
Results 1 to 4 of 4

Drop Down Box Formula

  1. #1
    Registered User
    Join Date
    06-17-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    19

    Drop Down Box Formula

    Hi All

    Just wondering if anyone can help me construct a formula for a drop down box. I would like when the name TMP is selected from the drop down box (dropdownbox is in b2), a formula is executed that looks up any trades in column A from Jan/01/2012 to Feb/01/2012 with the e-mail format in column B [different name per employee here]@tmp.com to sum the volumes in column C of these matched cells to then display the answer in the sheet where the drop down box is located.

    Basically when TMP is selected from the drop down box i want the answer in the next cell to tell me how much trading they did in the month of january.

    I hope this makes sense.

    Many thanks in advance.

    Cheers

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Drop Down Box Formula

    Hi Petefav,

    Please post a sample workbook to support your query. thanks.


    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Registered User
    Join Date
    06-17-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Drop Down Box Formula

    Hi All

    Just to be clear I have attached a test excel spreadsheet.

    Basically the formula I am looking for is in sheet ‘Drop Down Box’ cell D1. I would like the formula to perform actions along the line
    of if C1 = TMP then search ‘Data’ A:A equal or greater than Jan/01/2013 and less than Feb/01/2013 and search B:B for e-mail address
    format [any name]@tmp.com if matched sum volumes in C:C and populated answer in sheet ‘Drop Down Box’ D1

    I hope this makes sense. Again many thanks in advance for your help.

    Cheers
    Attached Files Attached Files

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Drop Down Box Formula

    Try this....
    =SUMIFS(Data!C:C,Data!A:A,">="&DATE(2013,1,1),Data!A:A,"<"&DATE(2013,2,1),Data!B:B,"*@"&$C$1&"*")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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