Originally Posted By: Kruncher
I wouldn't worry too much about a few thousand VLOOKUPS, especially when the workbook recalcs in under a minute.

I once inherited a workbook with hundreds of thousands of VLOOKUPS that took over 40 minutes to recalculate. Not a typo. Minutes. I got it down to about 40 seconds by converting the approach. It took a couple of hours to change the approach.

Maybe it's just me, but I prefer to simplify the logic when building IF formulas, breaking out the calculation type work into separate cells, and then referencing those cells in the IF. Not only does it make it easier to review (and build) ALL of the formulas in the sheet, but because of how Excel recalculates it often helps to improve recalculation performance. See the comments on volatile functions. I've seen references that say that the INDEX function is not volatile, despite what some MS documentation says. My results back that up.

And no, I don't know of any better options for the IF and the Boolean functions. So long as you understand what you're building, you won't get surprises using those.

I'm self-taught too. You're definitely on the right track and are asking the right questions. Keep it up! grin


Once again many thanks...

If I'm not taking advantage ..... but I prefer to simplify the logic when building IF formulas, breaking out the calculation type work into separate cells, and then referencing those cells in the IF.

If I understand, your talking about performing the base calculations in there own cells and then "IF" them all in the same IF calculation?

For this particular workbook (and a few others), I have to keep all data for each "record" on one row (I'm printing the calculated results of the user's input options choices to a form/report using an excel mail merge) and I'd run out of columns breaking out all the individual If's/options.

But I wouldn't mind an example of "simplifying the logic when building IF formulas, breaking out the calculation type work into separate cells, and then referencing those cells in the IF", from one of my formulas or something you have available, if time allows.

Once again, if I'm not taking advantage.

Thanks

Jeff


Fronts/Wides:M22s in/on
Center:VP150/VP100 in/on
Hghts,SS,SR:QS8s
Sub:EP500
AVR:Onkyo 3008