SOLVED
Home

INDEX & MATCH interrupted by Inconsistent Dates

%3CLINGO-SUB%20id%3D%22lingo-sub-1076864%22%20slang%3D%22en-US%22%3EINDEX%20%26amp%3B%20MATCH%20interrupted%20by%20Inconsistent%20Dates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1076864%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20So%20I%20have%20TWO%20Issues.%3CBR%20%2F%3E%3CBR%20%2F%3EIssue%20%231%3A%20My%20formula%20in%20columns%20F(Outbound)%2C%20G(Inbound)%2C%20and%20H(Total)%20is%20only%20working%20properly%20for%20%22Jennifer%22%20AND%20only%20up%20until%20there%20is%20a%20interruption%20of%20chronological%20order%20in%20DATE%20from%20the%20reference%20data%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F162737i9F0147BCAEEDA083%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_0.png%22%20title%3D%22clipboard_image_0.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F162738i34BA238BE092F157%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_1.png%22%20title%3D%22clipboard_image_1.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EIssue%20%232%3A%20Due%20to%20the%20reference%20data%20not%20having%20dates%20consistently%20chronologically%20listed%20as%20soon%20as%20my%20INDEX%20%26amp%3B%20MATCH%20formula%20hits%20a%20date%20not%20in%20order%20from%20the%20reference%20data%20it%20will%20%23N%2FA%3CBR%20%2F%3E%3CBR%20%2F%3EWhat%20in%20SAM%20HILL%20TARNATION%20is%20going%20on%3F!%3F!%3F!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1076864%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EBI%20%26amp%3B%20Data%20Analysis%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETraining%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1076906%22%20slang%3D%22en-US%22%3ERe%3A%20INDEX%20%26amp%3B%20MATCH%20interrupted%20by%20Inconsistent%20Dates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1076906%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F494154%22%20target%3D%22_blank%22%3E%40shade206%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20formula%20you%20use%20isn't%20correct%2C%20and%20some%20dates%20in%20column%20N%20are%20treated%20as%20text%20not%20as%20numeric%20dates.%3C%2FP%3E%3CP%3EPlease%20check%20out%20the%20fix%20in%20the%20attached%20file.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1076909%22%20slang%3D%22en-US%22%3ERe%3A%20INDEX%20%26amp%3B%20MATCH%20interrupted%20by%20Inconsistent%20Dates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1076909%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F494154%22%20target%3D%22_blank%22%3E%40shade206%3C%2FA%3EPerforming%20a%20match%20on%20two%20conditions%20like%20this%20with%20an%20agent%20and%20a%20date%20whilst%20returning%20a%20numeric%20value%20could%20be%20done%20easier%20with%20a%20SUMIFS%20such%20as%20below.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%3E%3DSUMIFS(%24O%242%3A%24O%2428%2C%24M%242%3A%24M%2428%2C%24D%246%2C%24N%242%3A%24N%2428%2CE9)%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%3EAlan%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1076910%22%20slang%3D%22en-US%22%3ERe%3A%20INDEX%20%26amp%3B%20MATCH%20interrupted%20by%20Inconsistent%20Dates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1076910%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F494154%22%20target%3D%22_blank%22%3E%40shade206%3C%2FA%3EWhat%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F35679%22%20target%3D%22_blank%22%3E%40Haytham%20Amairah%3C%2FA%3E%20mentions%20on%20some%20of%20the%20dates%20being%20text%20is%20also%20true%20and%20needs%20addressing.%3C%2FP%3E%3CP%3EMy%20formula%20will%20not%20work%20for%20Kelly%20whilst%20their%20dates%20are%20not%20recognised%20as%20one.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1076932%22%20slang%3D%22en-US%22%3ERe%3A%20INDEX%20%26amp%3B%20MATCH%20interrupted%20by%20Inconsistent%20Dates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1076932%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20for%20the%20Formula%20Fix!%3CBR%20%2F%3E%3CBR%20%2F%3EFollow-up%3A%20In%20this%20example%20i%20have%20like%2030%20rows%20of%20data%2C%20but%20in%20my%20actual%20spreadsheet%20i%20have%20around%206000...%20how%20can%20i%20fix%20ALL%20the%20dates%20to%20be%20treated%20as%20%22Date%22%20or%20Text%22%20in%20one%20swoop%20without%20selecting%20all%20changing%20their%20format%26nbsp%3Band%20than%20manually%20retyping%20date%20for%206000%20rows%3F%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F35679%22%20target%3D%22_blank%22%3E%40Haytham%20Amairah%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1076944%22%20slang%3D%22en-US%22%3ERe%3A%20INDEX%20%26amp%3B%20MATCH%20interrupted%20by%20Inconsistent%20Dates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1076944%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F494154%22%20target%3D%22_blank%22%3E%40shade206%3C%2FA%3EThe%20dates%20in%20this%20example%20were%20stored%20as%20text%20because%20they%20were%20in%20a%20MM-DD-YYYY%20and%20not%20a%20DD-MM-YYYY%20format.%3C%2FP%3E%3CP%3EThe%20easiest%20way%20to%20convert%20them%20is%20to%20select%20them%20and%20use%20Text%20to%20Column.%20The%20final%20step%20provides%20a%20option%20to%20convert%20dates%20quickly.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20507px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F162750i8BFD39ADBCB333E5%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22mdy.png%22%20title%3D%22mdy.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1076945%22%20slang%3D%22en-US%22%3ERe%3A%20INDEX%20%26amp%3B%20MATCH%20interrupted%20by%20Inconsistent%20Dates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1076945%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F494154%22%20target%3D%22_blank%22%3E%40shade206%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20see%20my%20replies%20to%20this%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FExcel%2FHelp-with-date-format%2Fm-p%2F358892%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3Epost%3C%2FA%3E.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1076957%22%20slang%3D%22en-US%22%3ERe%3A%20INDEX%20%26amp%3B%20MATCH%20interrupted%20by%20Inconsistent%20Dates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1076957%22%20slang%3D%22en-US%22%3E%3CP%3EWhat%20steps%20did%20you%20EXACTLY%20take%20to%20fix%20the%20dates%20in%20the%20sample%20i%20sent%20you%3F%3CBR%20%2F%3E%3CBR%20%2F%3EI've%20been%20told%20the%20solution%20to%20my%20dates%20problem%20before%20and%20no%20matter%20what%20I%20do%20even%20following%20yours%20and%20Allan's%20lead%20right%20now%20i'm%20unable%20to%20fix%20the%20dates%20problem%20aside%20from%20individually%20formatting%20the%20cells%20and%20than%20retyping%20in%20the%20correct%20date%20which%20is%20not%20feasible%20for%206000%20rows...%20you%20have%20the%2030%20rows%20from%20the%20sample%2C%20what%20did%20you%20to%20in%20those%2030%20rows%20as%20i%20see%20their%20Syntax%20is%20still%20the%20same%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F35679%22%20target%3D%22_blank%22%3E%40Haytham%20Amairah%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1076971%22%20slang%3D%22en-US%22%3ERe%3A%20INDEX%20%26amp%3B%20MATCH%20interrupted%20by%20Inconsistent%20Dates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1076971%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F494154%22%20target%3D%22_blank%22%3E%40shade206%3C%2FA%3EI%20have%20written%20an%20article%20here%20which%20describes%20different%20techniques%20-%26nbsp%3B%3CA%20href%3D%22http%3A%2F%2Fbit.ly%2F2Hvig1h%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CFONT%3Ehttp%3A%2F%2Fbit.ly%2F2Hvig1h%3C%2FFONT%3E%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20your%20data%2C%20I%20selected%20the%20problematic%20dates%20(MM-DD-YYYY%20ones).%20Clicked%20Data%20%26gt%3B%20Text%20to%20Columns.%20Bypassed%20the%20first%20two%20steps%20as%20insignificant.%20On%20Step%203%20I%20changed%20the%20Date%20option%20to%20M-D-Y.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1076978%22%20slang%3D%22en-US%22%3ERe%3A%20INDEX%20%26amp%3B%20MATCH%20interrupted%20by%20Inconsistent%20Dates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1076978%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20sir%2C%20that%20does%20most%20definitely%20work%20in%20the%20sample%2C%20but%20sadly%20those%20same%20steps%20will%20not%20correct%20the%20issue%20in%20my%20actual%20worksheet....%20its%20odd%20because%20i%20deliberately%20copied%20the%20dates%20from%20my%20actual%20worksheet%20into%20the%20sample...%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F166840%22%20target%3D%22_blank%22%3E%40Alan%20Murray%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1077006%22%20slang%3D%22en-US%22%3ERe%3A%20INDEX%20%26amp%3B%20MATCH%20interrupted%20by%20Inconsistent%20Dates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1077006%22%20slang%3D%22en-US%22%3EOk%2C%20we%20would%20need%20to%20know%20what%20is%20causing%20the%20text%20formatting%20to%20lead%20us%20to%20a%20solution.%20The%20problem%20in%20the%20sample%20was%20the%20mixture%20of%20D-M-Y%20and%20M-D-Y%20formats.%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20that%20is%20not%20true%20on%20the%20actual%20worksheet%2C%20then%20something%20else%20is%20causing%20it%20and%20made%20need%20a%20different%20response.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1077017%22%20slang%3D%22en-US%22%3ERe%3A%20INDEX%20%26amp%3B%20MATCH%20interrupted%20by%20Inconsistent%20Dates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1077017%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F494154%22%20target%3D%22_blank%22%3E%40shade206%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheck%20out%20this%20link%20to%20see%20how%20I%20fix%20the%20dates%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsend.firefox.com%2Fdownload%2F98dda8067df5553f%2F%23pdhegKMozYWC8ddr4XK6sg%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsend.firefox.com%2Fdownload%2F98dda8067df5553f%2F%23pdhegKMozYWC8ddr4XK6sg%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%20class%3D%22%22%3EIf%20that%20doesn't%20help%2C%20the%20reason%20may%20be%20that%20there%20are%20inconsistent%20dates%20in%20your%20complete%20data.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%20class%3D%22%22%3EIf%20you%20can%20provide%20us%20with%20a%20sufficient%20sample%20to%20see%20what%20the%20problem%20is.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1077161%22%20slang%3D%22en-US%22%3ERe%3A%20INDEX%20%26amp%3B%20MATCH%20interrupted%20by%20Inconsistent%20Dates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1077161%22%20slang%3D%22en-US%22%3E%3CP%3EHere%20is%20a%20more%20complete%20worksheet%20so%20you%20can%20see%20what%20i'm%20dealing%20with%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F35679%22%20target%3D%22_blank%22%3E%40Haytham%20Amairah%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1077178%22%20slang%3D%22en-US%22%3ERe%3A%20INDEX%20%26amp%3B%20MATCH%20interrupted%20by%20Inconsistent%20Dates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1077178%22%20slang%3D%22en-US%22%3E%3CP%3EHere%20is%20a%20more%20complete%20worksheet%20so%20you%20can%20see%20what%20i'm%20dealing%20with...%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F166840%22%20target%3D%22_blank%22%3E%40Alan%20Murray%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1077273%22%20slang%3D%22en-US%22%3ERe%3A%20INDEX%20%26amp%3B%20MATCH%20interrupted%20by%20Inconsistent%20Dates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1077273%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F494154%22%20target%3D%22_blank%22%3E%40shade206%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%20class%3D%22text-wrap%20tlid-copy-target%22%3E%3CDIV%20class%3D%22result-shield-container%20tlid-copy-target%22%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%3EThe%20dates%20have%20been%20fixed%3C%2FSPAN%3E%20with%20the%20same%20steps%20I%20showed%20you.%20%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20class%3D%22result-shield-container%20tlid-copy-target%22%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%20class%3D%22%22%3EI%20guess%20it%20didn't%20work%20on%20your%20side%20because%20your%20Windows%20date%20system%20is%20in%20%3CSTRONG%3EDD%2FMM%2FYYYY%20(UK%20format)%3C%2FSTRONG%3E%20while%20the%20dates%20are%20created%20in%20%3CSTRONG%3EMM%2FDD%2FYYYY%20(US%20format)%3C%2FSTRONG%3E.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20class%3D%22result-shield-container%20tlid-copy-target%22%3E%3CEM%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%20class%3D%22%22%3E(Please%20note%20that%20the%20default%26nbsp%3Bdates%20format%20in%20Excel%20always%20follow%20the%26nbsp%3Bdefault%26nbsp%3Bdates%20format%20in%20the%20operating%20system)%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FEM%3E%3C%2FDIV%3E%3CDIV%20class%3D%22result-shield-container%20tlid-copy-target%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22result-shield-container%20tlid-copy-target%22%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%20class%3D%22%22%3EThe%20cause%20of%20the%20problem%20is%20that%20some%20of%20them%20have%20hidden%20characters%20that%20make%20Excel%20read%20them%20as%20texts.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20class%3D%22result-shield-container%20tlid-copy-target%22%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%20class%3D%22%22%3ESo%20when%20you%20open%20the%20workbook%2C%20the%20numeric%20dates%20will%20show%20up%20as%20%3CSTRONG%3EDD%2FMM%2FYYYY%3C%2FSTRONG%3E%20whereas%20the%20text%20dates%20will%20stay%20in%20%3CSTRONG%3EMM%2FDD%2FYYYY%20%3C%2FSTRONG%3Ewhich%20make%20a%20mix%20dates.%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20class%3D%22result-shield-container%20tlid-copy-target%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22result-shield-container%20tlid-copy-target%22%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%20class%3D%22%22%3EIn%20my%20Windows%2C%20I%20have%20the%20date%20system%20in%20US%20format%2C%20therefore%20the%20solution%20works%20in%20my%20side.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20class%3D%22result-shield-container%20tlid-copy-target%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22result-shield-container%20tlid-copy-target%22%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3EFind%20the%20solution%20in%20the%20attached%20file.%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20class%3D%22result-shield-container%20tlid-copy-target%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22result-shield-container%20tlid-copy-target%22%3EHope%20that%20helps%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1077386%22%20slang%3D%22en-US%22%3ERe%3A%20INDEX%20%26amp%3B%20MATCH%20interrupted%20by%20Inconsistent%20Dates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1077386%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F494154%22%20target%3D%22_blank%22%3E%40shade206%3C%2FA%3EYes%2C%20you%20have%20some%20inconsistent%20dates.%20Some%20UK%20format%20and%20others%20in%20US.%20I%20am%20using%20a%20UK%20system%20format.%20So%20mine%20recognises%20the%20D-M-Y%20an%20stores%20anything%20else%20as%20text.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20the%20attached%20file%2C%20I%20used%20a%20formula%20in%20the%20last%20column%20to%20check%20if%20the%20date%20was%20seen%20as%20numeric%20or%20text.%20Then%20I%20filtered%20the%20list%20t%20only%20show%20the%20non-numerics.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThen%20I%20selected%20those%2C%20used%20Go%20To%20Special%20to%20be%20sure%20that%20visible%20cells%20only%20was%20selected.%20And%20did%20the%20Text%20to%20Columns%20approach%20mention%20on%20previous%20replies.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20have%20some%20dates%20that%20do%20not%20appear%20in%20the%20source%20producing%20%23N%2FA%20errors.%20You%20can%20use%20the%20IFNA%20or%20IFERROR%20formula%20to%20replace%20these%20with%20something%20more%20useful.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20hope%20this%20helps.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1078832%22%20slang%3D%22en-US%22%3ERe%3A%20INDEX%20%26amp%3B%20MATCH%20interrupted%20by%20Inconsistent%20Dates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1078832%22%20slang%3D%22en-US%22%3EThank%20you%20SO%20MUCH!%20its%20now%20working%20as%20needed!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1078838%22%20slang%3D%22en-US%22%3ERe%3A%20INDEX%20%26amp%3B%20MATCH%20interrupted%20by%20Inconsistent%20Dates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1078838%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20SO%20MUCH!%20its%20now%20working%20as%20needed!%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F166840%22%20target%3D%22_blank%22%3E%40Alan%20Murray%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1079034%22%20slang%3D%22en-US%22%3ERe%3A%20INDEX%20%26amp%3B%20MATCH%20interrupted%20by%20Inconsistent%20Dates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1079034%22%20slang%3D%22en-US%22%3EExcellent!%3C%2FLINGO-BODY%3E
Highlighted
shade206
Contributor

