IF blank cell

joetejas

New Member
Joined
Feb 5, 2019
Messages
17
I need to add an if blank into this formula. I am trying to add but I keep receiving an error. I am adding for a type of override to the current setup.

Current formula
=IF($BG$3<>0,IF($I6="Other - Explain in Comments",((AF6-$AC6)/$AC6)*R6,IF(AR6>0,((R6*AR6*((AF6-$BB6)/$BB6))+(((VLOOKUP($C6,'Market Input'!$G:$AX,BG$1,FALSE)-$BB6)/$BB6)*R6*(1-AR6))),((VLOOKUP($C6,'Market Input'!$G:$AX,BG$1,FALSE)-$BB6)/$BB6)*R6)),0)

want to add
IF cell BC is blank = 0 do nothing, but if a % is in cell BC (BC*AF)
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Col Delane

Active Member
Joined
Jan 14, 2014
Messages
304
That formula is far too complex to debug :eek:(as you're finding)

Break out the formula into separate helper cells with each containing manageable components (at a minimum the different arguments of each IF function, each VLOOKUP function, + your =ISBLANK([Ref]) [which will return TRUE or FALSE] ) so that you can easily confirm the operation of each bit.
Then bring those components together in your master formula by linking to each helper cell to get the end result.

Once satisfied with this, you could recombine it all together back into a monster like you already have by replacing the cell links with the formula in the target cells - but I wouldn't recommend doing that. There is no shortage of real estate on an Excel spreadsheet, so spread out your cal'cs so that you can easily work out what each bit is doing.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,300
Messages
5,836,489
Members
430,435
Latest member
Benforest1

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
Top