Excel Formula Alternative

I have the following Excel formula, however, it is taking hours to calculate. Is there any alternative?

=IFERROR(INDEX(\$J\$3:\$J\$27,MATCH(1,INDEX((G\$3:G\$18=C8)*(H\$3:H\$18<=B8)*(I\$3:I\$18>=B8),),FALSE)),0)

Thank you-
Kelly
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

Excel & VBA ExpertCommented:
There is nothing in this formula which would take hours to calculate.
Are you having too many formulas on the sheet?
How many rows of data you are having on the sheet?
What is the size of your file?
0
Author Commented:
800,000 rows
0
Group Finance ManagerCommented:
I would think that the amount of data is the problem. If each row contains formulas then they are all having to calculate.
0
Author Commented:
Yes each row has that index formula. Any other way to write it?

Kelly
0
Microsoft Excel ExpertCommented:
according to your formula. it is only few rows and it should not take more. the problem could be if you are using the whole column in the reference.

my preference is that you convert your ranges to Excel tables which has the feature of dynamic range nature and i would use =LOOKUP(2,1/(G\$3:G\$18=C8)/(H\$3:H\$18<=B8)/(I\$3:I\$18>=B8),\$J\$3:\$J\$270)  formula instead of the index and index and match.
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.

Author Commented:
That was just a sample. The actual formula is 800000 rows. I will try the above and get back to you. Thank you for the suggestion!
0
Microsoft Excel ExpertCommented:
You are welcome
0
Microsoft Excel ExpertCommented:
'
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.