If(AND Multiple Logic issues - Backup Tape Spreadsheet

squirrelz

New Member
Joined
May 11, 2017
Messages
1
Hello People,

This is my first post on MrExcel.com - apologies for not posting an introduction and diving straight into the issue I'm having with my Excel Formula.

Basically, I have a tape storage record which I record all backup tape information. I have added an additional column called Action which tells me what I need to do with the tapes when I update their information.

Here's the table:

15RpSMI.png


Current formula: "=IF(AND(F2=$K$3,G2=$L$2),"Remove, label & move to Leeds safe","No action required")"
What I want it to do !
Backup tapes have to be removed from the Tape Library and put into the on-site safe. The tapes must then be moved to the Leeds safe - but my formula states "no action required". I need to fix that.
Currently I'm using two Logical Tests:
If F2 (physical location) = $k$3 ( Tape Library)
If G2 (capacity) = $L$2 (Full)
Value if true: "Remove, label & move to Leeds safe"
Value if false: "No action required"
Ideally it needs to do this - which I haven't been able to do:
If F = Leeds Safe (Action: "No action required") because that's where the tape needs to be - in off-site storage)
If F = Tape Library & G2 = Full (Action: "Remove, Label and move to on-site safe") - This tape would need to be removed from the tape library device
If F = on-site Safe (Action: Move to Leeds Safe)

<tbody>
</tbody>


Hope somebody can point me in the right direction - thank you :)
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
IF(G2="Full",IF(F2="On-Site Safe","Move to Leeds Safe",IF(F2="Tape Library","Remove,Label and move to on-site safe","No Action Required")))

Let me know if that works if not we will adjust.
 
Upvote 0

Forum statistics

Threads
1,214,875
Messages
6,122,042
Members
449,063
Latest member
ak94

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