Is it possible to use a formula to change a free text cell?

Piers

New Member
Joined
Aug 24, 2022
Messages
9
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
Platform
  1. Windows
I have a value in cell B1 - its a free text name with no formula in it - say this name is Black.

would it be positble to write up a formula in cell D1 which would change the value in B1 based on if the status is put to archived so it changes the name to "archived data"

was thinking something along the lines of

=if(A1="archived",Replace(B1,B1,"archived"), "") but not getting any results with this

ABCD
StatusSurnamedate of discharge
1ActiveBlack12/12/25
2ActiveSimpson10/5/24
3DischargedPower12/10/22
4ArchivedTimes08/08/21
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
No, a formula cannot do that. You would need code for that.
 
Upvote 0
If "Black" came from formula, YES
If "Black" was harcoded text from manual input, NO
 
Upvote 0

Forum statistics

Threads
1,216,317
Messages
6,130,020
Members
449,550
Latest member
8073662045

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