{"text_format":"1","workbook":"xlsx","n_sheets":6,"sheets":["Instructions","Period End Dates","Lookups","Mapping","JE Output","Data Source"],"not_rendered":{"charts":0,"images":0,"macros":1,"external_links":0,"defined_names":4,"comments":3,"pivot_tables":0},"unopened":[],"bounds":{"document_bytes":16777216,"sheet_cells":100000,"rows_first":2000,"rows_last":500,"rows_between":2000,"halvings":0,"cell_chars":16384,"cell_head_chars":4096},"cells_cut":0,"cells_raw":0,"read":"whole","date_system":"1900"}

{"sheet":"Instructions","index":0,"n_rows":37,"n_cols":14,"rows_kept":37,"cut":false,"hidden":false,"merged":[[23,1,26,9],[29,0,32,9],[17,1,21,9],[15,1,16,9],[22,1,22,9],[1,1,2,9],[3,1,3,9],[4,1,6,9],[7,1,12,9]]}
["Instructions - Initial Setup"]
[1,"Fill in your period end schedule on the Period End Dates sheet.  An example is listed by default - clear the example labels/dates to insert your own.",null,null,null,null,null,null,null,null,null,null,"JE Start Date:","2021-01-31"]
[null,null,null,null,null,null,null,null,null,null,null,null,"JE End Date:","2021-12-31"]
[{"$f":"A2+1","v":2},"Identify the data source for your JE and copy it to the Data Source sheet."]
[{"$f":"A4+1","v":3},"On the JE Output sheet, add the labels for the fields required for your journal entry (i.e. amount, date, reference, description, currency, etc.).  Enter these in the exact same order/format you would for a JE import."]
[]
[]
[{"$f":"+A5+1","v":4},"On the Mapping sheet, set up a mapping of the columns from the Data Source sheet and how they should flow into the JE Output sheet.  This can be by directly copying the values from the Data Source sheet, applying fixed values, or applying formulas.  Make sure to set the mapping for two separate lines (i.e. the debit and the credit) in the two sets of columns.  Leverage formulas to reverse the signs or apply other calculations on the values in the Data Source sheet."]
[]
[]
[]
[]
[]
[]
["Instructions - Ongoing Usage"]
[1,"Run the Clear Data macro by clicking the green button to the right.  This will clear the data from row 2 down to the end on both the Data Source and JE Output sheets."]
[]
[{"$f":"A16+1","v":2},"To record journal entries for multiple periods, enter dates in the JE Start Date and JE End Date fields above to the right.  If these are used, a date field must be specified on the Mapping sheet using a [PED] fixed value.  The period-end date will be inserted for the JE lines.  If the JE start/end dates are not used (left blank), only one set of JE lines will be created, and the dates used for them can flow from the Data Source sheet."]
[]
[]
[]
[]
[{"$f":"A18+1","v":3},"Get the data to be used in the Data Source sheet and copy it to that sheet."]
[{"$f":"A23+1","v":4},"Run the Create JE Lines macro by clicking the green button to the right.  This will create JE lines on the JE Output sheet for one or more periods by leveraging the Data Source sheet and the Mapping sheet to copy the data to the right place, apply fixed values, or apply formulas."]
[]
[]
[]
[]
["Development Notes",null,null,null,null,null,null,"Last updated:",null,"2021-10-19"]
["This template was developed by Derek Henry, CPA, CFE after working at several different companies that followed retail calendars.  It can be used, modified, and distributed without limitation.  The developer and any affiliates assume no liability for any damages caused based on the reliance of this file.  Adequate testing for your use case is highly recommended."]
[]
[]
[]
["The live version of this file is hosted at:"]
["https://excelevate.co/wp/wp-content/uploads/2021/10/JE-Automation-Template.xlsm"]
["For comments, questions, and suggestions, please submit them at:"]
["https://excelevate.co/wp/index.php/home/support/feedback-form/"]

{"sheet":"Period End Dates","index":1,"n_rows":37,"n_cols":3,"rows_kept":37,"cut":false,"hidden":false,"merged":[]}
["Period Label","Period Start Date","Period End Date"]
[{"$f":"YEAR(C2)&\"-\"&IF(MONTH(C2)<10,\"0\",\"\")&MONTH(C2)","v":"2020-01"},"2020-01-01",{"$f":"EOMONTH(B2,0)","v":"2020-01-31"}]
[{"$f":"YEAR(C3)&\"-\"&IF(MONTH(C3)<10,\"0\",\"\")&MONTH(C3)","v":"2020-02"},{"$f":"C2+1","v":"2020-02-01"},{"$f":"EOMONTH(B3,0)","v":"2020-02-29"}]
["2020-03",{"$f":"C3+1","v":"2020-03-01"},{"$f":"EOMONTH(B4,0)","v":"2020-03-31"}]
["2020-04","2020-04-01","2020-04-30"]
["2020-05","2020-05-01","2020-05-31"]
["2020-06","2020-06-01","2020-06-30"]
["2020-07","2020-07-01","2020-07-31"]
["2020-08","2020-08-01","2020-08-31"]
["2020-09","2020-09-01","2020-09-30"]
["2020-10","2020-10-01","2020-10-31"]
["2020-11","2020-11-01","2020-11-30"]
["2020-12","2020-12-01","2020-12-31"]
[{"$f":"YEAR(C14)&\"-\"&IF(MONTH(C14)<10,\"0\",\"\")&MONTH(C14)","v":"2021-01"},"2021-01-01","2021-01-31"]
["2021-02","2021-02-01","2021-02-28"]
["2021-03","2021-03-01","2021-03-31"]
["2021-04","2021-04-01","2021-04-30"]
["2021-05","2021-05-01","2021-05-31"]
["2021-06","2021-06-01","2021-06-30"]
["2021-07","2021-07-01","2021-07-31"]
["2021-08","2021-08-01","2021-08-31"]
["2021-09","2021-09-01","2021-09-30"]
["2021-10","2021-10-01","2021-10-31"]
["2021-11","2021-11-01","2021-11-30"]
["2021-12","2021-12-01","2021-12-31"]
["2022-01","2022-01-01","2022-01-31"]
["2022-02","2022-02-01","2022-02-28"]
["2022-03","2022-03-01","2022-03-31"]
["2022-04","2022-04-01","2022-04-30"]
["2022-05","2022-05-01","2022-05-31"]
["2022-06","2022-06-01","2022-06-30"]
["2022-07","2022-07-01","2022-07-31"]
["2022-08","2022-08-01","2022-08-31"]
["2022-09","2022-09-01","2022-09-30"]
["2022-10","2022-10-01","2022-10-31"]
["2022-11","2022-11-01","2022-11-30"]
["2022-12","2022-12-01","2022-12-31"]

