formula simplification

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am using an if statement and wondering if I can simplify it. I think I can
remember being able to group ifs.
Like

If(v113;x113;z113<>""),"Y","N")

instead of

=IF(OR(V113<>"",X113<>"",Z113<>"",AB113<>"",AD113<>"",AH113<>""),"Y","N")

Is this possible in some circumstances or am I dreaming.

Todd
 
I think you're remembering array and/or SUMPRODUCT formulas. Even after
changing the syntax to

=IF({v113,x113,z113}<>"","Y","N")

Excel will not accept it, either as a regular formula or an array formula. It
highlights the V113 piece.

If the cells are supposed to be either blank or contain numbers, maybe
something like this will suffice:

=IF(COUNT(V113,X113,Z113,AB113,AD113,AH113)>0,"Y","N")
 
Another one:

=IF(V113&X113&Z113&AB113&AD113&AH113<>"","Y","N")

If all the cells are empty, then that concatenated string will be "".
 

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

formula 3
match formula 2
formula 1
Formula Simplification Please ... 6
Help with a formula and cell referencing. 2
Formula to calculate 4 possible answers in one cell 3
IF statement in macro 4
formula 1

Back
Top