Avatar of NAB015
NAB015
Flag for United States of America asked on

Excel formula

Hello experts,

The formula is pretty simple

(Number of 'days' since the highest  value - Number of days since the lowest value/ The number of days being examined)

I am thinking of something like:

=(count(offset(A1,0,index(match(max(range))),0)-....)/count(range)

I haven't got anything to work quiet right.

Thanks for the help!

NAB
Microsoft Excel

Avatar of undefined
Last Comment
dlmille

8/22/2022 - Mon
Ingeborg Hawighorst (Microsoft MVP / EE MVE)

Hello,

any chance you could post a workbook, so we can see how your data is laid out? Is "Highest value" the most recent date? Is your  data arranged in columns (seeing that you use a column offset).

cheers, teylyn
ASKER CERTIFIED SOLUTION
dlmille

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
NAB015

ASKER
Sorry for the slow reply. I was working off your sheet when I got the formula working. I was messing up the index(match deal.

Thanks for the help! I got it working.
dlmille

Tell me how I could have gotten a better rathing than "good" given I didn't have your dataset and don't read minds.

:)

Dave
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck