if blank and not blank multiple cells

Manoj K

New Member
Joined
Oct 22, 2021
Messages
34
Office Version
  1. 2013
Platform
  1. Windows
Hello,

I have an excel file, which contains many columns. I want answer in one column based on out put in another three columns. i.e. (1) if column "A, B, & C" is blank answer should be blank in Column "D", (2) if column "A" is not blank answer in Column "D" should be as "Under Analysis" , (3) if column "A & B" is not blank answer in Column "D" should be as "Ready" , (4) if column "A, B & C" is not blank answer in Column "D" should be as "Dispatched".

Can any one help me with a formula.

Regards

Manoj
 

Attachments

  • Capture.JPG
    Capture.JPG
    20.8 KB · Views: 27

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Here is one way to do it...
Excel Formula:
=IFERROR(CHOOSE(COUNT(A2:C2),"Under Analysis","Ready","Dispatched"),"")
 
Upvote 0
Solution
this only works if the data follows set patterns, if A,B are empty and C contains a value then "Under Analysis" will still be flagged, as the count will be 1, similarily if B=empty and A, C have values then Ready will be flagged
 
Upvote 0
this only works if the data follows set patterns, if A,B are empty and C contains a value then "Under Analysis" will still be flagged, as the count will be 1, similarily if B=empty and A, C have values then Ready will be flagged
Yes, that is correct. Is there any other formula which can eliminate this error?
 
Upvote 0
=IF(AND(C5=0,B5=0,A5=0),"",IF(AND(C5=0,B5=0,A5<>0),"Under Analysis",IF(AND(C5=0,B5<>0),"Ready",IF(C5<>0,"Dispatched")))) Is this what you are looking for? Or does it have the same issue as the choose formula?
1-Apr​
Under Analysis
1-Apr​
2-Apr​
Ready
1-Apr​
2-Apr​
3-Apr​
Dispatched
 
Upvote 0

Forum statistics

Threads
1,226,464
Messages
6,191,182
Members
453,646
Latest member
BOUCHOUATA

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top