IF OR

TexasCPA

New Member
Joined
Nov 27, 2024
Messages
7
Office Version
  1. 2019
Platform
  1. MacOS
=IF(OR(L2=1,L2=2),"C", "P")

The above formula is in M2

When I hit the enter button, L2= P even though I have not enter a value in M2

When I enter a 1 in L2 the value in M2 = C and when I enter a value of 2 in L2 the value of C remains in M2

What is wrong with the formula?

Thanks for your help
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
This is basically the same question you asked here IF OR FUNCTION
You need to use the same method as I showed in that thread.
 
Upvote 0
Have you tried solving this post using the layout from you previous threads?
 
Upvote 0

Forum statistics

Threads
1,224,847
Messages
6,181,326
Members
453,032
Latest member
Pauh

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top