Simple if statement

MdYas

New Member
Joined
Apr 23, 2014
Messages
17
Dear Expert,

Need help to get result as mentioned below,

AWB NoRemarkReason
12345678cash not readyhere i want result

<tbody>
</tbody>

if i type or validate in column B3, want display result as per attached file in in column c

TomorrowSpoken to Mr, as per Consignee want shipment delivery on dated. 20.08.2018 (customer not available)
Residence closedSpoken to Mr, as per Consignee want shipment delivery on dated. 20.08.2018 (residence close)
Cash not readySpoken to Mr, as per Consignee cash not ready want delivery on 20.08.2018
Not RespondTry to Mr, call not respond, will next attempt 20.08.2018 (short address) SMS SEND
UnreachableTry to Mr, call not reachable, will next attempt 20.08.2018 (customer not available) SMS SEND
SwitchedoffTry to Mr, call switch off, will next attempt 20.08.2018 (customer not available)SMS SEND
Self CollectSpoken to Mr, as per Consignee he will self-collect from office
Double orderSpoken to Mr, as per Consignee want to cancelled shipment dueDOUBLE ORDER
RTOSpoken toMr, as per Consignee want to cancelled shipment due CHANGE OF MIND
CancelledSpoken to Mr, as per Consignee want to cancelled shipment due DELAY IN DELIVERY
Out of stationSpoken to Mr, as per Consignee want shipment delivery on dated. 20.08.2018 (out off station)
Office closedSpoken to Mr, as per Consignee want shipment delivery on dated 20.08.2018 (Office closed)
MisroutMisrout within city
ODASpoken to Mr, as per Consignee shipment address is out of delivery area
Non attemptSpoke to Mr, apologised and committed to next day delivery (NOT ATTEMPTED )

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



Regards,

Yaseen
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Not really clear what your question truly is, but I have an idea.

Try to use the IFS() function. This function allows many if statements without the need to put If statements inside other If statements.

IFS(A2="Tomorrow",B3="Spoken to Mr, as per Consignee want shipment delivery on dated. 20.08.2018 (customer not available)",A2="Residence closed",B3="Spoken to Mr, as per Consignee want shipment delivery on dated. 20.08.2018 (residence close)") and so on and so on.
 
Upvote 0
Cross posted https://www.excelforum.com/excel-formulas-and-functions/1248626-need-formula-for-desire-result.html

While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules).
This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.
 
Upvote 0
Sir,

what i means is if i select "Tomorrow" from B2 column result be in column C2 Spoken to Mr, as per Consignee want shipment delivery on dated. 20.08.2018 (customer not available) or if i select "residence closed" so on
Cash not readySpoken to Mr, as per Consignee cash not ready want delivery on 20.08.2018
Not RespondTry to Mr, call not respond, will next attempt 20.08.2018 (short address) SMS SEND
UnreachableTry to Mr, call not reachable, will next attempt 20.08.2018 (customer not available) SMS SEND
SwitchedoffTry to Mr, call switch off, will next attempt 20.08.2018 (customer not available)SMS SEND
Self CollectSpoken to Mr, as per Consignee he will self-collect from office
Double orderSpoken to Mr, as per Consignee want to cancelled shipment dueDOUBLE ORDER
RTOSpoken toMr, as per Consignee want to cancelled shipment due CHANGE OF MIND
CancelledSpoken to Mr, as per Consignee want to cancelled shipment due DELAY IN DELIVERY
Out of stationSpoken to Mr, as per Consignee want shipment delivery on dated. 20.08.2018 (out off station)
Office closedSpoken to Mr, as per Consignee want shipment delivery on dated 20.08.2018 (Office closed)
MisroutMisrout within city
ODASpoken to Mr, as per Consignee shipment address is out of delivery area
Non attemptSpoke to Mr, apologised and committed to next day delivery (NOT ATTEMPTED )

<tbody>
</tbody>
be so on

