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

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
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,215,743
Messages
6,126,613
Members
449,322
Latest member
Ricardo Souza

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