Formula help needed please

BecciB

New Member
Joined
Aug 4, 2017
Messages
5
I have the following data:


HIJKL
Case StatusAllocated ToDate AllocatedSate of AssessmentDate Case Closed
Minnie17/03/1726/04/17
Daffy25/04/17
05/05/1701/08/17
Pluto02/05/1710/05/17

<tbody>
</tbody>




<colgroup><col><col><col span="3"></colgroup><tbody>
</tbody>
I would like the following to appear in column H when these parameters are met:
Awaiting Allocation to appear in column H - When there is no data in column K
Allocated to appear in column H - when there is any date recorded in column K
Closed to appear in column H - when there is a date added to column L

I am rubbish at formulas so i's be really grateful for some urgent help.

Thank you in advance :)
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Try This in H2

=IF(L2<>"","Closed",IF(ISBLANK(K2),"Awaiting Allocation",IF(CELL("format",K2)="D1","Allocated")))
<colgroup><col width="72" style="width: 54pt;" span="2"> <col width="79" style="width: 59pt; mso-width-source: userset; mso-width-alt: 2528;" span="2"> <col width="72" style="width: 54pt;" span="4"> <tbody> </tbody>
 
Upvote 0
Hi, just another option to try:

=IF(L2>0,"Closed",IF(K2>0,"Allocated","Awaiting Allocation"))
 
Upvote 0
This is great, thanks!

How do I get subsequent fields to appear blank until i have entered some parameters? How would i add that to the formula?
 
Upvote 0
The first part tests to ensure that K2 and L2 are both blank and will give a blank result. The rest works as above


=IF(AND(ISBLANK(K2),ISBLANK(L2)),"",IF(L2<>"","Closed",IF(ISBLANK(K2),"Awaiting Allocation",IF(CELL("format",K2)="D1","Allocated"))))

<tbody>
</tbody><colgroup><col span="13"></colgroup>
 
Upvote 0
Just tested it and the new element needs to got at the end

=IF(L8<>"","Closed",IF(ISBLANK(K8),"Awaiting Allocation",IF(CELL("format",K8)="D1","Allocated",IF(AND(ISBLANK(K8),ISBLANK(L8)),"",))))
<colgroup><col width="72" style="width: 54pt;" span="2"> <col width="79" style="width: 59pt; mso-width-source: userset; mso-width-alt: 2528;" span="3"> <col width="72" style="width: 54pt;" span="8"> <tbody> </tbody>
 
Upvote 0
How do I get subsequent fields to appear blank until i have entered some parameters?

Hi, "some" isn't a very solid description, but for my suggestion maybe:

=IF(COUNTA(I2:L2),IF(L2>0,"Closed",IF(K2>0,"Allocated","Awaiting Allocation")),"")

Which returns a result if at least one of the cells in I2:L2 contains a value else it returns blank.
 
Upvote 0

Forum statistics

Threads
1,215,487
Messages
6,125,082
Members
449,205
Latest member
Healthydogs

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