Solved

Excel Formula Alternative

Posted on 2016-09-13
8
38 Views
Last Modified: 2016-10-03
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
0
Comment
Question by:kwarden13
8 Comments
 
LVL 28

Expert Comment

by:Subodh Tiwari (Neeraj)
ID: 41796762
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 Comment

by:kwarden13
ID: 41796874
800,000 rows
0
 
LVL 17

Expert Comment

by:Roy_Cox
ID: 41797304
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 Comment

by:kwarden13
ID: 41797695
Yes each row has that index formula. Any other way to write it?

Kelly
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 25

Accepted Solution

by:
ProfessorJimJam earned 500 total points (awarded by participants)
ID: 41797729
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
 

Author Comment

by:kwarden13
ID: 41797826
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
 
LVL 25

Expert Comment

by:ProfessorJimJam
ID: 41797965
You are welcome
0
 
LVL 25

Expert Comment

by:ProfessorJimJam
ID: 41826016
'
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now