If Formula using multipal columns

tallcoolpaul

New Member
Joined
Jun 12, 2008
Messages
2
Hi I am using XL2003.

I have typed an if formula to flag up any cells that have 45 characters or more using
=IF(LEN(D:D)>45,"LONG","")

This is probably an obvious one but I can not work out how to do this for column d and column e. I assumed that if I put (D:D)OR(E:E) tha it might work but it doesn't. Please help as I am going crazy trying to work this out.
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Welcome to the board...

That would be like this maybe...

=IF(OR(LEN(D:D)>45,LEN(E:E)>45),"LONG","")

Hope that helps...
 
Upvote 0
Try...

=IF(OR(LEN(D1)>45,LEN(E1)>45),"LONG","")

Hope this helps!
 
Upvote 0
That worked yeeeeehaaaaaa that has made me look like a genius in an office of no xl knowledge even in the marketing team thank you soo sooooo much!!!!
 
Upvote 0

Forum statistics

Threads
1,214,632
Messages
6,120,655
Members
448,975
Latest member
sweeberry

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