[Solved] Partial cell Text find to new creation of new cell

Discuss the spreadsheet application
Locked
ke4avb
Posts: 3
Joined: Tue Aug 26, 2008 11:45 pm

[Solved] Partial cell Text find to new creation of new cell

Post by ke4avb »

I hope I ask it right.

Documentation is vague on this.

I want to create a formula that uses partial text in one row cell to create a new cell in the same row.
Image

Say if line 285 has DISCONTI in it and I want to create a cell info by combining another cell contents with say -NOS at the end of that contents.

In this case 370 + -NOS becomes 370-NOS in the new cell if DISCONTI is in that row. I would do this each row but row will contain different data.
then the next row it would be 371-NOS.

Now these are part number so it vary in each row.

I know I am probably nuts for asking this crazy thing.
Last edited by Hagar Delest on Sat Dec 06, 2025 12:52 am, edited 1 time in total.
Reason: tagged [Solved].
OOo 2.4.X on Ms Windows W2k
FJCC
Moderator
Posts: 9624
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Partial cell Text find to new creation of new cell

Post by FJCC »

See if the attached file does what you want. The formulas in column E look for the text "DISCONTI" in column C. If the text is found, the formula returns the text of column B with -NOS appended. Otherwise it returns an empty string.

By the way, it would have been much easier to make a file if you had posted an actual Calc document instead of an image.
Attachments
FindText.ods
(9.5 KiB) Downloaded 57 times
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
ke4avb
Posts: 3
Joined: Tue Aug 26, 2008 11:45 pm

Re: Partial cell Text find to new creation of new cell

Post by ke4avb »

Thank you...Now I convert the price file for the small one man operation business.

Glad I did have go 50K of lines one at a time.
OOo 2.4.X on Ms Windows W2k
Locked