Copy and paste concatenated formulas

B5rocksass

Board Regular
Joined
Jan 10, 2017
Messages
50
Office Version
  1. 2016
Platform
  1. Windows
Hello everyone, Is it possible to copy concatenated fields and have them treated as a formula in that pasted field? I have 4 columns of the same formula in which each of the 30+ rows reference a different tab in the workbook. Instead of entering each cell and replacing various parts of formula, I've created the correct formula using concatenate. Now all i have to do is put an equal sign before it. But i was hoping this could be pasted as a formula. Please help!

Here is a portion of the data I'm working with...

LUM Confirmations Time Frame Averages - 2021.01.xlsx
ABCDEFGHIJ
1Formula Fragments
2TabForm-1Form-2Form-3Form-4Form-5Form-6Form-7Form-8Concatenated Formula
31'COUNTIFS('!$F:$F,$B$2,'!$G:$G,"N",'!$C:$C,"<="&WORKDAY($A3,-3))COUNTIFS('1'!$F:$F,$B$2,'1'!$G:$G,"N",'1'!$C:$C,"<="&WORKDAY($A3,-3))
42'COUNTIFS('!$F:$F,$B$2,'!$G:$G,"N",'!$C:$C,"<="&WORKDAY($A4,-3))COUNTIFS('2'!$F:$F,$B$2,'2'!$G:$G,"N",'2'!$C:$C,"<="&WORKDAY($A4,-3))
53'COUNTIFS('!$F:$F,$B$2,'!$G:$G,"N",'!$C:$C,"<="&WORKDAY($A5,-3))COUNTIFS('3'!$F:$F,$B$2,'3'!$G:$G,"N",'3'!$C:$C,"<="&WORKDAY($A5,-3))
64'COUNTIFS('!$F:$F,$B$2,'!$G:$G,"N",'!$C:$C,"<="&WORKDAY($A6,-3))COUNTIFS('4'!$F:$F,$B$2,'4'!$G:$G,"N",'4'!$C:$C,"<="&WORKDAY($A6,-3))
75'COUNTIFS('!$F:$F,$B$2,'!$G:$G,"N",'!$C:$C,"<="&WORKDAY($A7,-3))COUNTIFS('5'!$F:$F,$B$2,'5'!$G:$G,"N",'5'!$C:$C,"<="&WORKDAY($A7,-3))
Sheet1
Cell Formulas
RangeFormula
J3:J7J3=CONCATENATE(B3,A3,C3,D3,E3,A3,F3,A3,G3,H3,I3)
 

Some videos you may like

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

mart37

Well-known Member
Joined
Aug 4, 2017
Messages
1,049
Office Version
  1. 2016
Platform
  1. Windows
You can use INDIRECT() in a formula to refer to a range in a cell.
 

B5rocksass

Board Regular
Joined
Jan 10, 2017
Messages
50
Office Version
  1. 2016
Platform
  1. Windows
I'm not sure i understand what you mean. I'm looking for a way to copy the full 30+ rows of selected text and paste into a new area as formulas.
 

mart37

Well-known Member
Joined
Aug 4, 2017
Messages
1,049
Office Version
  1. 2016
Platform
  1. Windows
tekst naar formule.xlsx
ABCDEFGHI
1Formula Fragments
2TabForm-2Form-3Form-5Form-6Form-7Form-8Concatenated Formula
311!$F:$F$B$21!$G:$GN1!$C:$C$A3#GETAL!0
422!$F:$F$B$22!$G:$GN2!$C:$C$A4#GETAL!0
Blad1
Cell Formulas
RangeFormula
H3:H4H3="<="&WORKDAY(INDIRECT(G3),-3)
I3I3=COUNTIFS(INDIRECT(B3),INDIRECT(C3),INDIRECT(D3),E3,INDIRECT(F3),H3)
I4I4=COUNTIFS(INDIRECT(B4),INDIRECT(C4),INDIRECT(D4),E4,INDIRECT(F4),"<="&WORKDAY(INDIRECT(G4),-3))
B3:B4B3=A3&"!$F:$F"
D3:D4D3=A3&"!$G:$G"
F3:F4F3=A3&"!$C:$C"
 

Watch MrExcel Video

Forum statistics

Threads
1,127,120
Messages
5,622,855
Members
415,934
Latest member
adstocking

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