View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jacob Skaria Jacob Skaria is offline
external usenet poster
 
Posts: 8,520
Default Multi-Condition Formula

Try

=IF(OR(C10={"","C","B"}),B10,IF(ISNUMBER(B10),IF(C 10="S",B10,
IF(AND(C10="D",B10=2),2,"")),""))

--
Jacob (MVP - Excel)


"Malcolm" wrote:

Im using this formula;
=IF(OR(€˜Source Sheet!C10={€œ€,€C€, €œB€}),Source Sheet!B10).
This allows what I enter into the source sheet to also enter into the
destination sheet unless, €œC€ or €œB€ are present and then nothing is entered
into the destination sheet. This only leaves two conditions that would allow
data entered into the source sheet to appear in the destination sheet. These
conditions are €œS€ and €œD€. If €œS€ I would like to have any number entered in
the source sheet to appear in the destination sheet, but if the €œD€ condition
is entered in the source sheet, I would like the number 2 and only 2 to be
entered in the destination sheet. So, if I have not confused this too much,
my question is; is it possible to keep the initial two false conditions; €œC€
and €œB€ in the formula and add the two true conditions €œS€ and €œD€. I hope
that my explanation is not too confusing. I dont have a good record of being
either clear or concise.
Thank you,
Malcolm