IF AND NOT ISBLANK formula? Not really sure...

Chunky_22

Board Regular
Joined
May 19, 2004
Messages
149
Hi

I need to write a formula that says:

If cell H1 AND P1 both have something entered in them = False
If cell H1 AND P1 are both BLANK = FALSE
If cell H1 has something entered in it, but P1 is BLANK = TRUE

In the case of a False result, I will be just be returning a basic value, such as "Complete". In the case of a True result I will be running a basic formula (=A1-B1)

Is anyone able to assist me with this please? Many thanks in advance

B
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Hi Rick,
Sorry, I hadn't really thought of that because it wouldn't happen (shouldn't happen!). It means someone has filled the sheet in wrong. I would say a False should be returned
Thanks
 
Upvote 0
Hi Rick,
Sorry, I hadn't really thought of that because it wouldn't happen (shouldn't happen!). It means someone has filled the sheet in wrong. I would say a False should be returned
Thanks

This should do what you asked for...

=IF(AND(LEN(H1)>0,LEN(P1)=0),A1-B1,"Complete")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,219
Messages
6,123,688
Members
449,117
Latest member
Aaagu

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