What about LogicalExpression
Try this for AND condition:
Criteria cr = session.createCriteria(table.class);
// To get records matching with AND condistions
LogicalExpression andExp = Restrictions.and(cell2, cell3);
cr.add( andExp );
For OR condition use this
// To get records matching with OR condistions
LogicalExpression orExp = Restrictions.or(cell2, cell3);
cr.add( orExp );
List results = cr.list();