" False" error message using isblank with 2 if statements

Jim Chad

New Member
Joined
Feb 19, 2018
Messages
15
IF(isblank(D12),(F17<365,F27,IF(F17>364,F37,f12)))

Can anyone tell me what is wrong with my formula?
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Welcome to the Board!

It is structured incorrectly.
Can you tell us in plain English exactly what you want it to do?
 
Upvote 0
Welcome to the Board!

It is structured incorrectly.
Can you tell us in plain English exactly what you want it to do?

If F12 is blank go on to the 2 if statements. If f12 is not blank, I would like the contents of 712 to be copied here.
 
Upvote 0
You are missing the inner IF for your nested IF statements, i.e.
Code:
[COLOR=#333333]=IF(isblank(D12),[/COLOR][COLOR=#ff0000][B]IF[/B][/COLOR][COLOR=#333333](F17<365,F27,IF(F17>364,F37,f12)))[/COLOR]
 
Upvote 0
=IF(ISBLANK(D12),IF(F17<365,F27,IF(F17>364,F37,F12)))

This is what I have now and am still getting false message
 
Upvote 0
Please let us know your values in the following cells, so we can try to recreate your scenario:
D12
F12
F17
F27
F37
 
Upvote 0
please let us know your values in the following cells, so we can try to recreate your scenario:
d12 [table="width: 108"]
<tbody>[tr]
[td]7/2/2018[/td]
[/tr]
</tbody>[/table]
f12 =if(and(isblank('start here'!c6),isblank('start here'!c7),isblank('start here'!c8),isblank('start here'!c9)),"",d12)[table="width: 443"]
<tbody>[tr]
[td]
[/td]
[/tr]
</tbody>[/table]
f17
=datedif(d11,d12,"d")
f27
=if(f17<365,f22,"")
f37
=if(f17>365,f32,"")
 
Upvote 0
Sorry, since some of those cells actually reference other cells and ranges, I need to know the value being returned/shown in each of those cells.

Also, since I don't know where you are and what date format you typically use, does 7/2/2018 mean "February 7, 2018", or "July 2, 2018"?
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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