If Then Formula

sneakybeakylike

New Member
Joined
Aug 19, 2020
Messages
12
Office Version
  1. 2019
Platform
  1. Windows
Hi All!

I'm having a bit of trouble with some formulating... How can I write an If Then statement into a cell so that it displays the value of another cell, or cells?

For example, If A1 > 10, Then B1 = (the value of Cell X)

Thanks a ton!
 

Some videos you may like

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

VBE313

Well-known Member
Joined
Mar 22, 2019
Messages
683
Office Version
  1. 365
Platform
  1. Windows
Are you trying to set B1 to the value of Cell X (ex. X1)?
 

sneakybeakylike

New Member
Joined
Aug 19, 2020
Messages
12
Office Version
  1. 2019
Platform
  1. Windows
No, those were just example values. Here's what I actually need it to do:

If (K2 > 1) Then (Value of F2) = F2 + 0.1

I also plan on replicating the formula all the way down column F.
 

VBE313

Well-known Member
Joined
Mar 22, 2019
Messages
683
Office Version
  1. 365
Platform
  1. Windows
VBA Code:
=IF(K2>1,F2+0.1,0)
 

VBE313

Well-known Member
Joined
Mar 22, 2019
Messages
683
Office Version
  1. 365
Platform
  1. Windows
You aren't dumb, sometimes we tend to overthink the simplest of tasks!
 

Watch MrExcel Video

Forum statistics

Threads
1,127,581
Messages
5,625,612
Members
416,124
Latest member
DeMoNloK

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