Concatenate three IF formulas in one

YusufAkhtar

New Member
Joined
May 31, 2018
Messages
8
Office Version
  1. 365
Platform
  1. Windows
Out of all a two client has specific deadlines which is


for client ABC= if any work recevied between Thursday to Wednesday it should be completed on every Wednesday
For Client EFG= any work recevied between 21st - 20th of the month = the work sould be completed on 20 th of every month


For all other clients, the work recevied between monday to wed= should be completed till friday AND work recevied from thursday to sunday should be completed till tuesday.






I have made the formula for all three but i want three in one cell, can you please help me in getting all three formulaes under one cell?




For client ABC : =IFERROR(IF(AND(LEFT(D3,3)="ABC",LEFT(E3,4)="Payr"),VLOOKUP(G3,$G$8:$H$9,2,0)," ")," ")
For Client EFG: =IFERROR(IF(AND(LEFT(D4,3)="AOC",LEFT(E4,4)="Payr"),VLOOKUP(G4,$N$8:$O$9,2,0)," ")," ")
For all other clients = (IF(LEFT(E2,4)="Payr",VLOOKUP(G2,'$O$3:$Q$311,3,0)


To get the above formula:


Column D has the list of client names
Column E has the list of sub-types
Column G has the recevied date


:confused::confused::confused::confused:
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Hello, maybe:

=IFERROR(IF(OR(LEFT(E2,4)="Payr",LEFT(E3,4)="Payr",LEFT(E4,4)="Payr"),IF(LEFT(D3,3)="ABC",VLOOKUP(G3,$G$8:$H$9,2,0),IF(LEFT(D4,3)="AOC",VLOOKUP(G4,$N$8:$O$9,2,0),VLOOKUP(G2,$O$3:$Q$311,3,0))),""),"")
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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