+ Reply to Thread
Results 1 to 9 of 9

if function

  1. #1
    Registered User
    Join Date
    04-24-2013
    Location
    usa
    MS-Off Ver
    Excel 2007
    Posts
    65

    if function

    new question if d185=c8 then e185= e8
    can anyone help

  2. #2
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,883

    Re: if function

    Put this in E185
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: if function

    Entered in E185:

    =IF(D185=C8,E8,"")
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Registered User
    Join Date
    04-24-2013
    Location
    usa
    MS-Off Ver
    Excel 2007
    Posts
    65

    Re: if function

    ok that worked what if i want if d185= one of c8 thru c18 then e185 = the same row cell but in the e column
    this is hard to explain

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: if function

    Try

    =VLOOKUP(D185,C8:E18,3,FALSE)

  6. #6
    Registered User
    Join Date
    04-24-2013
    Location
    usa
    MS-Off Ver
    Excel 2007
    Posts
    65

    Re: if function

    i think you have a typeo in there or im not sure what the 3 stands for

  7. #7
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: if function

    The 3 stands for the 3rd column of the array (C8:E18) = column E

    So it finds the match to D185 within C8:C18.
    and returns the corresponding value from the 3rd column of the array (E8:E18)

  8. #8
    Registered User
    Join Date
    04-24-2013
    Location
    usa
    MS-Off Ver
    Excel 2007
    Posts
    65

    Re: if function

    wow well then i feel like an idiot for questioning you because it totally worked thanks very much

  9. #9
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: if function

    Great, glad to help.

+ 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