maradykstra
New Member
I'm trying to return a specific statement depending on what cells are entered. If someone puts text in A7 then that returns a text I want so that was:
=IF(ISTEXT(A7),E2,"")
Then if someone enters text in A7 and B7, then that returns a different text I want so that was:
=IF(AND(ISTEXT(A7),ISTEXT(B7)),E3,"")
Again, if someone enters A7,B7 and C7, then that returns a different text that I was so that was:
=IF(AND(ISTEXT(A7),ISTEXT(B7),ISTEXT(C7)),E4,"")
My question is that I want to combine all of these IF statements so if someone enters text in one cell then it returns that or if they entere text in two cells then it returns something else or if the enter text in all three cells it returns something else.
Does that make sense? I've been having trouble combining all three into one.
Thanks for your help!
Mara
=IF(ISTEXT(A7),E2,"")
Then if someone enters text in A7 and B7, then that returns a different text I want so that was:
=IF(AND(ISTEXT(A7),ISTEXT(B7)),E3,"")
Again, if someone enters A7,B7 and C7, then that returns a different text that I was so that was:
=IF(AND(ISTEXT(A7),ISTEXT(B7),ISTEXT(C7)),E4,"")
My question is that I want to combine all of these IF statements so if someone enters text in one cell then it returns that or if they entere text in two cells then it returns something else or if the enter text in all three cells it returns something else.
Does that make sense? I've been having trouble combining all three into one.
Thanks for your help!
Mara