+ Reply to Thread
Results 1 to 3 of 3

Urgent help needed

  1. #1
    Registered User
    Join Date
    03-09-2005
    Posts
    2

    Urgent help needed

    Hi, I am new to this excel work and I want to implement the following condition in the excel...but it is not working...can anyone help me ?

    if (a2=180) then a2=0,
    if (a2>180) & (a2 <=270)=180-a2;
    if (a2 > 270)&(a2 <360)=270-a2

    waiting for ur replies

    Thanks in advance

    senthil

  2. #2
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474
    Try the following...

    =IF(A2=180,0,IF((A2>180)*(A2<=270),180-A2,IF((A2>270)*(A2<360),270-A2,"")))

    ...or do you mean...

    =IF(A2=180,0,IF((A2>180)*(A2<=270),A2-180,IF((A2>270)*(A2<360),A2-270,"")))

    Hope this helps!

  3. #3
    Registered User
    Join Date
    03-09-2005
    Posts
    2
    Hi Thanks a lot and it works
    take care
    bye
    senthil

+ 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