Excel day by day

I want to compare changes in metric value by day. I have a formula but is there a better formula – like the formula that handles the situation of the red cell – where there is no previous date. . What should I do? Please help me with rewriting this formula that a better one for this type of date by date comparison
Thanks


see attched for the red cell...
day-by-day-formula.xlsx
RayneAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

RayneAuthor Commented:
so need a a more robust formula for this type of date by date comparison if possible
0
tel2Commented:
Hi Rayne,

Questions:
  Q1. What Change value would you like to show in the red cell?  0%?

  Q2. Does the formula also have to be able to cater for Metric Values = 0, which would currently give a #DIV/0 error in the Change field?

  Q3. If so, what value should it put in the Change field?

  Q4. What other things would you like the formula to be able to cater for, and what Change values would you like to show in those cases?
0
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
Hello,

try in cell D2

=IF(ISNUMBER(C1),(C2-C1)/C1,NA())

and copy down. In D2 you will get an #N/A error, which is ignored by the chart. A 0 or an empty string "" instead of the NA() would cause a data point to be plotted at value 0.

cheers, teylyn
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RayneAuthor Commented:
thank you
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.