In s/sheet1 make use of two helper columns, P and Q. In P7 enter the
formula:
=B7&C7&E7
and copy down to P200. In Q7 enter the formula:
=O7
and copy down to Q200. I assume the two sheets are in the same file -
in P7 of Sheet2 enter the formula:
=B7&C7&E7
and copy down to P200. In O7 of Sheet2 enter the formula:
=IF(ISNA(VLOOKUP(P7,Sheet1!P$7:Q$200,2,0)),0,VLOOKUP(P7,Sheet1!P$7:Q$200,2,0))
and copy down to O200. This will give you what you want.
You can fix the values in Sheet2 by highlighting O7 to O200, click
<copy> then Edit | Paste Special | Values | OK then <esc>, and then you
can delete column P and columns P and Q in Sheet1.
Hope this helps.
Pete
mellowe - 19 Jan 2006 10:47 GMT
Brilliant, Brilliant, Brilliant!!!! Thankyou very much worked
perfect!!! - Exactly what i needed!
Pete_UK - 19 Jan 2006 11:18 GMT
Thanks for the feedback.
I did think you might need to change the formula entered into P7 to:
=B7&C7&ROUND(E7,2),
but if it has worked then fine!
Pete
mellowe - 19 Jan 2006 12:46 GMT
nope done the job as it is ... thank you so much again for taking the
time to look at this for me!!
Pete_UK - 19 Jan 2006 12:50 GMT
Thank you, also, for describing your problem so well - I was able to
give you the solution with direct references to the cells and ranges
which you used, so you could more easily relate it to your sheets.
Pete