IF Function- To reflect changes when another column changes

Rile1

New Member
Joined
Aug 7, 2018
Messages
6
Hi

Need your guidance

I have this following table and I need to add a formula on Column E (i.e. Next Status) which, if Column B changes (i.e. Status) then the Column E (i.e. Next Status) should also reflect a change


Excel table
ABCDEHZ
DateStatusTravel Agent NameAirline NameNext StatusLog_DateBooking Created Date
21-Aug-18Pending BookingABC789Escalation to Travel Manager1-Aug-18
21-Aug-18Pending Presentation123GHIFALSE15-Aug-1817-Aug-18
21-Aug-18Pending BookingDEF1011st Notification to Travel Agent16-Aug-1818-Aug-18
21-Aug-18Pending Presentation456JKLFALSE16-Aug-1817-Aug-18

<colgroup><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>

The formula which i am trying is the following
=IF(B19="Pending Booking",IF(A19<=H19+7,"1st Notification to Travel Agent",IF(A19>H19+7<=H19+14,"2nd Notification to Travel Agent",IF(A19>=H19+14,"Escalation to Travel Manager", OR(IF(B19="Pending Presentation",IF(A19<=Z19+2,"1st notification to Airline",IF(A19>Z19+2<=Z19+4,"2nd Notification to Airline",IF(A19>Z19+4,"Escalation to Airline Ground Manager")))))))))

Please if you could assist on the formula as Row 2 and 4, doesn't reflect properly

Thanking you for the assistance
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
try this

Code:
=IF(B19="Pending Booking",IF(A19<=H19+7,"1st Notification to Travel Agent",IF(A19>H19+7<=H19+14,"2nd Notification to Travel Agent","Escalation to Travel Manager")),IF(A19<=Z19+2,"1st notification to Airline",IF(A19>Z19+2<=Z19+4,"2nd Notification to Airline","Escalation to Airline Ground Manager")))
 
Upvote 0
this is more readable

Code:
=IF(B19="Pending Booking",IF(A19>H19+14,"Escalation to Travel Manager",IF(A19>H19+7,"2nd Notification to Travel Agent","1st Notification to Travel Agent")),IF(A19>Z19+4,"Escalation to Airline Ground Manager",IF(A19>Z19+2,"2nd Notification to Airline","1st notification to Airline")))
 
Upvote 0
This bit doesn't make sense:

Code:
A19>H19+7<=H19+14

This is where I got to:

Code:
=IF($B19="Pending Booking",IF($A19<=$H19+7,"1st Notification to Travel Agent",IF($A19<=$H19+14,"2nd Notification to Travel Agent","Escalation to Travel Manager")),IF($B19="Pending Presentation",IF($A19<$Z19+2,"1st Notification to Airline",IF($A19<$Z19+4,"2nd Notification to Airline","Escalation to Airline Ground Manager")),""))

WBD
 
Upvote 0

Forum statistics

Threads
1,214,948
Messages
6,122,420
Members
449,083
Latest member
Ava19

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