Hi, can someone help me with this formula for the percent change for the daily open vs the daily close for a stock
For example, using the formula =(B2-D4)/B2 where B2 equals 16 and D4 equals 15.
Open was $16 (B2) and close was $15 (D4) so this equals -6.25% when using the above formula, which is fine.
Then if I change B2 to 15 and D4 to 16 and use the formula I get -6.7% when it should be a positive 6.7%. How can I make it so it would show as positive?
If B2 is greater than D4 than the formula should spit out a negative value (IE 16-15/16 would equal -6.25%)
If B2 is less than D4 than the formula should spit out a positive value (IE 15-16/15 would equal 6.67%)
Your help is appreciated. Thanks
Bookmarks