Help with If FALSE Formula Wrapping

nirvehex

Well-known Member
Joined
Jul 27, 2011
Messages
503
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

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

Forum statistics

Threads
1,214,376
Messages
6,119,179
Members
448,871
Latest member
hengshankouniuniu

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