Small adjustment needed for formula (#VALUE!)

grrrrr

Board Regular
Joined
Apr 20, 2011
Messages
60
Hi guys,

I have the following formula in place:

=CHOOSE(MAX(--AND(G$68>=I$71,H$68>=I$72,I$73>=1.3)*4,--AND(G$68>=I$71,H$68>=I$72)*3,--OR(G$68>=I$71,H$68>=I$72)*2,--AND(G$68<I$71,H$68<I$72)),MAX(H8*0.08,30),MAX(H8*0.1,40),MAX(H8*0.125,50),MAX(H8*0.15,60))

It works perfectly, but when 'H8' is blank, is comes up with #VALUE!

How can I change it? I thought to put brackets around it all and to say come out as 0 if H8 is blank but I don't know how to enter 'blank' into a formula

Thanks!! :rolleyes:
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
I think your formula got cut of but it would be like

=IF(H8="",0,CHOOSE(MAX(--AND(G$68>=I$71,H$68>=I$72,I$73>=1.3)*4,--AND(G$68>=I$71,H$68>=I$72)*3,--OR(G$68>=I$71,H$68>=I$72)*2,--AND(G$68 ...
 
Upvote 0

Forum statistics

Threads
1,224,520
Messages
6,179,266
Members
452,902
Latest member
Knuddeluff

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