if/or formula

  • Thread starter Thread starter Barny
  • Start date Start date
B

Barny

I would like to return the result in cell K132 based on the following-

Cell K132 will return the result N or M when/if I132 = N or J132 = M

Cells I132 and J132 will not contain N or M at the same time i.e. i
I132 = N then J132 will be blank and vice vers
 
Barny said:
I would like to return the result in cell K132 based
on the following- Cell K132 will return the result N
or M when/if I132 = N or J132 = M
Cells I132 and J132 will not contain N or M at the
same time i.e. if I132 = N then J132 will be blank
and vice versa

Can even you understand what you wrote?!

Maybe, in K132:

=if(I132="N", "N", if(J132="M", "M", ""))

Or maybe more generally:

=if(I132<>"", I132, J132)
 

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

Similar Threads

Excel Import Comments 3
formula help 3
IF and #N/A 2
Help Using COUNT or SUM/IF??? 1
Count cells if next column has text 2
Insert Formula based in cell user clicks 2
Formula help 8
IF Question 2

Back
Top