Excel Add if formula

gero92

New Member
Joined
Apr 15, 2018
Messages
10
Hello everybody,

I am trying to get the 4th column of the below table with a formula. Basically I want in the fourth column to have the value 1 when the sum of the values in the second column is 1 or a multiple of 1. Can someone help me please? Thank you so much!!:)


[TABLE="width: 281"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Value[/TD]
[TD]Cumulative[/TD]
[TD] FORMULA[/TD]
[/TR]
[TR]
[TD="align: right"]10/07/2018[/TD]
[TD="align: right"]0,3[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]04/08/2018[/TD]
[TD="align: right"]0,65[/TD]
[TD="align: right"]0,95[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]25/09/2018[/TD]
[TD="align: right"]0,23[/TD]
[TD="align: right"]1,18[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]28/09/2018[/TD]
[TD="align: right"]0,56[/TD]
[TD="align: right"]1,74[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]07/11/2018[/TD]
[TD="align: right"]0,78[/TD]
[TD="align: right"]2,52[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]28/11/2018[/TD]
[TD="align: right"]0,2[/TD]
[TD="align: right"]2,72[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]19/12/2018[/TD]
[TD="align: right"]0,7[/TD]
[TD="align: right"]3,42[/TD]
[TD="align: right"]1[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
One way, formula in D3 and dragged down.

Excel Workbook
ABCD
1DateValueCumulativeFORMULA
210/07/20180.3
304/08/20180.650.95 
425/09/20180.231.181
528/09/20180.561.74
607/11/20180.782.521
728/11/20180.22.72
819/12/20180.73.421
Sheet1
 
Upvote 0
.. or if you are trying to do it without the third column:

Excel Workbook
ABCD
1DateValueFORMULA
210/07/20180.3 
34/08/20180.65
425/09/20180.231
528/09/20180.56
67/11/20180.781
728/11/20180.2
819/12/20180.71
Sheet6
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,021
Latest member
Justyna P

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?

Disable AdBlock

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
Back
Top