IF Function -- Based on two cells

cwhaley2

New Member
Joined
May 2, 2019
Messages
1
Hello all, very grateful for any assistance in helping me complete a formula.

I have a 3 cells. Cell A1 contains the date for logging an issue, Cell B1 contains the date an issue was completed and cell C1 contains the status (either pending or resolved) based on which cells have dates in. If there is only the date of an issue being logged it returns "Pending Resolution" and if there is a date in both then it should return "Resolved". If no dates are entered it needs to be blank.

The formula I've created so far is:

=IF(A1<>"",IF(ISNUMBER(A1:B1),"Resolved","Pending Resolution"),"")

This works in so far as it will show "Pending Resolution" if a date is entered into A1, but if I enter a date into B1 it will still show "Pending Resolution" and not "Resolved" as expected.

Where am I going wrong with this? I feel it could benefit from an AND function but I don't know how to use this.
 

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.
try

=if(isnumber(B1),"Resolved",if(isnumber(A1),"Pending Resolution",""))
 
Upvote 0
Hi & welcome to MrExcel
How about
=IF(A1="","",IF(B1="","Pending Resolution","Resolved"))
 
Upvote 0

Forum statistics

Threads
1,223,952
Messages
6,175,592
Members
452,653
Latest member
craigje92

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