Copy contents of one cell to another based on the value of a third cell

WGTE3091

New Member
Joined
Apr 30, 2019
Messages
2
With using only cell formulas ...
(the company does not allow files with macros)

Is it possible to copy the value (text) in cell A1 to B1 ... if the value of cell F1 = 5.

In truth, if F1 = 5, then the value of cell A1 needs to be copied to cells B1, C1, D1, E1.


Thanks for any help.

RJW
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Welcome to the Board.

Put this formula in B1, and copy over to E1:

=IF($F1=5,$A1,"")

If there's already something there, or if you want B1:E1 to remain the same even if F1 or A1 changes in the future, then you'll need a macro, which I know your company doesn't allow.
 
Upvote 0
Thanks Eric W, that worked.

I tried an IF statement, but must not have had the right syntax.

RJW
 
Upvote 0

Forum statistics

Threads
1,215,422
Messages
6,124,808
Members
449,191
Latest member
rscraig11

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