Excell Question

Defc0n6

Member
Jul 10, 2003
188
0
0
Hi,
I am trying to program a excell document to have when calculating scores of leagues over at www.xgplanet.com. While programming it, I ran into a problem. I am using this forumla:
=IF(D2=50,4,1)
In which, if D2 is 50, it would put the answer as 4, and if not, it puts it as 1. That works, but I want to make it a tad bit more complicated. How would I make it so that it could instead of only being 50, it be something like 45-55? Answers are greatly appreciated. Thanks!!!
-Defc0n 6
 

Defc0n6

Member
Jul 10, 2003
188
0
0
Uh oh. it gets even harder . New updated question:
I need it so that instead of just: =IF(D2>=45,IF(D2<=55,4,1),1), it would be something like:
If between 90-99, then display 45.
If between 80-89, then display 40.
If between 70-79, then display 35.
 

Defc0n6

Member
Jul 10, 2003
188
0
0
I hate to ask this, since I should be able to understand how from that post, but I am still pretty confused. So, I ask this... how would I get it to basically work based on this:
100% = 50
90% - 99% = 45
80% - 89% = 40
70% - 79% = 36
60% - 69% = 32
50% - 59% = 26
40% - 49% = 22
30% - 39% = 18
20% - 29% = 15
10% - 19% = 12
01% - 09% = 10
The percent is what is found in D2. If you can't do this, its ok since you already helped me a lot. But if you could, that would be supurb. Thanks!!!
-Defc0n 6
 

AtTheGates

Senior member
Jun 11, 2003
274
0
0
Thats is a really long IF statement. Just make a table and lookup the value. Then use something like this =VLOOKUP(D2,D18:E29,2). This works because it is finding the closest thing but you could do it using the upper and lower bounds.
 

Defc0n6

Member
Jul 10, 2003
188
0
0
I get this far:
"=IF(D2>=70,IF(D2<80,35,IF(D2<90,40,IF(D2<100,45))))"
And it works, but I think I can't put any more ifs inside it. Damn
Whoa, I just realized you posted above me. Reading now...
 

Defc0n6

Member
Jul 10, 2003
188
0
0
I tried that instead of getting the IF thing to work, and it works supurb! You rock AtTheGates. If you have AIM or MSN, and could supply me with your addy, I would greatly appreciate that, because something tells me I will be asking more questions soon. Then again, working over ATOT is good also. Thanks so much man!!!
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |