Formula Lenght

Status
Not open for further replies.

Stanman

New Member
Joined
Jan 15, 2020
Messages
44
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
Hi,

I have the following formula applied to 1000 rows, the first row works fine returns a 1

=IF(OR(C2="",D2="",E2="",F2="",G2="",H2="",I2="",J2="",K2="",L2="",M2="",N2="",O2="",P2="",Q2="",R2="",S2="",T2="",U2="",V2="",W2="",X2="",Y2="",Z2="",AA2="",AB2="",AC2="",AD2=""),"*",1)

second and onwards it doesn't work?, returns * even when cells have value.

=IF(OR(C3="",D3="",E3="",F3="",G3="",H3="",I3="",J3="",K3="",L3="",M3="",N3="",O3="",P3="",Q3="",R3="",S3="",T3="",U3="",V3="",W3="",X3="",Y3="",Z3="",AA3="",AB3="",AC3="",AD3=""),"*",1)

I thought it was too long as I checked row 1000 to begin with but it actually falls over at row 3 onwards
 
Last edited:

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Status
Not open for further replies.

Forum statistics

Threads
1,223,888
Messages
6,175,206
Members
452,618
Latest member
Tam84

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