Nested If?

Philatelist

New Member
Joined
Jan 24, 2023
Messages
8
Office Version
  1. 2013
Platform
  1. Windows
Hi Guys, I have an application with a max cell entry of 250 characters.

If cell BA2 has a string with more than 250 characters, I need it shortening to 200 and the phrase "......details below" (without apostrophies) adding to the end, otherwise, if less than 250, just the string .

So far I have:

=IF(LEN(BA2>250),LEFT(BA2,200)&(AZ10)),BA2 (Where AZ10 = ".....details below")

No matter how many characters the cell contains, I cannot get the formula to stop the additional text appearing if less than 200.

Please help!

TIA
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Maybe like this

=IF(LEN(BA2)>250,LEFT(BA2,200)&AZ10,BA2)
 
Upvote 1
Solution
Another first time fix. Perfect answer, many thanks.

This Board is amazing.
 
Upvote 0
@Philatelist in future please mark the post that contains the solution, not your post saying it works. Thanks
 
Upvote 0

Forum statistics

Threads
1,216,015
Messages
6,128,296
Members
449,437
Latest member
Raj9505

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