SOLVED

Expansion and interpolation of dated dated

%3CLINGO-SUB%20id%3D%22lingo-sub-1272614%22%20slang%3D%22en-US%22%3EExpansion%20and%20interpolation%20of%20dated%20dated%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1272614%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20dated%20productivity%20data%20that%20I%20need%20to%20evaluate%20after%20the%20dated%20data%20columns%20are%20expanded%20to%20include%20all%20dated%20data%2C%20inclusively%2C%20followed%20by%20interpolation%20of%20productivity%20data%20for%20off%20working%20days.%26nbsp%3B%20I%20need%20guidance%2Fhelp%20in%20automating%20that%20process.%26nbsp%3B%20Please%20see%20the%20attached%20Excel%20sheet.%26nbsp%3B%20Automation%20with%20macros%20and%20VBA%20is%20currently%20beyond%20my%20capabilities.%26nbsp%3B%20I%20am%20error%20prone%20doing%20it%20manually.%26nbsp%3B%20My%20hope%20is%20that%20there%20is%20a%20template%20or%20simple%20suggestion%20that%20I%20might%20apply.%26nbsp%3B%20Thanks%20for%20whatever%20help%20you%20may%20be%20willing%20to%20offer.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1272614%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMacros%20and%20VBA%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1272874%22%20slang%3D%22en-US%22%3ERe%3A%20Expansion%20and%20interpolation%20of%20dated%20dated%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1272874%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F605054%22%20target%3D%22_blank%22%3E%40Happy-Hoppy%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20was%20an%20attached%20word%20document%2C%20but%20not%20an%20Excel%20sheet.%20When%20you%20do%20upload%20the%20sheet%20itself%2C%20I%20hope%20it%20will%20be%20clear%20what%20you're%20asking.%20Your%20opening%20description%20makes%20it%20clear%20that%20%3CEM%3Eyou%3C%2FEM%3E%20understand%20what%20you're%20to%20do%2C%20but%20it's%20still%20pretty%20abstract%20(i%2Ce.%2C%20vague)%20to%20those%20of%20us%20who%20are%20less%20closely%20involved.%3C%2FP%3E%3CP%3EAre%20you%20asking%20for%3C%2FP%3E%3CUL%3E%3CLI%3Ehelp%20in%20evaluating%20the%20productivity%20data%3C%2FLI%3E%3CLI%3Eor%20help%20in%20expanding%20the%20dated%20columns%20to%20include.%20(etc)...%3C%2FLI%3E%3CLI%3Eor%20help%20in%20interpolation%20of%20productivity%20data%20for%20off%20working%20days%3C%2FLI%3E%3CLI%3Eor%20all%20of%20the%20above%3F%3C%2FLI%3E%3C%2FUL%3E%3CP%3EIn%20any%20case%2C%20I%20hope%20those%20questions%20make%20clear%20what%20needs%20to%20be%20clarified.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1275349%22%20slang%3D%22en-US%22%3ERe%3A%20Expansion%20and%20interpolation%20of%20dated%20dated%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1275349%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F425987%22%20target%3D%22_blank%22%3E%40mathetes%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20much%20for%20your%20reply%20and%20identification%20of%20my%20attachment%20error.%26nbsp%3B%20I%20wonder%20what%20word%20document%20I%20included.%26nbsp%3B%20Hopefully%2C%20I'm%20attaching%20the%20correct%20Excel%20sheet%20this%20time.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegarding%20your%20questions%2C%20yes%20I%20do%20need%20help%20in%20automating%20a%20process%20to%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3Eexpand%2Flengthen%20the%20dated%20columns%20to%20include%20missing%20dates%2Fdata-values%20and%3C%2FLI%3E%3CLI%3Eperform%2C%20and%20include%2C%20simple%20linear%20interpolations%20of%20Productivity%20data%20for%20the%20off-working%20days.%3C%2FLI%3E%3C%2FUL%3E%3CP%3EE.g.%2C%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Before%3C%2FP%3E%3CTABLE%20width%3D%22257%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%2294%22%3EDate%3C%2FTD%3E%3CTD%20width%3D%2280%22%3EProductivity%3C%2FTD%3E%3CTD%20width%3D%2283%22%3EDate%20Value%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E1%2F2%2F2018%3C%2FTD%3E%3CTD%3E1.32%3C%2FTD%3E%3CTD%3E43102.00%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E1%2F3%2F2018%3C%2FTD%3E%3CTD%3E1.32%3C%2FTD%3E%3CTD%3E43103.00%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E1%2F4%2F2018%3C%2FTD%3E%3CTD%3E1.32%3C%2FTD%3E%3CTD%3E43104.00%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E1%2F5%2F2018%3C%2FTD%3E%3CTD%3E1.33%3C%2FTD%3E%3CTD%3E43105.00%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E1%2F8%2F2018%3C%2FTD%3E%3CTD%3E1.37%3C%2FTD%3E%3CTD%3E43108.00%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E1%2F9%2F2018%3C%2FTD%3E%3CTD%3E1.36%3C%2FTD%3E%3CTD%3E43109.00%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3CSTRONG%3EAfter%20Expansion%20and%20Interpolation%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%3CTABLE%20width%3D%22214%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%2286%22%3EDate%3C%2FTD%3E%3CTD%20width%3D%2264%22%3EProductivity%3C%2FTD%3E%3CTD%20width%3D%2264%22%3EDate%20Value%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E1%2F2%2F2018%3C%2FTD%3E%3CTD%3E1.32%3C%2FTD%3E%3CTD%3E43102%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E1%2F3%2F2018%3C%2FTD%3E%3CTD%3E1.32%3C%2FTD%3E%3CTD%3E43103%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E1%2F4%2F2018%3C%2FTD%3E%3CTD%3E1.32%3C%2FTD%3E%3CTD%3E43104%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E1%2F5%2F2018%3C%2FTD%3E%3CTD%3E1.33%3C%2FTD%3E%3CTD%3E43105%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E%3CSTRONG%3E%3CFONT%20color%3D%22%23FF0000%22%3E1%2F6%2F2018%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FTD%3E%3CTD%3E%3CSTRONG%3E%3CFONT%20color%3D%22%23FF0000%22%3E1.34%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FTD%3E%3CTD%3E%3CSTRONG%3E%3CFONT%20color%3D%22%23FF0000%22%3E43106%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E%3CSTRONG%3E%3CFONT%20color%3D%22%23FF0000%22%3E1%2F7%2F2018%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FTD%3E%3CTD%3E%3CSTRONG%3E%3CFONT%20color%3D%22%23FF0000%22%3E1.35%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FTD%3E%3CTD%3E%3CSTRONG%3E%3CFONT%20color%3D%22%23FF0000%22%3E43107%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E1%2F8%2F2018%3C%2FTD%3E%3CTD%3E1.36%3C%2FTD%3E%3CTD%3E43108%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E1%2F9%2F2018%3C%2FTD%3E%3CTD%3E1.34%3C%2FTD%3E%3CTD%3E43109%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20various%20models%20to%20that%20I%20wish%20to%20use%20to%20evaluate%20the%20productivity%20data.%3C%2FP%3E%3CP%3EThanks%20for%20whatever%20help%20you%20may%20be%20able%20to%20offer.%26nbsp%3B%20It%20is%20great%20that%20there%20are%20folks%20like%20you%20willing%20to%20help.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBest%20regards%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1278626%22%20slang%3D%22en-US%22%3ERe%3A%20Expansion%20and%20interpolation%20of%20dated%20dated%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1278626%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F425987%22%20target%3D%22_blank%22%3E%40mathetes%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20the%20information.%26nbsp%3B%20I%20will%20need%20to%20study%20the%20information%20to%20try%20to%20understand.%26nbsp%3B%20It%20seems%20that%20most%20of%20the%20explanations%2Fexamples%20are%20a%20bit%20cryptic%20for%20my%20immediate%20understanding.%26nbsp%3B%20I%20have%20no%20doubt%20the%20solution%20to%20my%20problem%20is%20there%20and%20I%20appreciate%20your%20sorting%20through%20history%20to%20help%20me.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1278674%22%20slang%3D%22en-US%22%3ERe%3A%20Expansion%20and%20interpolation%20of%20dated%20dated%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1278674%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F605054%22%20target%3D%22_blank%22%3E%40Happy-Hoppy%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CEM%3EThanks%20much%20for%20your%20reply%20and%20identification%20of%20my%20attachment%20error.%26nbsp%3B%20I%20wonder%20what%20word%20document%20I%20included.%26nbsp%3B%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20go%20back%20and%20download%20the%20first%20attachment%20yourself%20from%20your%20first%20posting.%20All%20it%20was%2C%20though%2C%20was%20the%20exact%20same%20text%20that%20you%20had%20posted.%20So%20maybe%20you%20had%20drafted%20what%20you%20wanted%20to%20say%20in%20Word%20and%20then%20accidentally%20just%20posted%20that%20Word%20doc.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CEM%3EHopefully%2C%20I'm%20attaching%20the%20correct%20Excel%20sheet%20this%20time.%26nbsp%3B%20%3C%2FEM%3EYou%20did%3CEM%3E%3CBR%20%2F%3E%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CEM%3ERegarding%20your%20questions%2C%20yes%20I%20do%20need%20help%20in%20automating%20a%20process%20to%3A%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3E%3CEM%3Eexpand%2Flengthen%20the%20dated%20columns%20to%20include%20missing%20dates%2Fdata-values%20and%3C%2FEM%3E%3C%2FLI%3E%3CLI%3E%3CEM%3Eperform%2C%20and%20include%2C%20simple%20linear%20interpolations%20of%20Productivity%20data%20for%20the%20off-working%20days.%3C%2FEM%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3EI'm%20afraid%20I'm%20not%20able%20to%20help%20here--partly%20because%20it's%20still%20not%20clear%20how%20this%20fits%20into%20a%20larger%20context%20(where%20are%20those%20missing%20data%20elements%20coming%20from%2C%20for%20example)%20and%20whether%20or%20not%20it%20can%20be%20automated%20at%20all%20going%20forward.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUnless%20someone%20else%20from%20among%20the%20various%20Excel%20experts%20here%20in%20the%20%3CSTRONG%3Etechcommunity%3C%2FSTRONG%3E%20can%20help%2C%20you%20might%20be%20better%20served%20by%20finding%20somebody%20in%20your%20workplace%20who%20knows%20Excel%20AND%20your%20actual%20work%20requirements.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1296185%22%20slang%3D%22en-US%22%3ERe%3A%20Follow-up%20regarding%20interpolation%20for%20missing%20data%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1296185%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F425987%22%20target%3D%22_blank%22%3E%40mathetes%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20did%20benefit%20from%20the%20VLOOKUP%20function%20example.%26nbsp%3B%20However%2C%20my%20explanation%20about%20interpolating%20productivities%20between%20nonwork%20dates%20was%20not%20clear.%26nbsp%3B%20Because%20I%20don%E2%80%99t%20have%20any%20staff%20who%20is%20Excel-savvy%20I%20am%20offering%20another%20explanation%20to%20hopefully%20better%20explain%20what%20I%20need%20(see%20screen%20shot%20of%20spread%20sheet%20below).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20need%20a%20formula%3F%2C%20function%3F%2C%20macro%3F%20for%20column%20%E2%80%9CF%E2%80%9D%20entries%20to%20interpolate%20productivities%20for%20the%20nonwork%20dates%20that%20are%20indicated%20in%20column%20%E2%80%9CE%E2%80%9D%20with%20%E2%80%9C0.000%E2%80%9D.%26nbsp%3B%20Sometimes%20there%20are%20nonwork%20date%20spans%20from%201%20to%2014%20(or%20more)%20days%2C%20not%20just%202%20or%203%20days.%26nbsp%3B%20My%20example%20database%20has%20a%20span%20from%20Tuesday%2C%20January%202%2C%202018%20thru%20Friday%2C%20January%2031%2C%202020%20with%20about%20236%20nonwork%20dates%20requiring%20productivity%20interpolations.%26nbsp%3B%20My%20entries%20for%20column%20%E2%80%9CF%E2%80%9D%20were%20done%20by%20copying%20formulas%20for%20specific%20nonwork%20date%20spans%20%E2%80%93%20cumbersome%20and%20error%20prone.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYour%20help%20would%20be%20very%20much%20appreciated.%26nbsp%3B%20My%20spread%20sheet%20and%20this%20request%20are%20attached.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Happy-Hoppy_0-1586451580479.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F183411i4A15E84B928AC3B0%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22Happy-Hoppy_0-1586451580479.png%22%20alt%3D%22Happy-Hoppy_0-1586451580479.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1296485%22%20slang%3D%22en-US%22%3ERe%3A%20Expansion%20and%20interpolation%20of%20dated%20dated%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1296485%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F605054%22%20target%3D%22_blank%22%3E%40Happy-Hoppy%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20practice%20vlookup%20here%20too%20if%20you%20like%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgyankosh.net%2Fmsexcel%2Ffunctions%2Flookup-and-reference%2Fexcel-functions-vlookup%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgyankosh.net%2Fmsexcel%2Ffunctions%2Flookup-and-reference%2Fexcel-functions-vlookup%2F%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgyankosh.net%2Fmsexcel%2Fpractice%2Fvlookup-examples%2F%23gsc.tab%3D0%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgyankosh.net%2Fmsexcel%2Fpractice%2Fvlookup-examples%2F%23gsc.tab%3D0%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1296694%22%20slang%3D%22en-US%22%3ERe%3A%20Follow-up%20regarding%20interpolation%20for%20missing%20data%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1296694%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F605054%22%20target%3D%22_blank%22%3E%40Happy-Hoppy%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThat's%20a%20very%20tricky%20formula%20you're%20looking%20for.%20I'm%20not%20at%20all%20sure%20that%20I'm%20the%20right%20person%20to%20come%20up%20with%20the%20most%20elegant%20answer.%20And%20I%20know%20that%20I'll%20have%20to%20ponder%20it%2C%20play%20around%20with%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBecause%20of%20the%20variable%20length%20of%20numbers%20of%20days%20for%20which%20an%20intepolation%20formula%20is%20going%20to%20have%20to%20be%20developed%2C%20we%20can't%20just%20go%20with%20%22Find%20a%20blank%20row%20and%20interpolate%20between%20the%20prior%20row%20and%20the%20third%20(or%20fourth)%20row%20down%22%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Instead%2C%20it's%3C%2FP%3E%3CUL%3E%3CLI%3EFind%20a%20blank%20row%3C%2FLI%3E%3CLI%3ENote%20blank%20row%20minus%201%20%5BStartRow%5D%3C%2FLI%3E%3CLI%3EFind%20the%20next%20non-blank%20row%20%5BEndRow%5D%3C%2FLI%3E%3CLI%3EDetermine%20the%20number%2C%20then%2C%20of%20blank%20rows%20%7BEndRow-StartRow-1%5D%3D%5BN%5D%3C%2FLI%3E%3CLI%3ECraft%20a%20formula%20that%20goes%20progressively%20from%201%20to%20N%20interpolating%20between%20the%20values%20of%20StartRow%20and%20EndRow%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20I%20were%20to%20come%20up%20with%20it%2C%20I'd%20be%20looking%20into%20%3CSTRONG%3EINDEX%2C%20MATCH%2C%20ROW%2C%20INDIRECT%3C%2FSTRONG%3E...just%20for%20starters.%20But%20I'll%20bet%20there%20are%20folks%20here%20among%20%3CU%3E%3CSTRONG%3Etechcommunity%3C%2FSTRONG%3E%3C%2FU%3E%20experts%20that%20could%20do%20it%20much%20more%20directly.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1297022%22%20slang%3D%22en-US%22%3ERe%3A%20Follow-up%20regarding%20interpolation%20for%20missing%20data%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1297022%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F425987%22%20target%3D%22_blank%22%3E%40mathetes%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20responding.%26nbsp%3B%20I'll%20study%20the%20%3CSTRONG%3EINDEX%2C%20MATCH%2C%20ROW%2C%20INDIRECT%3C%2FSTRONG%3E%20functions%20and%20try%20to%20work%20it%20out.%26nbsp%3B%20I'm%20not%20confident%20I%20will.%26nbsp%3B%20I've%20struggled%20for%20a%20couple%20of%20days%20and%20have%20not%20progressed.%26nbsp%3B%20After%20I%20study%20the%20functions%20and%20try%20to%20apply%20them%2C%20and%20fail%2C%20how%20can%20I%20re-post%20my%20need%20to%20the%20techcommunity%3F%26nbsp%3B%20Is%20it%20possible%20they%20are%20monitoring%20my%20plight%20or%20do%20I%20need%20to%20take%20initiate%20another%20request%20for%20help%3F%26nbsp%3B%20As%20you%20surely%20can%20tell%2C%20I'm%20totally%20ignorant%20of%20seeking%20help.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20again.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1298239%22%20slang%3D%22en-US%22%3ERe%3A%20Follow-up%20regarding%20interpolation%20for%20missing%20data%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1298239%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F605054%22%20target%3D%22_blank%22%3E%40Happy-Hoppy%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20woke%20up%20this%20morning%20thinking%20about%20Excel's%20statistical%20functions%2C%20wondering%20if%20some%20kind%20of%20regression%20analysis%20would%20serve%20your%20purposes.%20I've%20not%20tried%20it%2C%20maybe%20only%20used%20this%20kind%20of%20thing%20once%20in%20my%20life%2C%20many%20years%20ago%2C%20but%20the%20%3CSTRONG%3ETREND%3C%2FSTRONG%3E%20function%20might%20serve%20your%20purpose.%20Here's%20a%20link%20that%20describes%20it.%20It%20can't%20hurt%20to%20try%20it.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.excelfunctions.net%2Fexcel-trend-function.html%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.excelfunctions.net%2Fexcel-trend-function.html%3C%2FA%3E%3C%2FP%3E%3CP%3EFrom%20what%20I%20read%2C%20you%20probably%20would%20just%20leave%20out%20the%20optional%20%22new%20x's%22%20because%20they're%20the%20dates%20for%20which%20the%20value%20is%20zero.%20What%20you'd%20probably%20want%20to%20do%2C%20though%2C%20is%20turn%20those%20cells%20into%20blanks%20(totally%20empty%20cells)...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20reason%20I%20thought%20of%20it%20is%20that%2C%20though%20the%20formulas%20you've%20been%20developing%20are%20very%20%22precise%22%20they%20really%20are%20attempts%20to%20just%20fill%20in%20the%20blank%20with%20what%20might%20have%20been%20%5Bby%20the%20way%2C%20you've%20never%20made%20totally%20clear%20why%20it's%20necessary%20to%20do%20that%5D....and%20though%20TREND%20might%20produce%20different%20values%20than%20your%20current%20interpolation%20formulas%2C%20it%20would%20still%20be%20doing%20so%20trying%20to%20%22normalize%22%20the%20trend%20line.....so%20would%20seem%20to%20be%20every%20bit%20as%20legitimate%20a%20way%20to%20do%20that.%20Assuming%20that%20it%20does%20indeed%20fill%20in%20those%20missing%20data%20points.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETake%20a%20look%20at%20that%20(and%20the%20other%20statistical%20functions%2C%20as%20needed).%20I've%20never%20formally%20studied%20statistics%2C%20so%20may%20be%20steering%20you%20astray%2C%20but%20it%20does%20seem%20to%20me%20that%20this%20may%20be%20more%20along%20the%20line%20of%20what%20you%20need%20than%20any%20other%20more%20detailed%2C%20but%20maybe%20no%20more%20accurate%2C%20form%20of%20calculation.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1298743%22%20slang%3D%22en-US%22%3ERe%3A%20Follow-up%20regarding%20interpolation%20for%20missing%20data%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1298743%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F605054%22%20target%3D%22_blank%22%3E%40Happy-Hoppy%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20I%20was%20able%20to%20get%20what%20appear%20to%20be%20reasonable%20results%20using%20TREND%2C%20but%20it%20did%20require%20moving%20some%20of%20your%20data%20around.%20And%20I%20only%20did%20it%20for%20maybe%2030%20days%20worth%20of%20your%20sample%20spreadsheet.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20would%20be%20possible%20to%20bring%20all%20this%20back%20together%20into%20a%20single%20database....but%20you%20need%20to%20take%20a%20look%20and%20see%20if%20this%20is%20even%20acceptable%20data.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1298832%22%20slang%3D%22en-US%22%3ERe%3A%20Follow-up%20regarding%20interpolation%20for%20missing%20data%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1298832%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F605054%22%20target%3D%22_blank%22%3E%40Happy-Hoppy%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENope%20--%20I%20managed%20to%20take%20all%20your%20blank%20dates%20and%20develop%20numbers%20using%20TREND...but%20the%20results%20are%20pretty%20clearly%20not%20what%20you%20want.%20%3CEM%3EI%20do%20think%20they're%20an%20accurate%20TREND%20line%2C%3C%2FEM%3E%20but%20because%20your%20overall%20trend%20in%20the%20productivity%20numbers%20is%20upward%20over%20the%20two%20years%20in%20questions%2C%20that%20general%20upward%20trend%20is%20what%20the%20TREND%20produced%20numbers%20show....increasing%20by%20approximately%201%2F1000th%20with%20each%20new%20entry.%20That%20is%20NOT%20an%20interpolation%2C%20however%2C%20between%20the%20last%20worked%20day%20and%20the%20next%20worked%20day.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20might%20be%20possible%20to%20use%20TREND%20on%20a%20monthly%20basis%2C%20say%20%2C%20for%20work%20days%20missed%20during%20any%20given%20month....but%20with%20over%20two%20years%20of%20data%2C%20that%20general%20trend%20is%20too%20general%20to%20be%20meaningful%20in%20the%20granularity%20of%20specific%20weekends.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ewas%20an%20interesting%20exercise%2C%20but%20didn't%20produce%20the%20outcome%20you%20wanted.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELet%20me%20add%20one%20new%20function%20to%20that%20series%20I%20gave%20you%20earlier%20as%20functions%20you%20might%20want%20to%20study%20and%20try%3A%20%3CSTRONG%3EOFFSET%3C%2FSTRONG%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnd%20you%20asked%20about%20coming%20back%20and%20posting.%20First%2C%20it's%20entirely%20possible%20that%20somebody%20far%20more%20expert%20than%20I%20might%20pick%20up%20this%20thread.%20But%20if%20not%2C%20after%20you've%20continued%20a%20few%20other%20things%20on%20your%20own%2C%20you%20might%20come%20back%20and%20start%20a%20new%20thread.%20It%20wouldn't%20be%20bad%20to%20mention%20a%20link%20to%20this%20thread%2C%20just%20to%20keep%20people%20from%20going%20down%20blind%20alleys.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1514026%22%20slang%3D%22en-US%22%3ERe%3A%20Expansion%20and%20interpolation%20of%20dated%20dated%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1514026%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F605054%22%20target%3D%22_blank%22%3E%40Happy-Hoppy%3C%2FA%3EHow%20are%20you.%20I%20do%20not%20know%20if%20you%20have%20an%20answer%20to%20your%20question%20about%20dates.%20However%2C%20I%20have%20a%20templates%20that%20will%20allow%20you%20to%20extract%20information%20from%20a%20date%20field%20automatically%20(eg.%20month%2C%20year%2C%20time%20of%20day%2C%20day%20of%20week%20etc.)%20to%20easily%20identify%20seasonal%20trends%20in%20data.....if%20that%20is%20what%20you%20mean%20by%20interpolation%20of%20date%20data%3F%20Anyway%2C%20here%20is%20a%20link%20to%20my%20VBA%20Excel%20template%3A%26nbsp%3B%3CFONT%3E%3CA%20href%3D%22https%3A%2F%2Fsellfy.com%2Fcool-number-crunching-template%2Fp%2Fh7lzy4%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsellfy.com%2Fcool-number-crunching-template%2Fp%2Fh7lzy4%2F%3C%2FA%3E%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

I have dated productivity data that I need to evaluate after the dated data columns are expanded to include all dated data, inclusively, followed by interpolation of productivity data for off working days.  I need guidance/help in automating that process.  Please see the attached Excel sheet.  Automation with macros and VBA is currently beyond my capabilities.  I am error prone doing it manually.  My hope is that there is a template or simple suggestion that I might apply.  Thanks for whatever help you may be willing to offer.

12 Replies
Highlighted

@Happy-Hoppy 

 

There was an attached word document, but not an Excel sheet. When you do upload the sheet itself, I hope it will be clear what you're asking. Your opening description makes it clear that you understand what you're to do, but it's still pretty abstract (i,e., vague) to those of us who are less closely involved.

Are you asking for

  • help in evaluating the productivity data
  • or help in expanding the dated columns to include. (etc)...
  • or help in interpolation of productivity data for off working days
  • or all of the above?

In any case, I hope those questions make clear what needs to be clarified.

 

Highlighted

@mathetes 

Thanks much for your reply and identification of my attachment error.  I wonder what word document I included.  Hopefully, I'm attaching the correct Excel sheet this time.

 

Regarding your questions, yes I do need help in automating a process to:

 

  • expand/lengthen the dated columns to include missing dates/data-values and
  • perform, and include, simple linear interpolations of Productivity data for the off-working days.

