Lookup on multiple values

G

Guest

I currently have 2 workssheets, 1 contains our order book as follows:
Sales Order No., Part No., £ each. The 2nd contains Sales Order No, Works
Order No, Part No.

I am wanting to put a formula on the 2nd sheet against each line looking up
the following:

if sales order no match and the part no matches result the £ each.

How to I lookup on multiple values?

regards
 
G

Guest

Use two IFs.

HOW TO USE IF
If works by: =IF(test,do this if true, otherwise do this)
e.g. Cell A2 currently says 3.
Cell B2 =IF(A2=3,"Match","No Match")

IF WITH 2 CONDITIONS
Put a second if inside the first - i.e. IF(test,IF(test2,outcome if
true,outcome if false),outcome if false)

YOUR SOLUTION
Something along the lines of:
=IF(SalesOrderNumberCellRef=TheNumberYouWant,IF(PartNo=ThePartNoYouWant,TheCost,0),0)

If you want something really specific, reply with example data, cell refs etc.

Cheers,

Tom.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top