+ Reply to Thread
Results 1 to 4 of 4

Whats wrong with this?

  1. #1
    Registered User
    Join Date
    02-09-2005
    Posts
    22

    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

  2. #2
    pinmaster
    Guest

    RE: Whats wrong with this?

    Try this:

    =IF(ISTEXT(B2),"N",IF(B2=0,0,IF(B2>=12,20,IF(B2>=10,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. #3
    Elkar
    Guest

    RE: 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
    >
    >


  4. #4
    Registered User
    Join Date
    02-09-2005
    Posts
    22
    Thank you both very much

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1