percentages in '07 running vista

johngoat

New Member
Joined
Sep 16, 2011
Messages
2
hello & good day. i have 2 columns of stock prices. C1toC33 and D1toD33.
col C is highest price of day, col D is lowest price of the day.

from col C
todays price is higher than what % of the past x-number of days prices?
want to print daily answer to corresponding row in col H.

from col D
todays price is lower than what % of the past x-number of days prices?
want to print daily answer to corresponding row in col I.

in both cases i need to know how to adjust how many days it looks back.

ex: row 1 is today's price data. using data from C1toC10, print in cell I1.
hopefully this is clearly worded. i thank you in advance for the help.
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Hi,

You'll need to be looking at dynamic ranges for this, or use of the OFFSET function

Am I right in thinking that you only have 33 days of data?
 
Upvote 0
i now have 33 days history, but going forward i'll just be adding each new day at the
top of the column and "shift down" the rows. it is extremely tedious to enter the data.
i don't suppose there is a way to have excel find each day's data? it is important that i know how to adjust the look back period. thank you for your help, cheers
 
Upvote 0

Forum statistics

Threads
1,224,613
Messages
6,179,896
Members
452,948
Latest member
Dupuhini

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top