Inserting the right formula in cell

Seanni

New Member
Joined
Dec 22, 2021
Messages
3
Office Version
  1. 2021
Platform
  1. Windows
  2. MacOS
Hi everyone,

I would like to insert a formula in the 3rd column (shown below), based on certain conditions:

If the value in the 2nd column is equal or higher than 16, the number itself should be inserted in column 3;
If the value in the 2nd column is below 16, the cell should be empty.

ScenarioE.E.1
19
216
35
418
517
615

I've been trying with the IF-function, but can't manage to get anything better than:

=IF(B2>16; "=B2"; "")

However, this results in "=B2" literally being inserted in the cell (and not the value).

Anybody know how to create this?

Kind regards,

S
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Anything enclosed in double-quotes is treated as literal text.
Just use:
Excel Formula:
=IF(B2>=16;B2;"")
 
Upvote 0
Solution

Forum statistics

Threads
1,214,405
Messages
6,119,320
Members
448,887
Latest member
AirOliver

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