Forum Discussion

Dale_Rivers's avatar
Dale_Rivers
Copper Contributor
Oct 12, 2021
Solved

A lookup field within a line of text

Hello everyone...I know this will be child's play for most but I'm trying to figure out a simple way to auto-populate a sheet I'm making where I want to place the year or quarter into a text string w...
  • Dale_Rivers 

     

    You may replace all the Strings which contains the date or year info in them with the formulas and once it is set up, they will adopt the change in the year entered in cell A1.

    e.g. you may enter the following formulas in the worksheet and they will reflect the year entered in cell A1.

     

    ="Cost of Goods - For Period "&TEXT(DATE($A$1,7,1),"yyyy-mm-dd")&" to "&TEXT(DATE($A$1,9,30),"yyyy-mm-dd")
    ="Total COG's for the period "&TEXT(DATE($A$1,7,1),"yyyy-mm-dd")&" to "&TEXT(DATE($A$1,9,30),"yyyy-mm-dd")
    =$A$1&"-Q1 Reports"

    Similarly, you can construct other formulas.

Resources