English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have been researching stuff on the internet, namely VB code among other things, but I am not sure which would be the easiest way to go about doing this. I have very limited experience with VB (decent knowledge of C++) and don't really know how to implement the code into the excel file. If someone could help me, it would be greatly appreciated. Thanks

2007-02-14 09:29:36 · 5 answers · asked by shawleigh17 2 in Computers & Internet Programming & Design

5 answers

hmm..tricky to answer with out knowing what the if statement entails..maybe using a select case statement might be better, but again..knowing what is required would help.
Can you clarify this some more.

2007-02-14 10:20:51 · answer #1 · answered by EddieS 2 · 0 0

Create a user defined function (UDF) in excel. This way you would run into characters limits than if you do it in the cell itself.
Download smart indenter so it indent for you properly.
Since you know C++, try not to do nested as it is hard to read.
Use case or elseifs constructs.
The only problem with UDFs is the slow calculation. You may have to force calculates to get the right answers if you have lots of UDFs.

Another alternative is to explore the use of vlookups functions. Probably you'll only need this.

2007-02-15 17:30:58 · answer #2 · answered by unnga 6 · 0 0

It is not clear what you are referring to when you say "35."

An Excel formula can have a maximum of 1024 characters.

The maximum nested levels within an IF statement, or any other function(s), is 7. If you think you need 35 nested levels, there may be another way to get the result you want.

Please post additional details, if this hasn't answered your question.

2007-02-14 10:59:11 · answer #3 · answered by Joliet Jake 3 · 1 0

Ah, the twisted common sense of activities information. For the sub to get the sparkling sheet no longer regularly looks honest, exceptionally if he performed in trouble-free terms a constrained nunber of minutes. It strikes me that with a view to get the credit for the shutout, the keeper needs to play a particular minimum time (60 minutes looks life like). evaluate baseball stats: with the intention to be credited with a win, a starting up pitcher ought to play a minimum of 5 (of 9) innings and be optimum at the same time as replaced. A sub coming in to close the game receives credited with a "keep", so both pitchers come away with some thing. except "keep" will be a confusing call for a goalkeeping stat.

2016-12-04 04:39:05 · answer #4 · answered by Anonymous · 0 0

When I get a very long If statement that can get confusing, I write small portions of the Final result in seperate cells. Get each portion of the final product working on it's own. When you get the proper results from each portion, then type it all out together in 1 cell.

2007-02-14 10:34:42 · answer #5 · answered by emcentee 3 · 0 0

fedest.com, questions and answers