Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Bill
 
Posts: n/a
Default Using the fx key to debug formulas

I'm working with the SUMPRODUCT function.

If I highlight a cell containing a SUMPRODUCT formula, & press the formula (paste
function) key 'fx', it shows me the arrays I've entered. Now, it also shows me the first
array RESULTS to the right of each formula, like
={0;0;1;0;0; ... and so on.

This is very useful. Is there a debug feature, or some way, for me to see more of the
array results?

Thanks,

Bill.


  #2   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default Using the fx key to debug formulas

Hi!

You can select the cell with the formula, then, in the formula bar use your
mouse to highlight the expressions you want to evaluate then hit function
key F9. There's a limit as to how many array elements it will display,
though. I'm not sure what that limit is but I just tried it on an array of 2
columns by 250 rows and it kicked up a message: Formula too long.

Another option if you use Excel 2002 and up.......

Select the cell with the formula.
Goto ToolsFormula AuditingEvaluate Formula.

This allows you to step through the formula exactly as Excel does. I use
this a lot. It's great for finding problems. One thing, however, at least it
happens to me, if you evaluate certain types of "complex" array formulas it
causes Excel to crash. I can crash Excel at will!

Biff

"Bill" wrote in message
...
I'm working with the SUMPRODUCT function.

If I highlight a cell containing a SUMPRODUCT formula, & press the formula
(paste
function) key 'fx', it shows me the arrays I've entered. Now, it also
shows me the first
array RESULTS to the right of each formula, like
={0;0;1;0;0; ... and so on.

This is very useful. Is there a debug feature, or some way, for me to see
more of the
array results?

Thanks,

Bill.




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formulas not recognizing new data malakingaso Excel Discussion (Misc queries) 1 February 8th 06 07:27 PM
Countif formulas change after doing a sort Bob Smith Excel Worksheet Functions 3 January 3rd 06 11:17 PM
Array Formulas take waaaay too long... belly0fdesire Excel Worksheet Functions 7 August 8th 05 10:11 PM
Problem with named formula's nathan Excel Worksheet Functions 0 January 21st 05 04:07 PM
calculating formulas for all workbooks in a folder Chad Excel Worksheet Functions 3 November 13th 04 05:22 PM


All times are GMT +1. The time now is 08:38 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"