Formula to Find IF and Match to Setting Map Output In Column H

Lukma

Active Member
Joined
Feb 12, 2020
Messages
261
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
Hi Good friends
Its Been Long Please i need a help with formula in Column H2 to give me the out result in Column with i have created , here is what i need formula to do I have in column A2:A100 List Now i Have List of Activity in column B2:100 and i Have in Stand by reason List in Column D2:D100 and i Have In Location List in Column E2:E100 and i have destination list in Column G2:G100 now i Created a Other List from Column J and K and L , M the Output result Map for each Activity In Column N and i also Create and Copy Location and Destination List to P and Q Now formula i need is IF Column A2= and Matches List In Column J 2:J100 and column B=Matches Column K2:K100 and Column D=Matches any In Column M2:M100 and Column E=Matches Column P2:P100 and column G= Matches Column Q2:Q100 then Result Output In Column H2 will be " Waiting Berth Offshore" i have placed Example in my Output in Column H2 appreciate any formula that can get me the result output

Book1.xlsx
ABCDEFGHIJKLMNOPQ
1Productive StatusActivityStand By TypeStand By ReasonLocationLocation CategoryDestinationOutput ResultProductive StatusActivtiyStand By TypeStand By ReasonOutPutLocationDestination
2IdleSTAND BY AT ANCHORAGEAt anchorageBerth not availableZakum East anchorageMooring BuoyZakum East anchorageWaiting Berth OffshoreOperationLIQUID BULK OPSN/AN/AWorking MOSBZakum East anchorageZakum East anchorage
3OperationMANOEUVRING/ SHIFTINGN/AN/AMusaffah Short Stay AnchorageMooring BuoyNew Musaffah ChannelOperationDECK CARGO OPSN/AN/AWorking MOSBMusaffah Short Stay AnchorageNew Musaffah Channel
4TransitTRANSIT TO PORTN/AN/ANew Musaffah ChannelPortADNOC PortOperationDRY BULK OPSN/AN/AWorking MOSBNew Musaffah ChannelADNOC Port
5OperationMANOEUVRING/ SHIFTINGN/AN/AADNOC PortPortADNOC PortOperationLIQUID BULK OPSN/AN/AWorking OffshoreADNOC PortADNOC Port
6IdleSTAND BY ALONGSIDEAlongsideBerth not availableADNOC PortPortADNOC PortOperationDECK CARGO OPSN/AN/AWorking OffshoreADNOC PortADNOC Port
7OperationMANOEUVRING/ SHIFTINGN/AN/AADNOC PortPortADNOC PortOperationDRY BULK OPSN/AN/AWorking OffshoreADNOC PortADNOC Port
8IdleSTAND BY ALONGSIDEAlongsideNo work order from Onshore siteADNOC PortPortADNOC PortOperationLIQUID BULK OPSN/AN/AWorking MUGADNOC PortADNOC Port
9OperationLIQUID BULK OPSN/AN/AADNOC PortPortADNOC PortOperationDECK CARGO OPSN/AN/AWorking MUGADNOC PortADNOC Port
10IdleSTAND BY ALONGSIDEAlongsideNo work order from Onshore siteADNOC PortPortADNOC PortOperationDRY BULK OPSN/AN/AWorking MUGADNOC PortADNOC Port
11OperationDECK CARGO OPSN/AN/AADNOC PortPortADNOC PortOperationLIQUID BULK OPSN/AN/AWorking RUWAISADNOC PortADNOC Port
12IdleSTAND BY ALONGSIDEAlongsideNo work order from Onshore siteADNOC PortPortADNOC PortOperationDECK CARGO OPSN/AN/AWorking RUWAISADNOC PortADNOC Port
13OperationDECK CARGO OPSN/AN/AADNOC PortPortADNOC PortOperationDRY BULK OPSN/AN/AWorking RUWAISADNOC PortADNOC Port
14IdleSTAND BY ALONGSIDEAlongsideNo work order from Onshore siteADNOC PortPortADNOC PortTransitTRANSIT TO FIELDN/AN/ADepart MOSB to SiteADNOC PortADNOC Port
15OperationDECK CARGO OPSN/AN/AADNOC PortPortADNOC PortTransitTRANSIT TO FIELDN/AN/ADepart Site to MOSBADNOC PortADNOC Port
16IdleSTAND BY ALONGSIDEAlongsideWaiting for linemenADNOC PortPortADNOC PortTransitTRANSIT TO FIELDN/AN/ADepart MUG to SiteADNOC PortADNOC Port
17OperationDECK CARGO OPSN/AN/AADNOC PortPortADNOC PortTransitTRANSIT TO FIELDN/AN/ADepart Site to MUGADNOC PortADNOC Port
18IdleSTAND BY ALONGSIDEAlongsideWaiting for port permissionADNOC PortPortADNOC PortTransitTRANSIT TO FIELDN/AN/ADepart MOSB to SiteADNOC PortADNOC Port
19OperationMANOEUVRING/ SHIFTINGN/AN/AADNOC PortPortNew Musaffah ChannelTransitTRANSIT TO FIELDN/AN/ADepart Site to MOSBADNOC PortNew Musaffah Channel
20TransitTRANSIT TO FIELDN/AN/ADepart MUG to SiteNew Musaffah ChannelMusaffah Short Stay Anchorage
21TransitTRANSIT TO FIELDN/AN/ADepart Site to MUGBU SIKEEN ISLANDBU SIKEEN ISLAND
22TransitTRANSIT TO PORTN/AN/AOpBU SIKEEN ISLANDAL QATIA ISLAND
23TransitTRANSIT TO PORTN/AN/AOpAL QATIA ISLANDAL QATIA ISLAND
24IdleSTAND BY AT ANCHORAGEAt anchorageBerth not availableWaiting Berth OffshoreRUWAISRUWAIS
Sheet4
 
Something like this,
Excel Formula:
=IF(AND(COUNTIFS(J$2:J$100, A19) > 0, COUNTIFS(K$2:K$100, B19) > 0, COUNTIFS(M$2:M$100, D19) > 0, COUNTIFS(P$2:P$100, E19) > 0, COUNTIFS(Q$2:Q$100, G19) > 0), "Waiting Berth Offshore", "")
 
Upvote 0
Dear Sam D
Thanks let me give it a try appreciate, formula didnt not right with i want however please look at the formula is there any better way without slowing my excel this is something am ooking to get
Excel Formula:
=IF(AND(ISNUMBER(MATCH(A2, J$2:J$100, 0)),ISNUMBER(MATCH(B2, K$2:K$100, 0)),ISNUMBER(MATCH(D2, M$2:M$100, 0)),ISNUMBER(MATCH(E2, P$2:P$100)),ISNUMBER(MATCH(G2, Q$2:Q$100))),INDEX(N$2:N$100, MATCH(1, (J$2:J$100=A2) * (K$2:K$100=B2) * (M$2:M$100=D2), 0)),
    "No Match")
 
Upvote 0

Forum statistics

Threads
1,226,785
Messages
6,192,967
Members
453,770
Latest member
mwedom

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