Help with an "if" function pls

Michael N

New Member
Joined
Aug 19, 2016
Messages
7
Hi
I'm trying to work out the formula for this function & was wondering if anyone can help me:)

if(A1:A2 ="","",)if(A1="",A2=X,"O")if(A1=X,A2=X,"X")
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
In which cell the formula goes.
You can explain with your words what you have in A1 and what you expect from the result.
 
Upvote 0
What I have is 3 cells eg: A1,A2,A3
In A3 I would like to show if A2 only has an X in it with an "O" but if both A1 & A2 have an X to show an "X". If both are blank, not to show anything
The cell A3 is Conditional Formatted to show different colours if either X or O
 
Upvote 0
tRY:

=IF(AND(A1="",A2=""),"",IF(AND(A1="X",A2="X"),"X",IF(AND(A1="",A2="X"),"O","Not specified")))
 
Upvote 0
I'm glad to help you. And thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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