Repeating expression in formula

jbarrick007

New Member
Joined
Jul 9, 2020
Messages
36
Office Version
  1. 365
Platform
  1. Windows
Hello everyone.
Im having trouble simplifying a repeating phrase in a formula I continually copy and paste and think there must be a slightly easier way.

The formula is: =CONCATENATE("< PHASE 1> ","(",(VLOOKUP("PHASE 1",'Working Datasheet '!A:E,3,FALSE)),")",CHAR(10),(VLOOKUP("PHASE 1",'Working Datasheet '!A:F,6,FALSE)))

But I have 10 PHASES, so I multiple copy and pastes such as: =CONCATENATE("< PHASE 2> ","(",(VLOOKUP("PHASE 2",'Working Datasheet '!A:E,3,FALSE)),")",CHAR(10),(VLOOKUP("PHASE 2",'Working Datasheet '!A:F,6,FALSE)))

I have 10 phases, so every time I copy this formula and want to edit it to PHASE 2, I have three places I have to make the edit from PHASE 1 to PHASE 2. Is there a way to reference the "PHASE x" so it repeats throughout the formula. I know you can set rules like this in VBA but not sure about the formula bar.
 

Some videos you may like

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

mrshl9898

Well-known Member
Joined
Feb 6, 2012
Messages
1,651
=ROW(A1) returns a 1, copied down A2=2 etc... Is this something you could perhaps use? Hard to be sure without seeing examples. eg.CONCATENATE("< PHASE ",ROW(A1),"> ",
 

Watch MrExcel Video

Forum statistics

Threads
1,123,493
Messages
5,601,998
Members
414,490
Latest member
Rip181

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