Solved

#Num! error

Posted on 2013-12-17
10
318 Views
Last Modified: 2014-01-29
I have a #Num! error on my code on the stats page... i cant figure out why though.

Attached is the spread sheet.

Sheet "Stats"gets its information from the "Result" page
J.P.B.S2.xlsm
0
Comment
Question by:runnerjp2005
  • 5
  • 3
10 Comments
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39723746
That is probably because the result in E2 is zero. And that is because there is no 1 in column N of result sheet and there is no value to find the maximum in column O of result sheet.
0
 

Author Comment

by:runnerjp2005
ID: 39723762
Hi i have fixed 90% of it but they have random parts where its #Num


E.G
Push Me (IRE)      7341804      #NUM!      114
Should be
Push Me (IRE)      7341804      13/2      114
J.P.B.S2.xlsm
0
 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 500 total points
ID: 39723829
The way I see it you have it all wrong

Push Me (IRE) is not 114 it is 109.5 on the results sheet.
Queen Of Epirus should have been 114

All the other formulas are also giving values not concurrent with the results sheet.

Can you tell me what you expect to see for block 1?
There are two 114's. What next?
0
 

Author Comment

by:runnerjp2005
ID: 39723986
im supposed to see what your explaining... the result sheet is fine but im trying to pull the data from results onto he Stats page... it seems to be pulling odd results
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39724015
I think I have found the problem. Use these formulas in columns B, C and D

=IF(E2="","",INDEX(Result!D$1:D$500,SMALL(IF(Result!O$1:O$500=E2,IF(Result!N$1:N$500=A2,ROW(Result!D$1:D$500)-ROW(Result!$K$1)+1)),COUNTIFS(A$2:A2,A2,E$2:E2,E2))))

=IF(E2="","",INDEX(Result!B$1:B$500,SMALL(IF(Result!O$1:O$500=E2,IF(Result!N$1:N$500=A2,ROW(Result!B$1:B$500)-ROW(Result!$K$1)+1)),COUNTIFS(A$2:A2,A2,E$2:E2,E2))))

=IF(E2="","",INDEX(Result!K$1:K$500,SMALL(IF(Result!O$1:O$500=E2,IF(Result!N$1:N$500=A2,ROW(Result!K$1:K$500)-ROW(Result!$K$1)+1)),COUNTIFS(A$2:A2,A2,E$2:E2,E2))))

And also make sure that there is no error value in column O on result sheet.
0
 

Author Comment

by:runnerjp2005
ID: 39726438
I tried the above and it didnt work... i have also tried altering it alittle and just get #Value! now...please see attached
J.P.B.S2.xlsm
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39726457
You did not pay attention to my last statement.

The column O on result sheet contains a value error at the bottom. You should get rid of it.
0
 
LVL 45

Expert Comment

by:Martin Liss
ID: 39811053
I've requested that this question be deleted for the following reason:

Not enough information to confirm an answer.
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39811054
There is an answer. The file contains an error value as indicated. Once that error is removed the formula works just fine.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Over the years I have built up my own little library of code snippets that I refer to when programming or writing a script.  Many of these have come from the web or adaptations from snippets I find on the Web.  Periodically I add to them when I come…
Not long ago I saw a question in the VB Script forum that I thought would not take much time. You can read that question (Question ID  (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_28455246.html)28455246) Here (http…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now