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

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
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,213,490
Messages
6,113,957
Members
448,535
Latest member
alrossman

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