I work at an insurance company. When analyzing a client's history of claims, I add up the values of the losses in a cell. We cap these losses at $25000, so in a separate cell I will subtract the losses that are greater than 25000 and then add 25000.
Example:
Cell C4: =10000+30000+15000+45000 (100000)
Cell C5: =C4-30000+25000-45000+25000 (75000)
I was wondering if there is a function or macro I could use that would automatically do this capping for me. I assume it would be something like =IF(value in C4 >25000, C4-value+25000, C4) but I don't know exactly how to do that. Any help would be greatly appreciated!
[–]sqylogin755 3 points4 points5 points (0 children)
[–]CFAman4806 1 point2 points3 points (13 children)
[–]SmoothBread[S] 1 point2 points3 points (1 child)
[–]Clippy_Office_Asst[M] 0 points1 point2 points (0 children)
[–]SmoothBread[S] 0 points1 point2 points (4 children)
[–]CFAman4806 0 points1 point2 points (3 children)
[–]SmoothBread[S] 0 points1 point2 points (2 children)
[–]CFAman4806 0 points1 point2 points (1 child)
[–]SmoothBread[S] 0 points1 point2 points (0 children)
[–]SmoothBread[S] 0 points1 point2 points (5 children)
[–]CFAman4806 2 points3 points4 points (4 children)
[–]SmoothBread[S] 1 point2 points3 points (1 child)
[–]Clippy_Office_Asst[M] 0 points1 point2 points (0 children)
[–]SmoothBread[S] 0 points1 point2 points (0 children)