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.
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

mrshl9898

Well-known Member
Joined
Feb 6, 2012
Messages
1,951
=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),"> ",
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,675
Messages
5,838,712
Members
430,566
Latest member
ChanchalSingh

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