Cannot figure out....

buteaur

Board Regular
Joined
Mar 15, 2016
Messages
170
How can I make an if statement pick up on a first data point and then any other data points that have a number?

Example:

=IF(AND(C2>0,D2>0,E2>0,F2>0),1,0)

This obviously doesn't work because, let's say, d2 is zero but f2 has a value, the answer will come back "false".

How do I get it to say if there is a value in c2 (that's my constant) and then there are any values in the following cells, return "true"?

help would be appreciated!!:confused::confused:
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Naaaaaaaaa :) ...sometimes it takes an outside look (especially after hours of working on the same workbook) to see something obvious. Been there.

Glad it worked.
 
Upvote 0

Forum statistics

Threads
1,215,546
Messages
6,125,459
Members
449,228
Latest member
moaz_cma

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