Solved

Excel Formula Alternative

Posted on 2016-09-13
8
41 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 30

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 18

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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

Author Comment

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

Kelly
0
 
LVL 26

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 26

Expert Comment

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

Expert Comment

by:ProfessorJimJam
ID: 41826016
'
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Outlook Free & Paid Tools
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

840 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