+ Reply to Thread
Results 1 to 3 of 3

perform:IF statement

  1. #1
    Forum Contributor
    Join Date
    11-17-2009
    Location
    Kuwait
    MS-Off Ver
    Microsoft Excel for Microsoft 365
    Posts
    106

    perform:IF statement

    Hi everyone

    this is my first participation, i need help in writing IF statment for the attached file as per the condition mentioned.

    BR
    Attached Files Attached Files

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    re: Request help in IF statement

    Generally a good idea to put the expected results into your sample so people can validate their logic.

    Perhaps you mean:

    B4:
    =IF(B$1=A$1;"";(B$3-HLOOKUP(A$1;$A$1:B$3;3;0))/HLOOKUP(A$1;$A$1:B$2;2;0)%)
    copied to P4

  3. #3
    Forum Contributor
    Join Date
    11-17-2009
    Location
    Kuwait
    MS-Off Ver
    Microsoft Excel for Microsoft 365
    Posts
    106

    Wink Re: Request help in IF statement

    Quote Originally Posted by DonkeyOte View Post
    Generally a good idea to put the expected results into your sample so people can validate their logic.

    Perhaps you mean:

    B4:
    =IF(B$1=A$1;"";(B$3-HLOOKUP(A$1;$A$1:B$3;3;0))/HLOOKUP(A$1;$A$1:B$2;2;0)%)
    copied to P4
    Thanks DonkeyOte , I got the following solution from my colleague:-

    =IF(F1>E1, -(F2-HLOOKUP(E1,$1:$2,2,0))/HLOOKUP(E1,$1:$2,2,0),"")

    please tray it and advice if there is another easy solution.

+ 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