Hello, a common math formula our group uses in day to day work is calculating a range of data, I know I can simply say in my output cell '=Max(cell1:Cell nth)-Min(Cell1:Cell nth)' and get the results we need but hey lets be honest, were lazy and would not mind a math function to do it for us. unless its called something else in excel terms then I feel silly. so I want to set up a custom function called "RBAR" to apply to a dynamic range of cells (meaning 1 or 2 ctrl click cells and\or drag field of cells) and come out with the same max and min value, it will ofcorse always be a regular number, never dates or anything. any help would be appreciated! ive read on how to make excel spreadsheets with macros to be saved as add ins so If I can create a blank worksheet with this macro I can have all our PCs linked with it.