Check to see if there is a value in two different cells

kkwill

New Member
Joined
Nov 17, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I am trying to figure out if it is possible to check two cells to determine if there is a value in both cells vs a value in only one of the cells. Is there a function for this?

Something like this:
Column 1Column 2Is there a value in both cells?
618Yes
20No
180No
3319Yes
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Lots of different ways, i.e. to check cells A2 and B2:
Excel Formula:
=IF(COUNTA(A2:B2)=2,"Yes","No")
That will count the cell if ANYTHING is in it.

If you only want to count it if the entry is a number, use this instead:
Excel Formula:
=IF(COUNT(A2:B2)=2,"Yes","No")
 
Upvote 0

Forum statistics

Threads
1,215,110
Messages
6,123,139
Members
449,098
Latest member
Doanvanhieu

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