Home |
Search |
Today's Posts |
#1
|
|||
|
|||
SUM IF Criteria
Does anyone know if the criteria in a SUMIF function must
be a specific value as oppsed to a cell reference. I've been trying to get the following to work: A B C D E F 1 START Sep 1 Oct 1 Nov 1 Dec 1 2 Program A Oct 1 34 46 52 25 3 Program B Nov 1 42 29 32 21 For each program, I want to sum only the values that come AFTER the start date. Since the data changes every month, I need a way to set up the criteria to reference the START column to identify the START date. I've been writing the formula as: =SUMIF(B1:F1,"B2",B2:F2) This return a value of "0" If I substitute the actual value for the cell reference: =SUMIF(B1:F1, "Oct 1", B2:F2) the formula works, but it doesn't solve my problem since the program list (and start dates) change every month. Should I give up on SUMIF and try this another way??? Any suggestions??? |
#2
|
|||
|
|||
=SUMIF(B1:F1,""&B2,B2:F2)
-- HTH RP (remove nothere from the email address if mailing direct) "stacey" wrote in message ... Does anyone know if the criteria in a SUMIF function must be a specific value as oppsed to a cell reference. I've been trying to get the following to work: A B C D E F 1 START Sep 1 Oct 1 Nov 1 Dec 1 2 Program A Oct 1 34 46 52 25 3 Program B Nov 1 42 29 32 21 For each program, I want to sum only the values that come AFTER the start date. Since the data changes every month, I need a way to set up the criteria to reference the START column to identify the START date. I've been writing the formula as: =SUMIF(B1:F1,"B2",B2:F2) This return a value of "0" If I substitute the actual value for the cell reference: =SUMIF(B1:F1, "Oct 1", B2:F2) the formula works, but it doesn't solve my problem since the program list (and start dates) change every month. Should I give up on SUMIF and try this another way??? Any suggestions??? |
#3
|
|||
|
|||
Hi
=SUMIF(B1:F1,""&B2,B2:F2) -- Regards Frank Kabel Frankfurt, Germany "stacey" schrieb im Newsbeitrag ... Does anyone know if the criteria in a SUMIF function must be a specific value as oppsed to a cell reference. I've been trying to get the following to work: A B C D E F 1 START Sep 1 Oct 1 Nov 1 Dec 1 2 Program A Oct 1 34 46 52 25 3 Program B Nov 1 42 29 32 21 For each program, I want to sum only the values that come AFTER the start date. Since the data changes every month, I need a way to set up the criteria to reference the START column to identify the START date. I've been writing the formula as: =SUMIF(B1:F1,"B2",B2:F2) This return a value of "0" If I substitute the actual value for the cell reference: =SUMIF(B1:F1, "Oct 1", B2:F2) the formula works, but it doesn't solve my problem since the program list (and start dates) change every month. Should I give up on SUMIF and try this another way??? Any suggestions??? |
#4
|
|||
|
|||
Thank You!!!!!!!!!!!!
-----Original Message----- Hi =SUMIF(B1:F1,""&B2,B2:F2) -- Regards Frank Kabel Frankfurt, Germany "stacey" schrieb im Newsbeitrag ... Does anyone know if the criteria in a SUMIF function must be a specific value as oppsed to a cell reference. I've been trying to get the following to work: A B C D E F 1 START Sep 1 Oct 1 Nov 1 Dec 1 2 Program A Oct 1 34 46 52 25 3 Program B Nov 1 42 29 32 21 For each program, I want to sum only the values that come AFTER the start date. Since the data changes every month, I need a way to set up the criteria to reference the START column to identify the START date. I've been writing the formula as: =SUMIF(B1:F1,"B2",B2:F2) This return a value of "0" If I substitute the actual value for the cell reference: =SUMIF(B1:F1, "Oct 1", B2:F2) the formula works, but it doesn't solve my problem since the program list (and start dates) change every month. Should I give up on SUMIF and try this another way??? Any suggestions??? . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Formula to determine a future date based on criteria | Excel Worksheet Functions | |||
SUMIF with more than 1 criteria | Excel Worksheet Functions | |||
Need formula to check values of data in several cells as criteria | Excel Worksheet Functions | |||
Counting "rows", i.e. simultaneous criteria for multiple cells | Excel Worksheet Functions | |||
Can I use a cell reference in the criteria for the sumif function. | Excel Worksheet Functions |