# Very easy sum I can't work out!

#### rickwardyy

##### New Member
So In cell I3 I have a number, I need that number to times by 2 if cell I4 says 'Yes'.

### Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

#### steve the fish

##### Well-known Member
Is the number 2 typed into I3 or is it the result of a formula? If so what is the formula?

#### rickwardyy

##### New Member
No in I3 I have a number £200 which needs to time by two if the cell I4 contains 'Yes'.

#### steve the fish

##### Well-known Member
Ok so is £200 the result of a formula? If so what is the formula?

#### rickwardyy

##### New Member
I'm confused. In cell I7 I need a sum that will times cell I2 by two if cell I4 Contains a 'Yes'.

#### CsJHUN

##### Active Member
If you want to change the 200 to 400 you need to use VBA, without it, i suggest if I5 is empty, or not used, use this formula: =If(I4="yes", 2xI3, I3) . As result, if there is "yes" in I4 the I3 value will be multiplied by 2, if not "yes" in I4, the original value will be shown.

#### FDibbins

##### Well-known Member
I'm confused. In cell I7 I need a sum that will times cell I2 by two if cell I4 Contains a 'Yes'.

If that is what you want, then...
I7=I2*if(I4="yes",2,1)

Replies
4
Views
253
Replies
8
Views
700
Replies
7
Views
466
Replies
3
Views
431
Replies
6
Views
105

1,171,630
Messages
5,876,539
Members
433,199
Latest member
guerin47

### 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.

### Which adblocker are you using?

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

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