VLOOKUP with IF criteria

%3CLINGO-SUB%20id%3D%22lingo-sub-2234933%22%20slang%3D%22en-US%22%3EVLOOKUP%20with%20IF%20criteria%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2234933%22%20slang%3D%22en-US%22%3E%3CP%3EPlease%20assist.%3C%2FP%3E%3CP%3EI%20need%20to%20do%20VLOOKUP%20in%20a%20document%20with%202%20pricelists.%3C%2FP%3E%3CP%3EI%20have%204%20columns.%3C%2FP%3E%3CP%3EPart%20number%20(manual%20entry)%26nbsp%3B%20%26nbsp%3BDescription%20(vlookup)%26nbsp%3B%20%26nbsp%3BPricelist%20(NEED%20TO%20CHOOSE%20BETWEEN%202)%20Discount%20(VLOOKUP)%3C%2FP%3E%3CP%3EThe%20costing%20sheet%20looks%20for%20data%20from%202%20different%20sheets%2C%20within%20the%20same%20document.%3C%2FP%3E%3CP%3EDiscount%20looks%20vlookup%20info%20from%20a%20sheet%3C%2FP%3E%3CP%3EI%20need%20the%20pricelist%20column%2C%20to%20look%20for%20data%20from%20another%20sheet%2C%20based%20on%20the%20result%20achieved%20in%20discount%20column.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEXAMPLE%3C%2FP%3E%3CP%3EABC%20gets%2025%25%20discount%2C%20the%20price%20in%20the%20costing%20sheet%2C%20needs%20to%20come%20from%20column%205%20from%20pricelist%20sheet%3C%2FP%3E%3CP%3EXYZ%20gets%20no%20discount%2C%20the%20price%20in%20the%20costing%20sheet%20(SAME%20COLUMN)%2C%20needs%20to%20come%20from%20column%204%20from%20the%20pricelist%20sheet%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethank%20you%20for%20your%20time.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2234933%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

Please assist.

I need to do VLOOKUP in a document with 2 pricelists.

I have 4 columns.

Part number (manual entry)   Description (vlookup)   Pricelist (NEED TO CHOOSE BETWEEN 2) Discount (VLOOKUP)

The costing sheet looks for data from 2 different sheets, within the same document.

Discount looks vlookup info from a sheet

I need the pricelist column, to look for data from another sheet, based on the result achieved in discount column.

 

EXAMPLE

ABC gets 25% discount, the price in the costing sheet, needs to come from column 5 from pricelist sheet

XYZ gets no discount, the price in the costing sheet (SAME COLUMN), needs to come from column 4 from the pricelist sheet

 

thank you for your time.

5 Replies
Why not upload a sample file along with the desired output mocked up manually so that it would be easy to understand what exactly you are trying to achieve?

@Subodh_Tiwari_sktneer Hi, thank you, attached simplified version of the document.

4 sheets

1st sheet cover and customer view

2nd costing sheet to place the formula in the columns

3rd price list with 2 columns, yellow is reseller the other list pricing

4th sheet customer info to allocate data to 1st and 2nd page regarding discount

Discount % will determine which column the price will come from.

Thanks for the file. Unfortunately I am not able to visualize your requirement by reading your description in the original post and by looking at the sample file. Maybe you need to rephrase your requirement more clearly. While describing your requirement, use exact sheet names, column numbers and headers.
To describe it more clearly, fill the Part# in column A in Costing Sheet for few rows and once your existing formulas return values, then explain which formula in which column you would like to tweak and the logic behind it.
I'm not certain what your goal is for this formula. However, you did mention VLOOKUP with IF criteria possibly being needed. If you need to consider multiple criteria and the return is a number, perhaps you'll want to use SUMIFS.
Hi,
thank you,
I have Sheet 1, that needs to reflect customer details, this is all fine
Sheet 2 is my costing and calculations sheet
Column A - Manual data entry of required part number
Column B - Will, via VLOOKUP function, populate the relevant description, (from sheet 3 information Column B), for the part no. in column A
Column C - via VLOOKUP my costing that will populate (from sheet 3 information Column C)
Column D - HERE I NEED THE HELP - this column needs to choose from 2 column pricing (from sheet 3 information Column D & F)
Column F - is info the COLUMN D will use to chose between value from sheet 3 information Column D & F - if the value is 25% it needs to pull the price from column E, if the value is NOT 25% it will pull the value from column D on sheet 3
Sheet 3 is my price list with 2 columns, D & E, column D needs to choose between the column D & E values, once criteria has been met =25% OR NOT = 25%