• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 265
  • Last Modified:

If then Statement

I have numeric data in column C and column D. I want column E to say "Yes" if there is numbers in both C and D. If there is not data in both cells, I want it to say "No". Any idea how I make this happen? Thanks!
0
cansevin
Asked:
cansevin
1 Solution
 
Saqib Husain, SyedEngineerCommented:
Enter

=if(and(isnumber(C2),isnumber(D2)),"Yes","No")

in E2 and copy down
0
 
cansevinAuthor Commented:
Thanks!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now