E.g.,                 Before

DateProductivityDate Value
1/2/20181.3243102.00
1/3/20181.3243103.00
1/4/20181.3243104.00
1/5/20181.3343105.00
1/8/20181.3743108.00
1/9/20181.3643109.00

After Expansion and Interpolation

DateProductivityDate Value
1/2/20181.3243102
1/3/20181.3243103
1/4/20181.3243104
1/5/20181.3343105
1/6/20181.3443106
1/7/20181.3543107
1/8/20181.3643108
1/9/20181.3443109

 

I have various models to that I wish to use to evaluate the productivity data.

Thanks for whatever help you may be able to offer.  It is great that there are folks like you willing to help.

 

Best regards,

 

 

Highlighted

@mathetes 

 

Thanks for the information.  I will need to study the information to try to understand.  It seems that most of the explanations/examples are a bit cryptic for my immediate understanding.  I have no doubt the solution to my problem is there and I appreciate your sorting through history to help me.

Highlighted

@Happy-Hoppy 

Thanks much for your reply and identification of my attachment error.  I wonder what word document I included. 

 

You can go back and download the first attachment yourself from your first posting. All it was, though, was the exact same text that you had posted. So maybe you had drafted what you wanted to say in Word and then accidentally just posted that Word doc.

 

Hopefully, I'm attaching the correct Excel sheet this time.  You did

 

