Excel 2002: How to identify row of data ?

M

Mr. Low

Hi,

Happy New Year to you.

I have the following table:

A B C D E
Total Type
1 0 -100 0 +100 0 0
B
2 0 0 0 0 0 0
A
3 0 0 0 0 0 0
A
4 -500 0 +500 0 -750 +750
B

I would like to assign row type as "A" when all the cells from column A to
E are 0, otherwise it is type "B"

I find that the formula I am using now is too long i.e.
=IF(AND(A1=0,B1=0,C1=0,D1=0,E1=0),"A","B").

Are there any shorter formulas ?


Thanks

Low
 

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

Top