Residence closedSpoken to Mr, as per Consignee want shipment delivery on dated. 20.08.2018 (residence close)
Cash not readySpoken to Mr, as per Consignee cash not ready want delivery on 20.08.2018
Not RespondTry to Mr, call not respond, will next attempt 20.08.2018 (short address) SMS SEND
UnreachableTry to Mr, call not reachable, will next attempt 20.08.2018 (customer not available) SMS SEND
SwitchedoffTry to Mr, call switch off, will next attempt 20.08.2018 (customer not available)SMS SEND
Self CollectSpoken to Mr, as per Consignee he will self-collect from office
Double orderSpoken to Mr, as per Consignee want to cancelled shipment dueDOUBLE ORDER
RTOSpoken toMr, as per Consignee want to cancelled shipment due CHANGE OF MIND
CancelledSpoken to Mr, as per Consignee want to cancelled shipment due DELAY IN DELIVERY
Out of stationSpoken to Mr, as per Consignee want shipment delivery on dated. 20.08.2018 (out off station)
Office closedSpoken to Mr, as per Consignee want shipment delivery on dated 20.08.2018 (Office closed)
MisroutMisrout within city
ODASpoken to Mr, as per Consignee shipment address is out of delivery area
Non attemptSpoke to Mr, apologised and committed to next day delivery (NOT ATTEMPTED )

<tbody>
</tbody>
please suggest how can i attach the sample file.
 
Upvote 0
I've already given you a possible solution.
Try to use the IFS function in the fashion of

IFS(A2="Tomorrow",B2="Spoken to Mr, as per Consignee want shipment delivery on dated. 20.08.2018 (customer not available)",A2="Residence closed",B2="Spoken to Mr, as per Consignee want shipment delivery on dated. 20.08.2018 (residence close)") <-- add further if statements

And try an online file hoster, like I already mentioned in my previous post.
 
Upvote 0
Hi,

There's no link to any uploaded file...

May be just a VLOOKUP:


Book1
ABC
1AWB NoRemarkReason
212345678cash not readySpoken to Mr, as per Consignee cash not ready want delivery on 20.08.2018
3
4
5TomorrowSpoken to Mr, as per Consignee want shipment delivery on dated. 20.08.2018 (customer not available)
6Residence closedSpoken to Mr, as per Consignee want shipment delivery on dated. 20.08.2018 (residence close)
7Cash not readySpoken to Mr, as per Consignee cash not ready want delivery on 20.08.2018
8Not RespondTry to Mr, call not respond, will next attempt 20.08.2018 (short address) SMS SEND
9UnreachableTry to Mr, call not reachable, will next attempt 20.08.2018 (customer not available) SMS SEND
10SwitchedoffTry to Mr, call switch off, will next attempt 20.08.2018 (customer not available)SMS SEND
11Self CollectSpoken to Mr, as per Consignee he will self-collect from office
12Double orderSpoken to Mr, as per Consignee want to cancelled shipment dueDOUBLE ORDER
13RTOSpoken toMr, as per Consignee want to cancelled shipment due CHANGE OF MIND
14CancelledSpoken to Mr, as per Consignee want to cancelled shipment due DELAY IN DELIVERY
15Out of stationSpoken to Mr, as per Consignee want shipment delivery on dated. 20.08.2018 (out off station)
16Office closedSpoken to Mr, as per Consignee want shipment delivery on dated 20.08.2018 (Office closed)
17MisroutMisrout within city
18ODASpoken to Mr, as per Consignee shipment address is out of delivery area
19Non attemptSpoke to Mr, apologised and committed to next day delivery (NOT ATTEMPTED )
Sheet315
Cell Formulas
RangeFormula
C2=VLOOKUP(B2,A5:B19,2,0)
 
Upvote 0

Forum statistics

Threads
1,215,514
Messages
6,125,265
Members
449,219
Latest member
daynle

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