Consulting

Results 1 to 3 of 3

Thread: Excel/vlookup if statement confusion

  1. #1
    VBAX Regular
    Joined
    Feb 2010
    Location
    Des Moines, Iowa
    Posts
    10
    Location

    Excel/vlookup if statement confusion

    I am need assistance with an if statment combining a date and a vlookup.
    This is the formula and the dates are always the same. I need the dates to be able to get the correct information out of my database.
    Suggestions?
    IF(ISNA(VLOOKUP($B$7&$A11&F11&DATE(2010,1,1)>=$C$11),DATE(2010,1,7<=D11),'[Database Design.xlsx]Weekly Totals'!$K$3:$R$25000,8,FALSE)),0,VLOOKUP($B$7&$A11&F11&DATE(2010,1,1)>=C11 ,DATE(2010,1,7<=D11),'[Database Design.xlsx]Weekly Totals'!$K$3:$R$25000,8,FALSE))

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    That formula makes no sense, the VLOOKUP is incomplete.

    What exactly are you trying to do?
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    VBAX Regular
    Joined
    Feb 2010
    Location
    Des Moines, Iowa
    Posts
    10
    Location
    I am trying to reference certain data to compare on a worksheet and a database. I will go back to drawing board. My other formulas work just fine it is when I add the date function it wont' work. I will see about working around it. Thanks for your help.

Posting Permissions

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