+ Reply to Thread
Results 1 to 2 of 2

Using multiple vlookups with text function for time

Hybrid View

  1. #1
    Registered User
    Join Date
    07-29-2011
    Location
    San Cristobal, Galapagos
    MS-Off Ver
    Excel for Mac 2010
    Posts
    5

    Using multiple vlookups with text function for time

    I am using vlookup to return a restaurant name and time. Some of the restaurants don't have a time set and it shows up as "0:00" which I don't want to see. Is there an IF formula or something I can add in that will make "0:00" not show?

    Here's the formula I'm using so far:

    =VLOOKUP($A$2&" "&$B21,'[2012 Every Day (New).xlsx]Every Day (time redo)'!$A$4:$AW$999,36,FALSE)&"
    "&TEXT(VLOOKUP($A$2&" "&$B21,'[2012 Every Day (New).xlsx]Every Day (time redo)'!$A$4:$AW$999,37,FALSE),"h:mm")

  2. #2
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010, Excel 2013 Customer Preview
    Posts
    1,112

    Re: Using multiple vlookups with text function for time

    =IF(VLOOKUP($A$2&" "&$B21,'[2012 Every Day (New).xlsx]Every Day (time redo)'!$A$4:$AW$999,36,FALSE)&"
    "&TEXT(VLOOKUP($A$2&" "&$B21,'[2012 Every Day (New).xlsx]Every Day (time redo)'!$A$4:$AW$999,37,FALSE),"h:mm")="0.00","",VLOOKUP($A$2&" "&$B21,'[2012 Every Day (New).xlsx]Every Day (time redo)'!$A$4:$AW$999,36,FALSE)&"
    "&TEXT(VLOOKUP($A$2&" "&$B21,'[2012 Every Day (New).xlsx]Every Day (time redo)'!$A$4:$AW$999,37,FALSE),"h:mm") )
    If your question has been satisfactorily addressed, please consider marking it solved. Click the Thread Tools dropdown and select Mark thread as solved.
    Also, you might want to add to the user's reputation by clicking the star icon in the lower left corner of the post with the answer- it's why we do what we do...

    Thomas Lafferty
    Analyst/Programmer

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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