[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Excel Formula Alternative

Posted on 2016-09-13
8
Medium Priority
?
47 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 33

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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

This article describes a serious pitfall that can happen when deleting shapes using VBA.
New style of hardware planning for Microsoft Exchange server.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

649 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