I have Windows 10 with Office 365. I moved the columns so there all in the same sheet to see if that was the problem. The simplified formula is =STDEV(IF($R$5:$R$2892=T3,$Q$5:$Q$2892))
My spreadsheet looks like this
[TABLE="width: 257"]
<colgroup><col width="143" style="width: 107pt; mso-width-source: userset; mso-width-alt: 5229;"> <col width="64" style="width: 48pt;"> <col width="72" style="width: 54pt; mso-width-source: userset; mso-width-alt: 2633;"> <col width="64" style="width: 48pt;"> <tbody>[TR]
[TD="width: 143, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"]Date[/TD]
[TD="width: 64, bgcolor: transparent"]stdev[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent, align: right"]4/1/2019[/TD]
[TD="bgcolor: transparent, align: center"]#VALUE![/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Date[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent, align: right"]4/2/2019[/TD]
[TD="bgcolor: transparent, align: center"]#VALUE![/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]4/1/2019[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent, align: right"]4/3/2019[/TD]
[TD="bgcolor: transparent, align: center"]#DIV/0![/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]4/1/2019[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent, align: right"]4/4/2019[/TD]
[TD="bgcolor: transparent, align: center"]#DIV/0![/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]4/2/2019[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent, align: right"]4/5/2019[/TD]
[TD="bgcolor: transparent, align: center"]#DIV/0![/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]4/2/2019[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent, align: right"]4/6/2019[/TD]
[TD="bgcolor: transparent, align: center"]#DIV/0![/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]4/2/2019[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent, align: right"]4/7/2019[/TD]
[TD="bgcolor: transparent, align: center"]#DIV/0![/TD]
[/TR]
</tbody>[/TABLE]
.