If columns 2-4 have data, but columns 5-7 dont. Then call True

HockeyDiablo

Board Regular
Joined
Apr 1, 2016
Messages
182
Here is where I am going with this. But where am I going wrong? all type(2). Formula in Col8
-I'm getting tied up while trying to ensure the first 2 characters in column2 is a number "0-9"

=IF(AND([@Column2]>0,isnumber(left[@Column3],2*1)=TRUE,[@Column3],""),[@Column4]>0,[@Column5]=0,[@Column6]=0,[@Column7]=0),TRUE,FALSE)

SO heres an example:

[TABLE="width: 800"]
<tbody>[TR]
[TD="align: center"]Col2[/TD]
[TD="align: center"]Col3[/TD]
[TD="align: center"]Col4[/TD]
[TD="align: center"]Col5[/TD]
[TD="align: center"]Col6[/TD]
[TD="align: center"]Col7[/TD]
[TD="align: center"]Col8[/TD]
[/TR]
[TR]
[TD="align: center"]Jon Doe[/TD]
[TD="align: center"]123 Main St[/TD]
[TD="align: center"]Acity, MN 55304[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]TRUE[/TD]
[/TR]
[TR]
[TD="align: center"]Jane Buck[/TD]
[TD="align: center"]SP 199, Cbl 59[/TD]
[TD="align: center"]456 Main St[/TD]
[TD="align: center"]Acity, MN 55304[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]FALSE[/TD]
[/TR]
[TR]
[TD="align: center"]Johnny Walker[/TD]
[TD="align: center"]Removed debris before job[/TD]
[TD="align: center"]Call 612-111-1111[/TD]
[TD="align: center"]789 Main St[/TD]
[TD="align: center"]Acity, MN 55304[/TD]
[TD="align: center"][/TD]
[TD="align: center"]FALSE[/TD]
[/TR]
</tbody>[/TABLE]


**I am working within a table**
 
Last edited:
=IF(AND([@Column2]>0,isnumber(left[@Column3],2*1)=TRUE,[@Column3],""),[@Column4]>0,[@Column5]=0,[@Column6]=0,[@Column7]=0),TRUE,FALSE)
=IF(AND([@Column2]>0,(ISNUMBER(LEFT([@Column3],2)*1)=TRUE),[@Column4]>0,[@Column5]=0,[@Column6]=0,[@Column7]=0),TRUE,FALSE)

Got it. Thanks
 
Upvote 0

Forum statistics

Threads
1,226,850
Messages
6,193,349
Members
453,790
Latest member
yassinosnoo1

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