+ Reply to Thread
Results 1 to 24 of 24

SUMPRODUCT help

  1. #1
    Registered User
    Join Date
    03-24-2005
    Posts
    4

    SUMPRODUCT help

    Hi,
    I have three columns. One containing a "value" taken from a list, another an amount and the third column contains a date.

    What I need to do is for a particular value, find out the sum of all the amounts for a particular month.

    This is the formula I have written but the sum is not being calculated for the particular date range.

    Column D Column E Column F
    15 March, 2005 23344 UK Perdiem
    17 March, 2005 739874 UK Perdiem

    =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= "15 March, 2005" & D5:D150<= "31 March, 2005"))

    The value shows 0 but if I remove the date calculation it works fine.

    Can anybody please help me with the formula?

    Thanks in advance

  2. #2
    Aladin Akyurek
    Guest

    Re: SUMPRODUCT help

    svvm wrote:
    > Hi,
    > I have three columns. One containing a "value" taken from a list,
    > another an amount and the third column contains a date.
    >
    > What I need to do is for a particular value, find out the sum of all
    > the amounts for a particular month.
    >
    > This is the formula I have written but the sum is not being calculated
    > for the particular date range.
    >
    > Column D Column E Column F
    > 15 March, 2005 23344 UK Perdiem
    > 17 March, 2005 739874 UK Perdiem
    >
    > =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= "15 March,
    > 2005" & D5:D150<= "31 March, 2005"))
    >
    > The value shows 0 but if I remove the date calculation it works fine.
    >
    > Can anybody please help me with the formula?
    >
    > Thanks in advance
    >
    >

    =SUMPRODUCT($F$5:$F$150,($I$5:$I$150="UK Perdiem")+0,($D$5:$D$150>=
    "15-Mar-05"+0)+0, ($D$5:$D$150<= "31-Mar-05"+0)+0)

    --

    [1] The SumProduct function should implicitly coerce the truth values to
    their Excel numeric equivalents.
    [2] The lookup functions should have an optional argument for the return
    value, defaulting to #N/A in its absence.

  3. #3
    bj
    Guest

    RE: SUMPRODUCT help

    The problem is probably that your date value is not being recognized.
    try
    =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= datevalue("15 March,
    2005") & D5:D150<= datevalue(("31 March, 2005"))
    Note with my verison of Excel I had to use "March 15, 2005" You may have to
    paly a bit with format.

    "svvm" wrote:

    >
    > Hi,
    > I have three columns. One containing a "value" taken from a list,
    > another an amount and the third column contains a date.
    >
    > What I need to do is for a particular value, find out the sum of all
    > the amounts for a particular month.
    >
    > This is the formula I have written but the sum is not being calculated
    > for the particular date range.
    >
    > Column D Column E Column F
    > 15 March, 2005 23344 UK Perdiem
    > 17 March, 2005 739874 UK Perdiem
    >
    > =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= "15 March,
    > 2005" & D5:D150<= "31 March, 2005"))
    >
    > The value shows 0 but if I remove the date calculation it works fine.
    >
    > Can anybody please help me with the formula?
    >
    > Thanks in advance
    >
    >
    > --
    > svvm
    > ------------------------------------------------------------------------
    > svvm's Profile: http://www.excelforum.com/member.php...o&userid=21501
    > View this thread: http://www.excelforum.com/showthread...hreadid=380469
    >
    >


  4. #4
    Registered User
    Join Date
    07-01-2004
    Location
    Kent, UK
    Posts
    74
    One simple way round the problem of date recognition is to put your start and end dates in cells and reference the cells in the formula. This has the added benefit of making it very quick and easy to calculate over any chosen date period.

  5. #5
    Aladin Akyurek
    Guest

    Re: SUMPRODUCT help

    svvm wrote:
    > Hi,
    > I have three columns. One containing a "value" taken from a list,
    > another an amount and the third column contains a date.
    >
    > What I need to do is for a particular value, find out the sum of all
    > the amounts for a particular month.
    >
    > This is the formula I have written but the sum is not being calculated
    > for the particular date range.
    >
    > Column D Column E Column F
    > 15 March, 2005 23344 UK Perdiem
    > 17 March, 2005 739874 UK Perdiem
    >
    > =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= "15 March,
    > 2005" & D5:D150<= "31 March, 2005"))
    >
    > The value shows 0 but if I remove the date calculation it works fine.
    >
    > Can anybody please help me with the formula?
    >
    > Thanks in advance
    >
    >

    =SUMPRODUCT($F$5:$F$150,($I$5:$I$150="UK Perdiem")+0,($D$5:$D$150>=
    "15-Mar-05"+0)+0, ($D$5:$D$150<= "31-Mar-05"+0)+0)

    --

    [1] The SumProduct function should implicitly coerce the truth values to
    their Excel numeric equivalents.
    [2] The lookup functions should have an optional argument for the return
    value, defaulting to #N/A in its absence.

  6. #6
    bj
    Guest

    RE: SUMPRODUCT help

    The problem is probably that your date value is not being recognized.
    try
    =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= datevalue("15 March,
    2005") & D5:D150<= datevalue(("31 March, 2005"))
    Note with my verison of Excel I had to use "March 15, 2005" You may have to
    paly a bit with format.

    "svvm" wrote:

    >
    > Hi,
    > I have three columns. One containing a "value" taken from a list,
    > another an amount and the third column contains a date.
    >
    > What I need to do is for a particular value, find out the sum of all
    > the amounts for a particular month.
    >
    > This is the formula I have written but the sum is not being calculated
    > for the particular date range.
    >
    > Column D Column E Column F
    > 15 March, 2005 23344 UK Perdiem
    > 17 March, 2005 739874 UK Perdiem
    >
    > =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= "15 March,
    > 2005" & D5:D150<= "31 March, 2005"))
    >
    > The value shows 0 but if I remove the date calculation it works fine.
    >
    > Can anybody please help me with the formula?
    >
    > Thanks in advance
    >
    >
    > --
    > svvm
    > ------------------------------------------------------------------------
    > svvm's Profile: http://www.excelforum.com/member.php...o&userid=21501
    > View this thread: http://www.excelforum.com/showthread...hreadid=380469
    >
    >


  7. #7
    Aladin Akyurek
    Guest

    Re: SUMPRODUCT help

    svvm wrote:
    > Hi,
    > I have three columns. One containing a "value" taken from a list,
    > another an amount and the third column contains a date.
    >
    > What I need to do is for a particular value, find out the sum of all
    > the amounts for a particular month.
    >
    > This is the formula I have written but the sum is not being calculated
    > for the particular date range.
    >
    > Column D Column E Column F
    > 15 March, 2005 23344 UK Perdiem
    > 17 March, 2005 739874 UK Perdiem
    >
    > =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= "15 March,
    > 2005" & D5:D150<= "31 March, 2005"))
    >
    > The value shows 0 but if I remove the date calculation it works fine.
    >
    > Can anybody please help me with the formula?
    >
    > Thanks in advance
    >
    >

    =SUMPRODUCT($F$5:$F$150,($I$5:$I$150="UK Perdiem")+0,($D$5:$D$150>=
    "15-Mar-05"+0)+0, ($D$5:$D$150<= "31-Mar-05"+0)+0)

    --

    [1] The SumProduct function should implicitly coerce the truth values to
    their Excel numeric equivalents.
    [2] The lookup functions should have an optional argument for the return
    value, defaulting to #N/A in its absence.

  8. #8
    bj
    Guest

    RE: SUMPRODUCT help

    The problem is probably that your date value is not being recognized.
    try
    =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= datevalue("15 March,
    2005") & D5:D150<= datevalue(("31 March, 2005"))
    Note with my verison of Excel I had to use "March 15, 2005" You may have to
    paly a bit with format.

    "svvm" wrote:

    >
    > Hi,
    > I have three columns. One containing a "value" taken from a list,
    > another an amount and the third column contains a date.
    >
    > What I need to do is for a particular value, find out the sum of all
    > the amounts for a particular month.
    >
    > This is the formula I have written but the sum is not being calculated
    > for the particular date range.
    >
    > Column D Column E Column F
    > 15 March, 2005 23344 UK Perdiem
    > 17 March, 2005 739874 UK Perdiem
    >
    > =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= "15 March,
    > 2005" & D5:D150<= "31 March, 2005"))
    >
    > The value shows 0 but if I remove the date calculation it works fine.
    >
    > Can anybody please help me with the formula?
    >
    > Thanks in advance
    >
    >
    > --
    > svvm
    > ------------------------------------------------------------------------
    > svvm's Profile: http://www.excelforum.com/member.php...o&userid=21501
    > View this thread: http://www.excelforum.com/showthread...hreadid=380469
    >
    >


  9. #9
    bj
    Guest

    RE: SUMPRODUCT help

    The problem is probably that your date value is not being recognized.
    try
    =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= datevalue("15 March,
    2005") & D5:D150<= datevalue(("31 March, 2005"))
    Note with my verison of Excel I had to use "March 15, 2005" You may have to
    paly a bit with format.

    "svvm" wrote:

    >
    > Hi,
    > I have three columns. One containing a "value" taken from a list,
    > another an amount and the third column contains a date.
    >
    > What I need to do is for a particular value, find out the sum of all
    > the amounts for a particular month.
    >
    > This is the formula I have written but the sum is not being calculated
    > for the particular date range.
    >
    > Column D Column E Column F
    > 15 March, 2005 23344 UK Perdiem
    > 17 March, 2005 739874 UK Perdiem
    >
    > =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= "15 March,
    > 2005" & D5:D150<= "31 March, 2005"))
    >
    > The value shows 0 but if I remove the date calculation it works fine.
    >
    > Can anybody please help me with the formula?
    >
    > Thanks in advance
    >
    >
    > --
    > svvm
    > ------------------------------------------------------------------------
    > svvm's Profile: http://www.excelforum.com/member.php...o&userid=21501
    > View this thread: http://www.excelforum.com/showthread...hreadid=380469
    >
    >


  10. #10
    Aladin Akyurek
    Guest

    Re: SUMPRODUCT help

    svvm wrote:
    > Hi,
    > I have three columns. One containing a "value" taken from a list,
    > another an amount and the third column contains a date.
    >
    > What I need to do is for a particular value, find out the sum of all
    > the amounts for a particular month.
    >
    > This is the formula I have written but the sum is not being calculated
    > for the particular date range.
    >
    > Column D Column E Column F
    > 15 March, 2005 23344 UK Perdiem
    > 17 March, 2005 739874 UK Perdiem
    >
    > =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= "15 March,
    > 2005" & D5:D150<= "31 March, 2005"))
    >
    > The value shows 0 but if I remove the date calculation it works fine.
    >
    > Can anybody please help me with the formula?
    >
    > Thanks in advance
    >
    >

    =SUMPRODUCT($F$5:$F$150,($I$5:$I$150="UK Perdiem")+0,($D$5:$D$150>=
    "15-Mar-05"+0)+0, ($D$5:$D$150<= "31-Mar-05"+0)+0)

    --

    [1] The SumProduct function should implicitly coerce the truth values to
    their Excel numeric equivalents.
    [2] The lookup functions should have an optional argument for the return
    value, defaulting to #N/A in its absence.

  11. #11
    Aladin Akyurek
    Guest

    Re: SUMPRODUCT help

    svvm wrote:
    > Hi,
    > I have three columns. One containing a "value" taken from a list,
    > another an amount and the third column contains a date.
    >
    > What I need to do is for a particular value, find out the sum of all
    > the amounts for a particular month.
    >
    > This is the formula I have written but the sum is not being calculated
    > for the particular date range.
    >
    > Column D Column E Column F
    > 15 March, 2005 23344 UK Perdiem
    > 17 March, 2005 739874 UK Perdiem
    >
    > =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= "15 March,
    > 2005" & D5:D150<= "31 March, 2005"))
    >
    > The value shows 0 but if I remove the date calculation it works fine.
    >
    > Can anybody please help me with the formula?
    >
    > Thanks in advance
    >
    >

    =SUMPRODUCT($F$5:$F$150,($I$5:$I$150="UK Perdiem")+0,($D$5:$D$150>=
    "15-Mar-05"+0)+0, ($D$5:$D$150<= "31-Mar-05"+0)+0)

    --

    [1] The SumProduct function should implicitly coerce the truth values to
    their Excel numeric equivalents.
    [2] The lookup functions should have an optional argument for the return
    value, defaulting to #N/A in its absence.

  12. #12
    bj
    Guest

    RE: SUMPRODUCT help

    The problem is probably that your date value is not being recognized.
    try
    =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= datevalue("15 March,
    2005") & D5:D150<= datevalue(("31 March, 2005"))
    Note with my verison of Excel I had to use "March 15, 2005" You may have to
    paly a bit with format.

    "svvm" wrote:

    >
    > Hi,
    > I have three columns. One containing a "value" taken from a list,
    > another an amount and the third column contains a date.
    >
    > What I need to do is for a particular value, find out the sum of all
    > the amounts for a particular month.
    >
    > This is the formula I have written but the sum is not being calculated
    > for the particular date range.
    >
    > Column D Column E Column F
    > 15 March, 2005 23344 UK Perdiem
    > 17 March, 2005 739874 UK Perdiem
    >
    > =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= "15 March,
    > 2005" & D5:D150<= "31 March, 2005"))
    >
    > The value shows 0 but if I remove the date calculation it works fine.
    >
    > Can anybody please help me with the formula?
    >
    > Thanks in advance
    >
    >
    > --
    > svvm
    > ------------------------------------------------------------------------
    > svvm's Profile: http://www.excelforum.com/member.php...o&userid=21501
    > View this thread: http://www.excelforum.com/showthread...hreadid=380469
    >
    >


  13. #13
    Aladin Akyurek
    Guest

    Re: SUMPRODUCT help

    svvm wrote:
    > Hi,
    > I have three columns. One containing a "value" taken from a list,
    > another an amount and the third column contains a date.
    >
    > What I need to do is for a particular value, find out the sum of all
    > the amounts for a particular month.
    >
    > This is the formula I have written but the sum is not being calculated
    > for the particular date range.
    >
    > Column D Column E Column F
    > 15 March, 2005 23344 UK Perdiem
    > 17 March, 2005 739874 UK Perdiem
    >
    > =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= "15 March,
    > 2005" & D5:D150<= "31 March, 2005"))
    >
    > The value shows 0 but if I remove the date calculation it works fine.
    >
    > Can anybody please help me with the formula?
    >
    > Thanks in advance
    >
    >

    =SUMPRODUCT($F$5:$F$150,($I$5:$I$150="UK Perdiem")+0,($D$5:$D$150>=
    "15-Mar-05"+0)+0, ($D$5:$D$150<= "31-Mar-05"+0)+0)

    --

    [1] The SumProduct function should implicitly coerce the truth values to
    their Excel numeric equivalents.
    [2] The lookup functions should have an optional argument for the return
    value, defaulting to #N/A in its absence.

  14. #14
    bj
    Guest

    RE: SUMPRODUCT help

    The problem is probably that your date value is not being recognized.
    try
    =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= datevalue("15 March,
    2005") & D5:D150<= datevalue(("31 March, 2005"))
    Note with my verison of Excel I had to use "March 15, 2005" You may have to
    paly a bit with format.

    "svvm" wrote:

    >
    > Hi,
    > I have three columns. One containing a "value" taken from a list,
    > another an amount and the third column contains a date.
    >
    > What I need to do is for a particular value, find out the sum of all
    > the amounts for a particular month.
    >
    > This is the formula I have written but the sum is not being calculated
    > for the particular date range.
    >
    > Column D Column E Column F
    > 15 March, 2005 23344 UK Perdiem
    > 17 March, 2005 739874 UK Perdiem
    >
    > =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= "15 March,
    > 2005" & D5:D150<= "31 March, 2005"))
    >
    > The value shows 0 but if I remove the date calculation it works fine.
    >
    > Can anybody please help me with the formula?
    >
    > Thanks in advance
    >
    >
    > --
    > svvm
    > ------------------------------------------------------------------------
    > svvm's Profile: http://www.excelforum.com/member.php...o&userid=21501
    > View this thread: http://www.excelforum.com/showthread...hreadid=380469
    >
    >


  15. #15
    Aladin Akyurek
    Guest

    Re: SUMPRODUCT help

    svvm wrote:
    > Hi,
    > I have three columns. One containing a "value" taken from a list,
    > another an amount and the third column contains a date.
    >
    > What I need to do is for a particular value, find out the sum of all
    > the amounts for a particular month.
    >
    > This is the formula I have written but the sum is not being calculated
    > for the particular date range.
    >
    > Column D Column E Column F
    > 15 March, 2005 23344 UK Perdiem
    > 17 March, 2005 739874 UK Perdiem
    >
    > =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= "15 March,
    > 2005" & D5:D150<= "31 March, 2005"))
    >
    > The value shows 0 but if I remove the date calculation it works fine.
    >
    > Can anybody please help me with the formula?
    >
    > Thanks in advance
    >
    >

    =SUMPRODUCT($F$5:$F$150,($I$5:$I$150="UK Perdiem")+0,($D$5:$D$150>=
    "15-Mar-05"+0)+0, ($D$5:$D$150<= "31-Mar-05"+0)+0)

    --

    [1] The SumProduct function should implicitly coerce the truth values to
    their Excel numeric equivalents.
    [2] The lookup functions should have an optional argument for the return
    value, defaulting to #N/A in its absence.

  16. #16
    bj
    Guest

    RE: SUMPRODUCT help

    The problem is probably that your date value is not being recognized.
    try
    =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= datevalue("15 March,
    2005") & D5:D150<= datevalue(("31 March, 2005"))
    Note with my verison of Excel I had to use "March 15, 2005" You may have to
    paly a bit with format.

    "svvm" wrote:

    >
    > Hi,
    > I have three columns. One containing a "value" taken from a list,
    > another an amount and the third column contains a date.
    >
    > What I need to do is for a particular value, find out the sum of all
    > the amounts for a particular month.
    >
    > This is the formula I have written but the sum is not being calculated
    > for the particular date range.
    >
    > Column D Column E Column F
    > 15 March, 2005 23344 UK Perdiem
    > 17 March, 2005 739874 UK Perdiem
    >
    > =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= "15 March,
    > 2005" & D5:D150<= "31 March, 2005"))
    >
    > The value shows 0 but if I remove the date calculation it works fine.
    >
    > Can anybody please help me with the formula?
    >
    > Thanks in advance
    >
    >
    > --
    > svvm
    > ------------------------------------------------------------------------
    > svvm's Profile: http://www.excelforum.com/member.php...o&userid=21501
    > View this thread: http://www.excelforum.com/showthread...hreadid=380469
    >
    >


  17. #17
    bj
    Guest

    RE: SUMPRODUCT help

    The problem is probably that your date value is not being recognized.
    try
    =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= datevalue("15 March,
    2005") & D5:D150<= datevalue(("31 March, 2005"))
    Note with my verison of Excel I had to use "March 15, 2005" You may have to
    paly a bit with format.

    "svvm" wrote:

    >
    > Hi,
    > I have three columns. One containing a "value" taken from a list,
    > another an amount and the third column contains a date.
    >
    > What I need to do is for a particular value, find out the sum of all
    > the amounts for a particular month.
    >
    > This is the formula I have written but the sum is not being calculated
    > for the particular date range.
    >
    > Column D Column E Column F
    > 15 March, 2005 23344 UK Perdiem
    > 17 March, 2005 739874 UK Perdiem
    >
    > =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= "15 March,
    > 2005" & D5:D150<= "31 March, 2005"))
    >
    > The value shows 0 but if I remove the date calculation it works fine.
    >
    > Can anybody please help me with the formula?
    >
    > Thanks in advance
    >
    >
    > --
    > svvm
    > ------------------------------------------------------------------------
    > svvm's Profile: http://www.excelforum.com/member.php...o&userid=21501
    > View this thread: http://www.excelforum.com/showthread...hreadid=380469
    >
    >


  18. #18
    Aladin Akyurek
    Guest

    Re: SUMPRODUCT help

    svvm wrote:
    > Hi,
    > I have three columns. One containing a "value" taken from a list,
    > another an amount and the third column contains a date.
    >
    > What I need to do is for a particular value, find out the sum of all
    > the amounts for a particular month.
    >
    > This is the formula I have written but the sum is not being calculated
    > for the particular date range.
    >
    > Column D Column E Column F
    > 15 March, 2005 23344 UK Perdiem
    > 17 March, 2005 739874 UK Perdiem
    >
    > =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= "15 March,
    > 2005" & D5:D150<= "31 March, 2005"))
    >
    > The value shows 0 but if I remove the date calculation it works fine.
    >
    > Can anybody please help me with the formula?
    >
    > Thanks in advance
    >
    >

    =SUMPRODUCT($F$5:$F$150,($I$5:$I$150="UK Perdiem")+0,($D$5:$D$150>=
    "15-Mar-05"+0)+0, ($D$5:$D$150<= "31-Mar-05"+0)+0)

    --

    [1] The SumProduct function should implicitly coerce the truth values to
    their Excel numeric equivalents.
    [2] The lookup functions should have an optional argument for the return
    value, defaulting to #N/A in its absence.

  19. #19
    Aladin Akyurek
    Guest

    Re: SUMPRODUCT help

    svvm wrote:
    > Hi,
    > I have three columns. One containing a "value" taken from a list,
    > another an amount and the third column contains a date.
    >
    > What I need to do is for a particular value, find out the sum of all
    > the amounts for a particular month.
    >
    > This is the formula I have written but the sum is not being calculated
    > for the particular date range.
    >
    > Column D Column E Column F
    > 15 March, 2005 23344 UK Perdiem
    > 17 March, 2005 739874 UK Perdiem
    >
    > =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= "15 March,
    > 2005" & D5:D150<= "31 March, 2005"))
    >
    > The value shows 0 but if I remove the date calculation it works fine.
    >
    > Can anybody please help me with the formula?
    >
    > Thanks in advance
    >
    >

    =SUMPRODUCT($F$5:$F$150,($I$5:$I$150="UK Perdiem")+0,($D$5:$D$150>=
    "15-Mar-05"+0)+0, ($D$5:$D$150<= "31-Mar-05"+0)+0)

    --

    [1] The SumProduct function should implicitly coerce the truth values to
    their Excel numeric equivalents.
    [2] The lookup functions should have an optional argument for the return
    value, defaulting to #N/A in its absence.

  20. #20
    bj
    Guest

    RE: SUMPRODUCT help

    The problem is probably that your date value is not being recognized.
    try
    =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= datevalue("15 March,
    2005") & D5:D150<= datevalue(("31 March, 2005"))
    Note with my verison of Excel I had to use "March 15, 2005" You may have to
    paly a bit with format.

    "svvm" wrote:

    >
    > Hi,
    > I have three columns. One containing a "value" taken from a list,
    > another an amount and the third column contains a date.
    >
    > What I need to do is for a particular value, find out the sum of all
    > the amounts for a particular month.
    >
    > This is the formula I have written but the sum is not being calculated
    > for the particular date range.
    >
    > Column D Column E Column F
    > 15 March, 2005 23344 UK Perdiem
    > 17 March, 2005 739874 UK Perdiem
    >
    > =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= "15 March,
    > 2005" & D5:D150<= "31 March, 2005"))
    >
    > The value shows 0 but if I remove the date calculation it works fine.
    >
    > Can anybody please help me with the formula?
    >
    > Thanks in advance
    >
    >
    > --
    > svvm
    > ------------------------------------------------------------------------
    > svvm's Profile: http://www.excelforum.com/member.php...o&userid=21501
    > View this thread: http://www.excelforum.com/showthread...hreadid=380469
    >
    >


  21. #21
    Aladin Akyurek
    Guest

    Re: SUMPRODUCT help

    svvm wrote:
    > Hi,
    > I have three columns. One containing a "value" taken from a list,
    > another an amount and the third column contains a date.
    >
    > What I need to do is for a particular value, find out the sum of all
    > the amounts for a particular month.
    >
    > This is the formula I have written but the sum is not being calculated
    > for the particular date range.
    >
    > Column D Column E Column F
    > 15 March, 2005 23344 UK Perdiem
    > 17 March, 2005 739874 UK Perdiem
    >
    > =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= "15 March,
    > 2005" & D5:D150<= "31 March, 2005"))
    >
    > The value shows 0 but if I remove the date calculation it works fine.
    >
    > Can anybody please help me with the formula?
    >
    > Thanks in advance
    >
    >

    =SUMPRODUCT($F$5:$F$150,($I$5:$I$150="UK Perdiem")+0,($D$5:$D$150>=
    "15-Mar-05"+0)+0, ($D$5:$D$150<= "31-Mar-05"+0)+0)

    --

    [1] The SumProduct function should implicitly coerce the truth values to
    their Excel numeric equivalents.
    [2] The lookup functions should have an optional argument for the return
    value, defaulting to #N/A in its absence.

  22. #22
    bj
    Guest

    RE: SUMPRODUCT help

    The problem is probably that your date value is not being recognized.
    try
    =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= datevalue("15 March,
    2005") & D5:D150<= datevalue(("31 March, 2005"))
    Note with my verison of Excel I had to use "March 15, 2005" You may have to
    paly a bit with format.

    "svvm" wrote:

    >
    > Hi,
    > I have three columns. One containing a "value" taken from a list,
    > another an amount and the third column contains a date.
    >
    > What I need to do is for a particular value, find out the sum of all
    > the amounts for a particular month.
    >
    > This is the formula I have written but the sum is not being calculated
    > for the particular date range.
    >
    > Column D Column E Column F
    > 15 March, 2005 23344 UK Perdiem
    > 17 March, 2005 739874 UK Perdiem
    >
    > =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= "15 March,
    > 2005" & D5:D150<= "31 March, 2005"))
    >
    > The value shows 0 but if I remove the date calculation it works fine.
    >
    > Can anybody please help me with the formula?
    >
    > Thanks in advance
    >
    >
    > --
    > svvm
    > ------------------------------------------------------------------------
    > svvm's Profile: http://www.excelforum.com/member.php...o&userid=21501
    > View this thread: http://www.excelforum.com/showthread...hreadid=380469
    >
    >


  23. #23
    Aladin Akyurek
    Guest

    Re: SUMPRODUCT help

    svvm wrote:
    > Hi,
    > I have three columns. One containing a "value" taken from a list,
    > another an amount and the third column contains a date.
    >
    > What I need to do is for a particular value, find out the sum of all
    > the amounts for a particular month.
    >
    > This is the formula I have written but the sum is not being calculated
    > for the particular date range.
    >
    > Column D Column E Column F
    > 15 March, 2005 23344 UK Perdiem
    > 17 March, 2005 739874 UK Perdiem
    >
    > =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= "15 March,
    > 2005" & D5:D150<= "31 March, 2005"))
    >
    > The value shows 0 but if I remove the date calculation it works fine.
    >
    > Can anybody please help me with the formula?
    >
    > Thanks in advance
    >
    >

    =SUMPRODUCT($F$5:$F$150,($I$5:$I$150="UK Perdiem")+0,($D$5:$D$150>=
    "15-Mar-05"+0)+0, ($D$5:$D$150<= "31-Mar-05"+0)+0)

    --

    [1] The SumProduct function should implicitly coerce the truth values to
    their Excel numeric equivalents.
    [2] The lookup functions should have an optional argument for the return
    value, defaulting to #N/A in its absence.

  24. #24
    bj
    Guest

    RE: SUMPRODUCT help

    The problem is probably that your date value is not being recognized.
    try
    =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= datevalue("15 March,
    2005") & D5:D150<= datevalue(("31 March, 2005"))
    Note with my verison of Excel I had to use "March 15, 2005" You may have to
    paly a bit with format.

    "svvm" wrote:

    >
    > Hi,
    > I have three columns. One containing a "value" taken from a list,
    > another an amount and the third column contains a date.
    >
    > What I need to do is for a particular value, find out the sum of all
    > the amounts for a particular month.
    >
    > This is the formula I have written but the sum is not being calculated
    > for the particular date range.
    >
    > Column D Column E Column F
    > 15 March, 2005 23344 UK Perdiem
    > 17 March, 2005 739874 UK Perdiem
    >
    > =SUMPRODUCT((F5:F150)*(I5:I150="UK Perdiem")*(D5:D150>= "15 March,
    > 2005" & D5:D150<= "31 March, 2005"))
    >
    > The value shows 0 but if I remove the date calculation it works fine.
    >
    > Can anybody please help me with the formula?
    >
    > Thanks in advance
    >
    >
    > --
    > svvm
    > ------------------------------------------------------------------------
    > svvm's Profile: http://www.excelforum.com/member.php...o&userid=21501
    > View this thread: http://www.excelforum.com/showthread...hreadid=380469
    >
    >


+ 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