I want: IF Sum A is > Sum B then return B/A-1 but if Sum B > Sum A then then return A/B-1. I do not know what formula to put in.
I want: IF Sum A is > Sum B then return B/A-1 but if Sum B > Sum A then then return A/B-1. I do not know what formula to put in.
Does Sum A mean sum of a range of cells, and Sum B is for a different range?
Pete
Yes that is correct.
Also, is that
(B/A)-1
or
B/(A-1)
There's a big difference.
=if(A>B,B/(A-1),A/(B-1)
(B/A)-1 is correct.
Try
=MIN(A/B,B/A)-1
This worked: =if(A>B,B/(A-1),A/(B-1) Thanks!
That contradicts what you said in post #6, and you should have another bracket at the end.
Pete
My apologies.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks