Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Wazza
 
Posts: n/a
Default Help with IF calculation


here is the formual but I keep getting an error can anybody help me
pleassssse! Thanks!


=if(j12<3,"",IF(J12=3,"0.52",If(j12=4,"0.62",If(j1 2=5,"0.67",If(j12=6,"0.72",if(j12=7,"075",if(j12=8 ,"0.78",if(j12=9,"0.81",IF(j12=10,"0.83",IF(j12= 15,"0.90",if(j12=20,"0.95")))))))))))


--
Wazza
------------------------------------------------------------------------
Wazza's Profile: http://www.excelforum.com/member.php...o&userid=16225
View this thread: http://www.excelforum.com/showthread...hreadid=278202

  #2   Report Post  
duane
 
Posts: n/a
Default


i suspect you have too many nested ifs. try doing it with a vlookup
table


2 ""
3 ".52"


etc


--
duane


------------------------------------------------------------------------
duane's Profile: http://www.excelforum.com/member.php...o&userid=11624
View this thread: http://www.excelforum.com/showthread...hreadid=278202

  #3   Report Post  
JulieD
 
Posts: n/a
Default

Hi

you're only "allowed" to nest seven other IFs in the False section of the
first IF and you've got 10 :)

and BTW there's a couple of other problems too
J12=15 , needs to be j12=15 ... but it will never get here .. .as the
previous statement j12=10 will "capture" anything over 10. (same for the
j12=20 bit)
and by putting your values in " " you've made them text (e.g. "0.52").

you've basically two of your options are , you could create a separate list
(say in G1:H11) like
Value Result
3 0.52
4 0.62
5 0.67
6 0.72
7 0.75 'i'm assuming
8 0.78
9 0.81
10 0.83
15 0.90
20 0.95

and use a formula like
=IF(J12<3,"",VLOOKUP(J12,$G$1:$H$11,2))

OR you could embed the VLOOKUP table in the formula, e.g.
=IF(J12<3,"",VLOOKUP(J12,{3,0.52;4,0.62;5,0.67;6,0 .72;7,0.75;8,0.78;9,0.81;10,0.83;15,0.9;20,0.95},2 ))

Hope this helps
Cheers
JulieD


"Wazza" wrote in message
...

here is the formual but I keep getting an error can anybody help me
pleassssse! Thanks!


=if(j12<3,"",IF(J12=3,"0.52",If(j12=4,"0.62",If(j1 2=5,"0.67",If(j12=6,"0.72",if(j12=7,"075",if(j12=8 ,"0.78",if(j12=9,"0.81",IF(j12=10,"0.83",IF(j12= 15,"0.90",if(j12=20,"0.95")))))))))))


--
Wazza
------------------------------------------------------------------------
Wazza's Profile:
http://www.excelforum.com/member.php...o&userid=16225
View this thread: http://www.excelforum.com/showthread...hreadid=278202



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
How do I use a check box to accept a calculation Joejoethecrackman Excel Discussion (Misc queries) 5 March 22nd 05 08:47 PM
Auto Calculation Automatically Turns Off???? Jeff K. Excel Discussion (Misc queries) 2 December 15th 04 01:39 AM
Help on automatically ending a calculation Jim Excel Worksheet Functions 0 November 11th 04 09:42 PM
time-clock calculation dokliver Excel Worksheet Functions 3 October 28th 04 09:07 PM
how do I get a calculation to repeat various number of times? weelittlekim Excel Worksheet Functions 1 October 27th 04 08:13 PM


All times are GMT +1. The time now is 04:53 PM.

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"