Hello So I have TWO Issues.

Issue #1: My formula in columns F(Outbound), G(Inbound), and H(Total) is only working properly for "Jennifer" AND only up until there is a interruption of chronological order in DATE from the reference data 

clipboard_image_0.png

clipboard_image_1.png


Issue #2: Due to the reference data not having dates consistently chronologically listed as soon as my INDEX & MATCH formula hits a date not in order from the reference data it will #N/A

What in SAM HILL TARNATION is going on?!?!?!

18 Replies
Highlighted
Solution

@shade206

 

Hi,

 

The formula you use isn't correct, and some dates in column N are treated as text not as numeric dates.

Please check out the fix in the attached file.

 

Regards

Highlighted

@shade206Performing a match on two conditions like this with an agent and a date whilst returning a numeric value could be done easier with a SUMIFS such as below.

 

=SUMIFS($O$2:$O$28,$M$2:$M$28,$D$6,$N$2:$N$28,E9)

 

Alan

Highlighted

@shade206What @Haytham Amairah mentions on some of the dates being text is also true and needs addressing.

My formula will not work for Kelly whilst their dates are not recognised as one.

Highlighted

Thank you for the Formula Fix!

Follow-up: In this example i have like 30 rows of data, but in my actual spreadsheet i have around 6000... how can i fix ALL the dates to be treated as "Date" or Text" in one swoop without selecting all changing their format and than manually retyping date for 6000 rows? @Haytham Amairah 

Highlighted

@shade206The dates in this example were stored as text because they were in a MM-DD-YYYY and not a DD-MM-YYYY format.

The easiest way to convert them is to select them and use Text to Column. The final step provides a option to convert dates quickly.

mdy.png

Highlighted

@shade206

 

Please see my replies to this post.

Highlighted

What steps did you EXACTLY take to fix the dates in the sample i sent you?

I've been told the solution to my dates problem before and no matter what I do even following yours and Allan's lead right now i'm unable to fix the dates problem aside from individually formatting the cells and than retyping in the correct date which is not feasible for 6000 rows... you have the 30 rows from the sample, what did you to in those 30 rows as i see their Syntax is still the same @Haytham Amairah 

Highlighted

@shade206I have written an article here which describes different techniques - http://bit.ly/2Hvig1h

 

For your data, I selected the problematic dates (MM-DD-YYYY ones). Clicked Data > Text to Columns. Bypassed the first two steps as insignificant. On Step 3 I changed the Date option to M-D-Y.

Highlighted

Thank you sir, that does most definitely work in the sample, but sadly those same steps will not correct the issue in my actual worksheet.... its odd because i deliberately copied the dates from my actual worksheet into the sample... @Alan Murray 

Highlighted
Ok, we would need to know what is causing the text formatting to lead us to a solution. The problem in the sample was the mixture of D-M-Y and M-D-Y formats.

If that is not true on the actual worksheet, then something else is causing it and made need a different response.
Highlighted

@shade206

 

Check out this link to see how I fix the dates:

https://send.firefox.com/download/98dda8067df5553f/#pdhegKMozYWC8ddr4XK6sg

 

If that doesn't help, the reason may be that there are inconsistent dates in your complete data.

If you can provide us with a sufficient sample to see what the problem is.

Highlighted

Here is a more complete worksheet so you can see what i'm dealing with  @Haytham Amairah 

Highlighted

Here is a more complete worksheet so you can see what i'm dealing with... @Alan Murray 

Highlighted

@shade206

 

Hi,

 

The dates have been fixed with the same steps I showed you.
I guess it didn't work on your side because your Windows date system is in DD/MM/YYYY (UK format) while the dates are created in MM/DD/YYYY (US format).
(Please note that the default dates format in Excel always follow the default dates format in the operating system)
 
The cause of the problem is that some of them have hidden characters that make Excel read them as texts.
So when you open the workbook, the numeric dates will show up as DD/MM/YYYY whereas the text dates will stay in MM/DD/YYYY which make a mix dates.
 
In my Windows, I have the date system in US format, therefore the solution works in my side.
 
Find the solution in the attached file.
 
Hope that helps
Highlighted

@shade206Yes, you have some inconsistent dates. Some UK format and others in US. I am using a UK system format. So mine recognises the D-M-Y an stores anything else as text.

 

In the attached file, I used a formula in the last column to check if the date was seen as numeric or text. Then I filtered the list t only show the non-numerics.

 

Then I selected those, used Go To Special to be sure that visible cells only was selected. And did the Text to Columns approach mention on previous replies.

 

You have some dates that do not appear in the source producing #N/A errors. You can use the IFNA or IFERROR formula to replace these with something more useful.

 

I hope this helps.

 

Alan

Highlighted
Thank you SO MUCH! its now working as needed!
Highlighted

Thank you SO MUCH! its now working as needed!@Alan Murray 

Highlighted
Related Conversations
Date filtering of Bing Searches
PhilipE3 in Discussions on
2 Replies
Setting Date in Stored Procedure
Tim Hunter in SQL Server on
1 Replies
Matching Excel cells by column
ddelise in Excel on
3 Replies
Date Calculator / Seasonal rates
Brian Thornton in Excel on
2 Replies