{"sheet":"Lookups","index":2,"n_rows":31,"n_cols":2,"rows_kept":31,"cut":false,"hidden":false,"merged":[]}
["Location","Entity"]
["S0001",1001]
["S0002",{"$f":"B2+1","v":1002}]
["S0003",{"$f":"B3+1","v":1003}]
["S0004",1004]
["S0005",1005]
["S0006",1006]
["S0007",1007]
["S0008",1008]
["S0009",1009]
["S0010",1010]
["S0011",1011]
["S0012",1012]
["S0013",1013]
["S0014",1014]
["S0015",1015]
["S0016",1016]
["S0017",1017]
["S0018",1018]
["S0019",1019]
["S0020",1020]
["S0021",1021]
["S0022",1022]
["S0023",1023]
["S0024",1024]
["S0025",1025]
["S0026",1026]
["S0027",1027]
["S0028",1028]
["S0029",1029]
["S0030",1030]

{"sheet":"Mapping","index":3,"n_rows":10,"n_cols":14,"rows_kept":10,"cut":false,"hidden":false,"merged":[]}
["JE Output Line 1",null,null,null,null,"JE Output Line 2"]
["JE Column","SD Column","Fixed Value","Formula",null,"JE Column","SD Column","Fixed Value","Formula"]
["A",null,"GL",null,null,"A",null,"GL",null,null,"Source",null,null,"Date"]
["B",null,"[PED]",null,null,"B",null,"[PED]",null,null,"Transaction Date",null,null,"Location"]
["C","E",null,"=VLOOKUP(B2,'Lookups'!$A:$B,2,FALSE)",null,"C","E",null,null,null,"Entity",null,null,"Amount"]
["D",null,1565,null,null,"D",null,6501,null,null,"Account",null,null,"ID"]
["E",null,"022",null,null,"E",null,"022",null,null,"Cost Center"]
["F","C",null,null,null,"F","F",null,"=-C2",null,"Amount"]
["G","D",null,null,null,"G","D",null,null,null,"Reference"]
["H",null,"Accrue meeting expense",null,null,"H",null,"Accrue meeting expense",null,null,"Description"]

{"sheet":"JE Output","index":4,"n_rows":1,"n_cols":8,"rows_kept":1,"cut":false,"hidden":false,"merged":[]}
["Source","Transaction Date","Entity","Account","Cost Center","Amount","Reference","Description"]

{"sheet":"Data Source","index":5,"n_rows":31,"n_cols":6,"rows_kept":31,"cut":false,"hidden":false,"merged":[]}
["Date","Location","Amount","ID","[Entity]","[Inverse]"]
["2021-01-15","S0001",27194.84,56215]
["2021-01-15","S0002",7061.39,54261]
["2021-01-15","S0003",96749.87,59212]
["2021-01-15","S0004",78076.94,51859]
["2021-01-15","S0005",74429.820000000007,53054]
["2021-01-15","S0006",17634.669999999998,57431]
["2021-01-15","S0007",42082.39,55224]
["2021-01-15","S0008",72716.789999999994,53642]
["2021-01-15","S0009",49303.22,58089]
["2021-01-15","S0010",19612.810000000001,54441]
["2021-01-15","S0011",57215.22,58981]
["2021-01-15","S0012",19094.439999999999,52413]
["2021-01-15","S0013",63463.09,54733]
["2021-01-15","S0014",67232.95,55168]
["2021-01-15","S0015",90507.4,57559]
["2021-01-15","S0016",3146.78,58822]
["2021-01-15","S0017",27977.53,55990]
["2021-01-15","S0018",62111.57,50858]
["2021-01-15","S0019",83379.94,54736]
["2021-01-15","S0020",38468.589999999997,54423]
["2021-01-15","S0021",41622.57,56778]
["2021-01-15","S0022",10600.05,53245]
["2021-01-15","S0023",72537.22,58778]
["2021-01-15","S0024",5108.8,52276]
["2021-01-15","S0025",98804.28,52226]
["2021-01-15","S0026",90533.29,54894]
["2021-01-15","S0027",57092.45,53990]
["2021-01-15","S0028",26801.4,59079]
["2021-01-15","S0029",1059.67,56836]
["2021-01-15","S0030",5688.4,54475]