How can I automatically add text to a cell in Numbers app?

Hello

Is it possible to automatically add new text to the box? in column A. For example, if I enter Text in column B7. then in box A7 the sequence number SN0006 will automatically appear.

Thanks Ryszard




[Re-Titled by Moderator]

MacBook Air 13″, macOS 15.4

Posted on Apr 21, 2025 1:16 PM

Reply
4 replies
Sort By: 

Apr 21, 2025 3:18 PM in response to ryszard242

The answer might depend on what you do with the results. Here is one way to do it. Below is the setup. In the end it will look like what you posted.




Column A has all of the serial numbers pre-filled into the cells

Formula in C2 =IF(B2="","",A2)

Fill down to complete the column


Select all of column A except the header cell

Create the highlighting rule shown in the screenshot where the text opacity will be 0% if the text is not the same as in C2. This will create a rule for all of them where each compares to cell C in its own row.


Hide column C





Reply

Apr 21, 2025 6:13 PM in response to ryszard242

You can try a something like this:




In A2, filled down:


=IF(ISBLANK(B2),"","SN"&RIGHT("000"&ROW()−1,4))


If the cell in column B is blank then the formula inserts a null value.


If the cell in column B is not blank then formula inserts "SN" followed by the relevant number of leading 0s followed by the row number minus 1.


SG


Reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How can I automatically add text to a cell in Numbers app?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.