Regarding your questions, yes I do need help in automating a process to:

 

  • expand/lengthen the dated columns to include missing dates/data-values and
  • perform, and include, simple linear interpolations of Productivity data for the off-working days.

I'm afraid I'm not able to help here--partly because it's still not clear how this fits into a larger context (where are those missing data elements coming from, for example) and whether or not it can be automated at all going forward.

 

Unless someone else from among the various Excel experts here in the techcommunity can help, you might be better served by finding somebody in your workplace who knows Excel AND your actual work requirements.

Highlighted

@mathetes 

I did benefit from the VLOOKUP function example.  However, my explanation about interpolating productivities between nonwork dates was not clear.  Because I don’t have any staff who is Excel-savvy I am offering another explanation to hopefully better explain what I need (see screen shot of spread sheet below).

 

I need a formula?, function?, macro? for column “F” entries to interpolate productivities for the nonwork dates that are indicated in column “E” with “0.000”.  Sometimes there are nonwork date spans from 1 to 14 (or more) days, not just 2 or 3 days.  My example database has a span from Tuesday, January 2, 2018 thru Friday, January 31, 2020 with about 236 nonwork dates requiring productivity interpolations.  My entries for column “F” were done by copying formulas for specific nonwork date spans – cumbersome and error prone.

 

