TLDR: How do I normalize a column to itself?
See attached. I have:
- Column A = 0,1,2,3. Maybe think of this as like an ID number
- Column B. Think of this as a timestamp
- Column C. This is the data
Now I want column D to have the data in Column C, ONLY when B=1.
As you can see in the attached file, I have manually copy-pasted the yellow cells from C into D. Pasted over and over.

Therefore when I do D/C, I'm basically normalizing the whole of column C, to these special yellow values. This is the reason I'm doing all this, is to find D/C. So a value of 0.9 in this column means C is lower than the yellow C's, and 1.1 means it's higher than the yellow C's.
So, long story short, what is the formula that goes in D, to be able to get the yellow values?