Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: Shortening this if/Vlookup formula

  1. #1
    New Member
    Join Date
    Mar 2002
    Posts
    20
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Does anyone know how to shorten the formula.

    =IF(E7<>3,0,VLOOKUP(E2,Project!A19:O236,13,FALSE))+IF(E7<>5,0,VLOOKUP(E2,Project!A19:O236,15,FALSE))+IF(E7<>7,0,VLOOKUP(E2,Project!A19:O236,17,FALSE))

    Many thanks to all
    Mike

  2. #2
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Bogota, Colombia
    Posts
    11,959
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    How about this ?

    =IF(OR(E7={3,5,7}),VLOOKUP(E2,Project!A19:O236,E7+10,0),0)
    Regards,

    Juan Pablo González
    http://www.juanpg.com

  3. #3
    New Member
    Join Date
    Mar 2002
    Posts
    20
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Superb anwser Juan
    Thanks
    Mike

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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