multiple ifs

AbbyK

New Member
Joined
Mar 30, 2013
Messages
2
hi

i'm tying to create a formula that checks a cell and if it's blank checks another cell an if it blank again checks another cell -

simply put i have D2 which is email address - if this is full i want to know its email but if it blank i want to check A2 which is home number- if this is blank then i want to check B2 which is mobile number etc- if all cells are blank i want to return the value dead

i've tried using

=IF(D2>0,"EMAIL",(IF(A2>0),"HOME",(if(B2>1),"MOBILE",(if(C2>1,"WORK","DEAD"))))

but it's not working- can some one help?
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
This should do it

=IF(D2>0,"EMAIL",IF(A2>0,"HOME",IF(B2>1,"Mobile",IF(C2>1,"WORK","DEAD"))))
 
Upvote 0

Forum statistics

Threads
1,223,920
Messages
6,175,377
Members
452,638
Latest member
Oluwabukunmi

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