+ Reply to Thread
Results 1 to 9 of 9

IF Statement

  1. #1
    Registered User
    Join Date
    02-05-2008
    Posts
    17

    IF Statement

    Hi All,

    I am trying to write a IF statement here but not sure where to go...

    Here is my statement: =IF(G3=Orders!E11,Orders!D11)

    How Do I made this statement work so the G3 does not change as I run this formula down the column?

    I have two worksheets in a workbook...
    Last edited by Excel Newbie05; 03-19-2008 at 12:05 PM.

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,440
    Hi,

    Make it absolute...

    =IF($G$3=Orders!E11,Orders!D11)
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Registered User
    Join Date
    02-05-2008
    Posts
    17
    Thanks works perfect!

  4. #4
    Registered User
    Join Date
    02-05-2008
    Posts
    17
    If I wanted to add an OR to my statement above how would I do that?

    Currently I have =IF($I$2=Orders!E10,Orders!D10,"Please Check Date")
    I would also like to say OR IF(Orders!D10 = "0","Complete!")


    Thanks!

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    can you say, in words, what the whole formula should be?
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  6. #6
    Registered User
    Join Date
    02-05-2008
    Posts
    17
    Yes I want to say:

    If value in Column E2 (worksheet 2) matches value in Column E10 (Worksheet 1) then return value in column D10 (Worksheet 1) into cell E4 (Worksheet 2)

    OR if value in column D10 (Worksheet 1) is equal to "0" Return "Complete" in cell E4 (worksheet 2).

    Hope this isnt too confusing!

    Thanks!

  7. #7
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Perhaps you want:

    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    02-05-2008
    Posts
    17
    Hi,

    I have another IF statement question...

    I have data in column D and E. What i want to do is....

    =IF(D42 = "WSMQ" & E42 = "NWQGLV",0,1)

    Basically that means: If the value in column D = "WSMQ" AND the value in column E = "NWQGLV", then return 0 if true or 1 if false..

    My current IF statement is not working...

    thanks!

  9. #9
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    =if(and(d42 = "wsmq" ,e42 = "nwqglv"),0,1)

+ 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