# Standard Deviation uptick/downtick

✭✭✭✭✭✭
edited 04/24/24

I know standard deviation is calculated between 0 to infinity, however, I'm wondering if anybody has a method for inverting the standard deviation to negative if the deviation goes from bigger number to smaller number. In this case, 4/17/24 deviation would be -707%, as compared to 707%

I am using STDEVS(COLLECT() based on the MAX(WEEKNUMBER) and MAX(WEEKNUMBER) -1 for the deviation criteria of current week vs previous week.

Any help would be greatly appreciated.

EDIT: Disregard. I found the solution by multiplying the output of STDEVS function with an IF(MIN(COLLECT()) to determine whether 1,-1.

##### Sincerely,

Jacob Stey

• ✭✭✭✭✭✭

Hi @SteyJ

I hope you're well and safe!

Excellent! I am glad that you got it working!

I hope that helps!

Be safe, and have a fantastic week!

Best,

Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

SMARTSHEET EXPERT CONSULTANT & PARTNER

Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

• ✭✭✭✭✭✭

Hi @SteyJ

I hope you're well and safe!

Excellent! I am glad that you got it working!

I hope that helps!

Be safe, and have a fantastic week!

Best,

Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

SMARTSHEET EXPERT CONSULTANT & PARTNER

Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!