Your help would be very much appreciated.  My spread sheet and this request are attached.

 

Happy-Hoppy_0-1586451580479.png

 

 

Highlighted

@Happy-Hoppy 

 

That's a very tricky formula you're looking for. I'm not at all sure that I'm the right person to come up with the most elegant answer. And I know that I'll have to ponder it, play around with it.

 

Because of the variable length of numbers of days for which an intepolation formula is going to have to be developed, we can't just go with "Find a blank row and interpolate between the prior row and the third (or fourth) row down"    Instead, it's

  • Find a blank row
  • Note blank row minus 1 [StartRow]
  • Find the next non-blank row [EndRow]
  • Determine the number, then, of blank rows {EndRow-StartRow-1]=[N]
  • Craft a formula that goes progressively from 1 to N interpolating between the values of StartRow and EndRow

 

If I were to come up with it, I'd be looking into INDEX, MATCH, ROW, INDIRECT...just for starters. But I'll bet there are folks here among techcommunity experts that could do it much more directly.

 

Highlighted

@mathetes 

Thanks for responding.  I'll study the INDEX, MATCH, ROW, INDIRECT functions and try to work it out.  I'm not confident I will.  I've struggled for a couple of days and have not progressed.  After I study the functions and try to apply them, and fail, how can I re-post my need to the techcommunity?  Is it possible they are monitoring my plight or do I need to take initiate another request for help?  As you surely can tell, I'm totally ignorant of seeking help.

 

