Help with If FALSE Formula Wrapping

nirvehex

Well-known Member
Joined
Jul 27, 2011
Messages
505
Office Version
  1. 365
Platform
  1. Windows
Hi,

Question: I have a formula that works, but I want to wrap it and add a FALSE CONDITION in case I get a FALSE.

Here is the working formula, but it gives me a FALSE.

Code:
=IF(IFERROR(IF(OR(F154="Y",AN154<=6),AQ154,IF(AND(O154="Y",SEARCH("Comp",D154),LEFT(D154,2)+0>24,AQ154>=Dashboard!$I$10),AQ154,IF(AND(O154="Y",SEARCH("Comp",D154),LEFT(D154,2)+0>24,VLOOKUP(A154,'WOs (DSP Only)'!A:B,2,FALSE)>=Dashboard!$I$10,VLOOKUP(A154,'WOs (DSP Only)'!A:C,3,FALSE)>=Dashboard!$I$10,VLOOKUP(A154,'WOs (DSP Only)'!A:D,4,FALSE)>=Dashboard!$I$10,VLOOKUP(A154,'WOs (DSP Only)'!A:E,5,FALSE)>=Dashboard!$I$10,VLOOKUP(A154,'WOs (DSP Only)'!A:F,6,FALSE)>=Dashboard!$I$10,(ROUNDDOWN(365/((AN154*AQ154)/VLOOKUP(CONCAT(D154,"-",O154),Calibration!P:T,5,FALSE)),0))>ROUNDDOWN(AR154,0)),Dashboard!$I$10,IF(AND(O154="Y",SEARCH("Comp",D154),LEFT(D154,2)+0>24,VLOOKUP(A154,'WOs (DSP Only)'!A:B,2,FALSE)<Dashboard!$H$10,VLOOKUP(A154,'WOs (DSP Only)'!A:C,3,FALSE)<Dashboard!$H$10,VLOOKUP(A154,'WOs (DSP Only)'!A:D,4,FALSE)<Dashboard!$H$10,VLOOKUP(A154,'WOs (DSP Only)'!A:E,5,FALSE)<Dashboard!$H$10,VLOOKUP(A154,'WOs (DSP Only)'!A:F,6,FALSE)<Dashboard!$H$10,(ROUNDDOWN(365/((AN154*AQ154)/VLOOKUP(CONCAT(D154,"-",O154),Calibration!P:S,4,FALSE)),0))>ROUNDDOWN(AR154,0)),Dashboard!$H$10,IF(AND(VLOOKUP(A154,'WOs (DSP Only)'!A:B,2,FALSE)>=Dashboard!$H$10,VLOOKUP(A154,'WOs (DSP Only)'!A:B,2,FALSE)<Dashboard!$I$10,ROUNDDOWN(365/((AN154*AQ154)/VLOOKUP(A154,'WOs (DSP Only)'!A:B,2,FALSE)),0)>ROUNDDOWN(AR154,0)),VLOOKUP(A154,'WOs (DSP Only)'!A:B,2,FALSE),IF(AND(VLOOKUP(A154,'WOs (DSP Only)'!A:C,3,FALSE)>=Dashboard!$H$10,VLOOKUP(A154,'WOs (DSP Only)'!A:C,3,FALSE)<Dashboard!$I$10,ROUNDDOWN(365/((AN154*AQ154)/VLOOKUP(A154,'WOs (DSP Only)'!A:C,3,FALSE)),0)>ROUNDDOWN(AR154,0)),VLOOKUP(A154,'WOs (DSP Only)'!A:C,3,FALSE),IF(AND(VLOOKUP(A154,'WOs (DSP Only)'!A:D,4,FALSE)>=Dashboard!$H$10,VLOOKUP(A154,'WOs (DSP Only)'!A:D,4,FALSE)<Dashboard!$I$10,ROUNDDOWN(365/((AN154*AQ154)/VLOOKUP(A154,'WOs (DSP Only)'!A:D,4,FALSE)),0)>ROUNDDOWN(AR154,0)),VLOOKUP(A154,'WOs (DSP Only)'!A:D,4,FALSE),IF(AND(VLOOKUP(A154,'WOs (DSP Only)'!A:E,5,FALSE)>=Dashboard!$H$10,VLOOKUP(A154,'WOs (DSP Only)'!A:E,5,FALSE)<Dashboard!$I$10,ROUNDDOWN(365/((AN154*AQ154)/VLOOKUP(A154,'WOs (DSP Only)'!A:E,5,FALSE)),0)>ROUNDDOWN(AR154,0)),VLOOKUP(A154,'WOs (DSP Only)'!A:E,5,FALSE),IF(AND(VLOOKUP(A154,'WOs (DSP Only)'!A:F,6,FALSE)>=Dashboard!$H$10,VLOOKUP(A154,'WOs (DSP Only)'!A:F,6,FALSE)<Dashboard!$I$10,ROUNDDOWN(365/((AN154*AQ154)/VLOOKUP(A154,'WOs (DSP Only)'!A:F,6,FALSE)),0)>ROUNDDOWN(AR154,0)),VLOOKUP(A154,'WOs (DSP Only)'!A:F,6,FALSE)))))))))),"Not Needed")=FALSE,Dashboard!$I$10,IFERROR(IF(OR(F154="Y",AN154<=6),AQ154,IF(AND(O154="Y",SEARCH("Comp",D154),LEFT(D154,2)+0>24,AQ154>=Dashboard!$I$10),AQ154,IF(AND(O154="Y",SEARCH("Comp",D154),LEFT(D154,2)+0>24,VLOOKUP(A154,'WOs (DSP Only)'!A:B,2,FALSE)>=Dashboard!$I$10,VLOOKUP(A154,'WOs (DSP Only)'!A:C,3,FALSE)>=Dashboard!$I$10,VLOOKUP(A154,'WOs (DSP Only)'!A:D,4,FALSE)>=Dashboard!$I$10,VLOOKUP(A154,'WOs (DSP Only)'!A:E,5,FALSE)>=Dashboard!$I$10,VLOOKUP(A154,'WOs (DSP Only)'!A:F,6,FALSE)>=Dashboard!$I$10,(ROUNDDOWN(365/((AN154*AQ154)/VLOOKUP(CONCAT(D154,"-",O154),Calibration!P:T,5,FALSE)),0))>ROUNDDOWN(AR154,0)),Dashboard!$I$10,IF(AND(O154="Y",SEARCH("Comp",D154),LEFT(D154,2)+0>24,VLOOKUP(A154,'WOs (DSP Only)'!A:B,2,FALSE)<Dashboard!$H$10,VLOOKUP(A154,'WOs (DSP Only)'!A:C,3,FALSE)<Dashboard!$H$10,VLOOKUP(A154,'WOs (DSP Only)'!A:D,4,FALSE)<Dashboard!$H$10,VLOOKUP(A154,'WOs (DSP Only)'!A:E,5,FALSE)<Dashboard!$H$10,VLOOKUP(A154,'WOs (DSP Only)'!A:F,6,FALSE)<3,(ROUNDDOWN(365/((AN154*AQ154)/VLOOKUP(CONCAT(D154,"-",O154),Calibration!P:S,4,FALSE)),0))>ROUNDDOWN(AR154,0)),Dashboard!$H$10,IF(AND(VLOOKUP(A154,'WOs (DSP Only)'!A:B,2,FALSE)>=Dashboard!$H$10,VLOOKUP(A154,'WOs (DSP Only)'!A:B,2,FALSE)<Dashboard!$I$10,ROUNDDOWN(365/((AN154*AQ154)/VLOOKUP(A154,'WOs (DSP Only)'!A:B,2,FALSE)),0)>ROUNDDOWN(AR154,0)),VLOOKUP(A154,'WOs (DSP Only)'!A:B,2,FALSE),IF(AND(VLOOKUP(A154,'WOs (DSP Only)'!A:C,3,FALSE)>=Dashboard!$H$10,VLOOKUP(A154,'WOs (DSP Only)'!A:C,3,FALSE)<Dashboard!$I$10,ROUNDDOWN(365/((AN154*AQ154)/VLOOKUP(A154,'WOs (DSP Only)'!A:C,3,FALSE)),0)>ROUNDDOWN(AR154,0)),VLOOKUP(A154,'WOs (DSP Only)'!A:C,3,FALSE),IF(AND(VLOOKUP(A154,'WOs (DSP Only)'!A:D,4,FALSE)>=Dashboard!$H$10,VLOOKUP(A154,'WOs (DSP Only)'!A:D,4,FALSE)<Dashboard!$I$10,ROUNDDOWN(365/((AN154*AQ154)/VLOOKUP(A154,'WOs (DSP Only)'!A:D,4,FALSE)),0)>ROUNDDOWN(AR154,0)),VLOOKUP(A154,'WOs (DSP Only)'!A:D,4,FALSE),IF(AND(VLOOKUP(A154,'WOs (DSP Only)'!A:E,5,FALSE)>=Dashboard!$H$10,VLOOKUP(A154,'WOs (DSP Only)'!A:E,5,FALSE)<Dashboard!$I$10,ROUNDDOWN(365/((AN154*AQ154)/VLOOKUP(A154,'WOs (DSP Only)'!A:E,5,FALSE)),0)>ROUNDDOWN(AR154,0)),VLOOKUP(A154,'WOs (DSP Only)'!A:E,5,FALSE),IF(AND(VLOOKUP(A154,'WOs (DSP Only)'!A:F,6,FALSE)>=Dashboard!$H$10,VLOOKUP(A154,'WOs (DSP Only)'!A:F,6,FALSE)<Dashboard!$I$10,ROUNDDOWN(365/((AN154*AQ154)/VLOOKUP(A154,'WOs (DSP Only)'!A:F,6,FALSE)),0)>ROUNDDOWN(AR154,0)),VLOOKUP(A154,'WOs (DSP Only)'!A:F,6,FALSE)))))))))),"Not Needed"))

How can I add the following condition to the above: If the above formula output is FALSE, then I want it to default to the value in Dashboard!$H$10.

Any ideas?

Thanks!
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Forum statistics

Threads
1,223,884
Messages
6,175,175
Members
452,615
Latest member
bogeys2birdies

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