Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Whats wrong with this?
=IF('M ORQ Rec'!B2=0,0,IF('M ORQ Rec'!B2=12,20,IF('M ORQ Rec'!B2=10,18,IF('M ORQ Rec'!B2=7,16,IF('M ORQ Rec'!B2<=6,15,"N"))))) I want it to display N if there is text in B2, but it always shows 20 instead. Thanks -- LucasBuck ------------------------------------------------------------------------ LucasBuck's Profile: http://www.excelforum.com/member.php...o&userid=19710 View this thread: http://www.excelforum.com/showthread...hreadid=500793 |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Whats wrong with this?
Try this:
=IF(ISTEXT(B2),"N",IF(B2=0,0,IF(B2=12,20,IF(B2=1 0,18,IF(B2=7,16,IF(B2<=6,15,0)))))) HTH JG "LucasBuck" wrote: =IF('M ORQ Rec'!B2=0,0,IF('M ORQ Rec'!B2=12,20,IF('M ORQ Rec'!B2=10,18,IF('M ORQ Rec'!B2=7,16,IF('M ORQ Rec'!B2<=6,15,"N"))))) I want it to display N if there is text in B2, but it always shows 20 instead. Thanks -- LucasBuck ------------------------------------------------------------------------ LucasBuck's Profile: http://www.excelforum.com/member.php...o&userid=19710 View this thread: http://www.excelforum.com/showthread...hreadid=500793 |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Whats wrong with this?
Thank you both very much -- LucasBuck ------------------------------------------------------------------------ LucasBuck's Profile: http://www.excelforum.com/member.php...o&userid=19710 View this thread: http://www.excelforum.com/showthread...hreadid=500793 |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Whats wrong with this?
You could rewrite your equation like this:
=if(istext('M ORQ Rec'!B2),"N",IF('M ORQ Rec'!B2=0,0,IF('M ORQ Rec'!B2=12,20,IF('M ORQ Rec'!B2=10,18,IF('M ORQ Rec'!B2=7,16,IF('M ORQ Rec'!B2<=6,15)))))) HTH, Elkar "LucasBuck" wrote: =IF('M ORQ Rec'!B2=0,0,IF('M ORQ Rec'!B2=12,20,IF('M ORQ Rec'!B2=10,18,IF('M ORQ Rec'!B2=7,16,IF('M ORQ Rec'!B2<=6,15,"N"))))) I want it to display N if there is text in B2, but it always shows 20 instead. Thanks -- LucasBuck ------------------------------------------------------------------------ LucasBuck's Profile: http://www.excelforum.com/member.php...o&userid=19710 View this thread: http://www.excelforum.com/showthread...hreadid=500793 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
hyperlink navigation path path wrong in Excel 2003 | Excel Discussion (Misc queries) | |||
Password box to remain open after wrong input | Excel Discussion (Misc queries) | |||
Wrong date on my posts. | Excel Discussion (Misc queries) | |||
What is wrong with this =AVERAGE(IF formula? | Excel Worksheet Functions | |||
What's wrong with this vb? | Excel Worksheet Functions |