Forum Discussion
Queen_Bee
Apr 09, 2022Copper Contributor
Subtraction Help
I'm looking for a formula to return certain values when using excel. For instance: Cell A1 would be 531 Cell B2 would be 185 I want to subtract but I want it to return 454 as the answer. So it wo...
- Apr 09, 2022
If you're certain the two numbers have the same number of digits, a slightly shorter version:
=CONCAT(ABS(MID(A1,SEQUENCE(LEN(A1)),1)-MID(B2,SEQUENCE(LEN(A1)),1)))
SergeiBaklan
Apr 09, 2022Diamond Contributor
With double dash in front...
HansVogelaar
Apr 09, 2022MVP
OK, yes!