+ Reply to Thread
Results 1 to 3 of 3

If & Vlookup Formula

  1. #1
    Registered User
    Join Date
    01-20-2016
    Location
    New Jersey
    MS-Off Ver
    2010
    Posts
    2

    If & Vlookup Formula

    Hi,

    I'm new to this forum. I having trouble with the following:

    I have 3 tabs: N101, S101, and Report.

    N101 looks like this and are all Type "10"'s:

    10101010101 $20,000.00
    10101010102 $40,000.00
    10101010103 $60,000.00
    10101010104 $80,000.00
    10101010105 $100,000.00
    10101010106 $120,000.00
    10101010107 $140,000.00
    10101010108 $160,000.00
    10101010109 $180,000.00
    10101010110 $200,000.00

    S101 looks like this and are Type "2"s and "0"s.

    2100101 $1,000.00
    2100102 $2,000.00
    2100103 $3,000.00
    2100104 $4,000.00
    2100105 $5,000.00
    100106 $6,000.00
    100107 $7,000.00
    100108 $8,000.00
    100109 $9,000.00
    100110 $10,000.00


    On my report, the types are mixed... These are the formulas I came up with. I need to combine the below formulas together but I can't even get each individual formula to work.
    =IF(A2="10",VLOOKUP(B2,'N101'!$B:$C,2,FALSE))
    =IF(A2="2",VLOOKUP(B2,'S101'!$B:$C,2,FALSE))
    =IF(A2="0",VLOOKUP(B2,'S101'!$B:$C,2,FALSE))

    Please. Help. Me.

  2. #2
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: If & Vlookup Formula

    Welcome to the forum.
    Try something like this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Looking for "0" will only work if the cells (A2) are formatted as Text, as otherwise Excel will strip off leading zeros.
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

  3. #3
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: If & Vlookup Formula

    Deleted. I didn't notice you had problems with the individual formulas.
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Multiple Vlookup Normal Formula (not array formula) or VBA Function Required
    By BoopathiK in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-17-2015, 03:06 AM
  2. vlookup, index/match formula factoring in time(days) and IF formula
    By rishijain11 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-08-2014, 06:37 PM
  3. [SOLVED] Vlookup with column name instead of col_index_name(3rd Section of Vlookup formula)
    By akulka58 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-21-2014, 10:42 AM
  4. [SOLVED] VBA code for change vlookup formula to vlookup formula with ISNA
    By erprasannaa in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-12-2013, 03:33 AM
  5. Vlookup referencing a vlookup formula
    By laurenann in forum Excel General
    Replies: 1
    Last Post: 01-24-2011, 05:52 PM
  6. Replies: 2
    Last Post: 10-08-2009, 09:51 PM
  7. vlookup-reate a vlookup formula?
    By Pam C in forum Excel General
    Replies: 1
    Last Post: 03-16-2006, 12:15 PM

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