#### PRIMA

##### Well-known Member
Hi to All,

I have a table shown below, I want to have a formula under the Planned Column C1. The condition is, If I change the Column C1, then in Column B2 gives me the sum of D3 up to the date of C1 only.

Can anybody help me please. Thanks!

 A B C D E F G H I J K 1 Cut-Off Planned 15-Jul-14 2 Date 09-Jul-14 10-Jul-14 11-Jul-14 12-Jul-14 13-Jul-14 14-Jul-14 15-Jul-14 16-Jul-14 17-Jul-14 3 GF 125.14 125.14 125.14 125.14 356.48 356.48 356.48 356.48 231.33 4 FF 31.29 31.29 31.29 31.29 89.12 89.12 89.12 89.12 57.83

<tbody>
</tbody>

### Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
*Edit

=SUMIF(C2:K2,"<" & \$C\$1,C3:K3)

Last edited:
Thank you for the quick reply ghrain, however, the result is the sum of coulmn C to K, I want only up to column I, because C1 column is only up to 15-Jul-14. Thank again

Thank you so much ghrain22, it works well, I have added 1 after \$C\$1 as shown, =SUMIF(\$C\$2:\$K\$2,"<" & \$C\$1+1,\$C3:\$K3) thanks again.

You're welcome

Replies
5
Views
472
Replies
3
Views
286
Replies
8
Views
477
Replies
8
Views
519
Replies
5
Views
375

1,221,128
Messages
6,158,105
Members
451,465
Latest member
Big_Bill62

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

### Which adblocker are you using?

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

### Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back