[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Excel Formula Alternative

Posted on 2016-09-13
8
Medium Priority
?
52 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 34

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 22

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
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 

Author Comment

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

Kelly
0
 
LVL 27

Accepted Solution

by:
ProfessorJimJam earned 2000 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 27

Expert Comment

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

Expert Comment

by:ProfessorJimJam
ID: 41826016
'
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

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

Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
Are you looking to start a business? Do you own and operate a small company? If so, here are some courses you need to take before you hire a full-time IT staff.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
There may be issues when you are trying to access Outlook or send & receive emails or due to Outlook crash which leads to corrupt or damaged PST file. To eliminate the corruption from your PST file, you need to repair the corrupt Outlook PST file. U…

611 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