+ Reply to Thread
Results 1 to 4 of 4

IF Statement and Vlookup help

  1. #1
    Registered User
    Join Date
    08-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2000/2007
    Posts
    30

    IF Statement and Vlookup help

    I have this document that myself and another employee use. The ID section is where I need help (column F&G the Blade Sizes) the if statement being used is broken into two lines. When you enter the letters A-I you get the blade size on the first line. When you enter J-S you get the rest of the blade sizes.

    This is all fine but I would like to make everything one line for sorting purposes. I was wondering if this is possible with Vlookup or something else? I am not sure how to combine the formulas that are on two lines now into one line. I will still need it to function the same way. When ever I enter the letters A through S I still need the blade size to pop up but only on one line instead of two.

    I hope this all making sense, I have attached a copy of the sheet to help clear things up.

    Thank youBANDSAW BLADE ANALYSIS REPORT (BLANK) (D4.439).xls
    Last edited by Fish10800; 12-14-2011 at 03:34 PM.

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: IF Statement and Vlookup help

    Fish10800,

    Attached is a modified version of your workbook. I added a worksheet (which is hidden) that contains a table of ID's and their respective Blade Sizes. I named the table BladeTable. Then I replaced the formula you had with this one:
    =IF(F9="","",VLOOKUP(F9,BladeTable,2,FALSE))
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    08-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2000/2007
    Posts
    30

    Re: IF Statement and Vlookup help

    Thats what I was looking for 100% thank you I appreciate it. I knew it involved vlookup but I am not sure how to use that function very well.

    Can you do the same thing you just did for this file also, This is the summary that uses the same format. You don't have to hide the worksheet though. I will most likely unhide it.

    BANDSAW BLADE SUMMARY ANALYSIS REPORT - 2012 (Blank).xls

  4. #4
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: IF Statement and Vlookup help

    Here you go. Learn from how this is done and if you have any more, use what's been provided here as an example

+ 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