Thanks again.

Highlighted

@Happy-Hoppy 

 

I woke up this morning thinking about Excel's statistical functions, wondering if some kind of regression analysis would serve your purposes. I've not tried it, maybe only used this kind of thing once in my life, many years ago, but the TREND function might serve your purpose. Here's a link that describes it. It can't hurt to try it.

https://www.excelfunctions.net/excel-trend-function.html

From what I read, you probably would just leave out the optional "new x's" because they're the dates for which the value is zero. What you'd probably want to do, though, is turn those cells into blanks (totally empty cells)...

 

The reason I thought of it is that, though the formulas you've been developing are very "precise" they really are attempts to just fill in the blank with what might have been [by the way, you've never made totally clear why it's necessary to do that]....and though TREND might produce different values than your current interpolation formulas, it would still be doing so trying to "normalize" the trend line.....so would seem to be every bit as legitimate a way to do that. Assuming that it does indeed fill in those missing data points.

 

Take a look at that (and the other statistical functions, as needed). I've never formally studied statistics, so may be steering you astray, but it does seem to me that this may be more along the line of what you need than any other more detailed, but maybe no more accurate, form of calculation.

Highlighted

@Happy-Hoppy 

 

So I was able to get what appear to be reasonable results using TREND, but it did require moving some of your data around. And I only did it for maybe 30 days worth of your sample spreadsheet.

 

