I have two questions.
1. What does #NUM! mean when it appears in a cell?
2. How can I get rid of it or hide it so when it doesn't print?
Your help is much appreciated.
I have two questions.
1. What does #NUM! mean when it appears in a cell?
2. How can I get rid of it or hide it so when it doesn't print?
Your help is much appreciated.
Last edited by MikeNZ; 08-11-2009 at 03:59 PM.
According to excel this occurs when...
What is your formula and what data is it referencing?Occurs with invalid numeric values in a formula or function.
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Thanks for the quick reply. The formula is:
=IF(ROWS($C$23:C23)<=$M$4,INDEX(Main!$C$65:$C$84,SMALL(IF(Main!$M$65:$M$84="A",ROW(Main!$C$65:$C$84)-ROW(Main!$C$65)+1),ROWS($C$23:C23))),"")
It is on sheet 2 of two sheets.
This is an array formula and must be confirmed with CTRL+SHIFT+ENTER keys at once, to get { } brackets to appear around them... did you do that, then copy down?
Yes. Copied down to five rows.
Maybe posting a workbook might help resolve more quickly.
Is there a way to format the cell to hide it? I know I've done it when #N/A is shown by formatting the text to be the same as the fill colour.
Getting that error with that formula means something is off....
What formula do you have in M4 and is it giving the correct result...
Are your values in Main!$M$65:$M$84 matching with result in M4...
You will as NBVC says get #NUM error if M4 > number of matches of A in M65:M84 and the row in which the formula resides references a SMALL k value > no. of instances of A.
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
Have just checked the formula in M4 and that was the problem. After a quick tweak all is working perfectly.
Thanks for your replies and help, it is much appreciated.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks