kumara_faith
Well-known Member
- Joined
- Aug 19, 2006
- Messages
- 922
- Office Version
- 365
Hi,
I have the following table:
In the message column, I am trying to have a message for users if:
1) If all cells from Branch to No of Pages is blank, then no message
2) If any of the cells from Branch to No of Pages is blank, then to display message for example " Date is blank. Please complete". This is assuming the Date cell is blank and all other cells is filled.
3) If some of the cells are filled and others are blank, to display message to specify the cells that is blank. Example, Branch, Date and Transaction Type is filled but no of Policy and No of Pages are blank. So message should be " No of Policy and No of Pages are blank. Please Complete".
3) if all cells from Branch to No of Pages is filled, then display message "Complete"
I tried with the following formula but it not working as intended:
Appreciate any help.
I have the following table:
In the message column, I am trying to have a message for users if:
1) If all cells from Branch to No of Pages is blank, then no message
2) If any of the cells from Branch to No of Pages is blank, then to display message for example " Date is blank. Please complete". This is assuming the Date cell is blank and all other cells is filled.
3) If some of the cells are filled and others are blank, to display message to specify the cells that is blank. Example, Branch, Date and Transaction Type is filled but no of Policy and No of Pages are blank. So message should be " No of Policy and No of Pages are blank. Please Complete".
3) if all cells from Branch to No of Pages is filled, then display message "Complete"
I tried with the following formula but it not working as intended:
Excel Formula:
=IF(COUNTA(B5:F5)="","",IF(B5="","Branch is blank. Please complete",IF(C5="","Date is blank. Please complete",IF(D5="","Transaction Type is blank. Please complete",IF(E5="","No of Policy is blank. Please complete",IF(F5="","No of Pages is blank. Please complete","Complete"))))))
Appreciate any help.