It would be possible to bring all this back together into a single database....but you need to take a look and see if this is even acceptable data.

Highlighted
Best Response confirmed by Happy-Hoppy (Occasional Contributor)
Solution

@Happy-Hoppy 

 

Nope -- I managed to take all your blank dates and develop numbers using TREND...but the results are pretty clearly not what you want. I do think they're an accurate TREND line, but because your overall trend in the productivity numbers is upward over the two years in questions, that general upward trend is what the TREND produced numbers show....increasing by approximately 1/1000th with each new entry. That is NOT an interpolation, however, between the last worked day and the next worked day.

 

It might be possible to use TREND on a monthly basis, say , for work days missed during any given month....but with over two years of data, that general trend is too general to be meaningful in the granularity of specific weekends.

 

was an interesting exercise, but didn't produce the outcome you wanted.

 

Let me add one new function to that series I gave you earlier as functions you might want to study and try: OFFSET.

 

And you asked about coming back and posting. First, it's entirely possible that somebody far more expert than I might pick up this thread. But if not, after you've continued a few other things on your own, you might come back and start a new thread. It wouldn't be bad to mention a link to this thread, just to keep people from going down blind alleys.

Highlighted

@Happy-HoppyHow are you. I do not know if you have an answer to your question about dates. However, I have a templates that will allow you to extract information from a date field automatically (eg. month, year, time of day, day of week etc.) to easily identify seasonal trends in data.....if that is what you mean by interpolation of date data? Anyway, here is a link to my VBA Excel template: https://sellfy.com/cool-number-crunching-template/p/h7lzy4/