Forum Discussion
debbienz
Aug 29, 2019Copper Contributor
Help adding on to an iferror calculation
Forgive my lack of Excel understanding, but I need help. I have a client who wants to see the change in sales from one month to the next. Often, one month will be blank. The client wants when ther...
nabilmourad
Aug 29, 2019MVP
Hi
If I understand properly, here is a solution for you with a sample file
I used this formula in Cell C1
=IF(AND(A1<>"",B1=""),1,IF(AND(A1="",B1=""),0,(A1-B1)/B1))
there are 3 situation
- both columns A & B have values
- A has value, B doesn't
- B has value , A doesn't
Hope that helps
Nabil Mourad
debbienz
Aug 29, 2019Copper Contributor