Very easy sum I can't work out!

rickwardyy

New Member
Joined
Mar 5, 2013
Messages
34
So In cell I3 I have a number, I need that number to times by 2 if cell I4 says 'Yes'.

Thanks in advance!
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

steve the fish

Well-known Member
Joined
Oct 20, 2009
Messages
8,423
Office Version
  1. 365
Platform
  1. Windows
Is the number 2 typed into I3 or is it the result of a formula? If so what is the formula?
 

rickwardyy

New Member
Joined
Mar 5, 2013
Messages
34
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
Joined
Oct 20, 2009
Messages
8,423
Office Version
  1. 365
Platform
  1. Windows
Ok so is £200 the result of a formula? If so what is the formula?
 

rickwardyy

New Member
Joined
Mar 5, 2013
Messages
34

ADVERTISEMENT

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
Joined
Jan 13, 2015
Messages
357
Office Version
  1. 2016
Platform
  1. Windows
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.
 

Watch MrExcel Video

Forum statistics

Threads
1,133,264
Messages
5,657,715
Members
418,410
Latest member
CrishFergus

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
Top